Re: [SR-Users] if (t_check_status("486|408"))

2013-06-05 Thread hiro
earlier today I commented out the whole route(NATMANAGE) from MANAGE_FAILURE route, that broke the NAT. But with your condition it works fine. thanks! Only I don't understand the $du/$ru thing yet. On 6/5/13, Daniel-Constantin Mierla wrote: > I couldn't find if many parameters with same name are

[SR-Users] Kamailio 4.0 & Asterisk realtime (Failed to import bind_ob, auth: qop set, but nonce-count ...)

2013-06-05 Thread Thomas Martin
Hello, being new to Kamailio, I have been closely following Daniel's tutorial "Kamailio 4.0.x and Asterisk 11.3.0 Realtime Integration using Asterisk Database", hoping to be able to setup a basic SIP server with voicemail-boxes attached to the the accounts. (Eventually, UACs that live behind e

Re: [SR-Users] Msilo dumping offline messages

2013-06-05 Thread Daniel-Constantin Mierla
Hello, $ru is R-URI, the SIP uri in the first line of a request. Not providing a parameter to mdump() should be fine. If you don't get the messages sent out, then probably you don't allow local loops without authentication. Look at the sip traffic with: ngrep -d any -qt -W byline port 5060

Re: [SR-Users] if (t_check_status("486|408"))

2013-06-05 Thread Daniel-Constantin Mierla
I couldn't find if many parameters with same name are allowed in SIP URI, in headers they are not. Try to put: if(t_is_branch_route()) as condition for add_rr_param(...) Cheers, Daniel On 6/5/13 7:18 PM, hiro wrote: I'm just using the default kamailio.cfg for kamailio 4.0. add_rr_param() g

[SR-Users] Msilo dumping offline messages

2013-06-05 Thread sipatse
Dear All, I have installed msilo module in order to store messages towards offline users. Storing messages is being made by calling function mstore(). This function works ok and i can see these messages into silo DB. When a user is being registered again and after his location is saved i call

Re: [SR-Users] if (t_check_status("486|408"))

2013-06-05 Thread hiro
I'm just using the default kamailio.cfg for kamailio 4.0. add_rr_param() gets called in branch_route[MANAGE_BRANCH] and failure_route[MANAGE_FAILURE] i commented out the latter and the phone gets the replies just fine now! But the rtp gets sent to the originally called phone from the port that go

Re: [SR-Users] Modify the Request Line

2013-06-05 Thread Daniel-Constantin Mierla
Hello, what do you want to change there? Only method and protocol/version cannot be changed, the rest is r-uri? There is a function to change bit of the first line for replies, but i don't remember one for requests/ Cheers, Daniel On 6/5/13 1:47 PM, Klaus Darilion wrote: Hi! Is there som

[SR-Users] Microseconds not milliseconds in cfgutils usleep

2013-06-05 Thread David K
Hello, According to this page : http://kamailio.org/docs/modules/stable/modules/cfgutils.html#idp15252400 usleep will sleep for the number of milli-seconds specified. I am familiar with Linux's usleep which accepts milliseconds and therefore had a look at the code in Kamailio, it looks to me

[SR-Users] Modify the Request Line

2013-06-05 Thread Klaus Darilion
Hi! Is there some method to modify the request line, eg. subst/replace ...? AFAIK the textops functions only work starting with the first header line. thanks Klaus ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@l

Re: [SR-Users] dialog ka-timer/ka_interval results in flood op OPTIONS

2013-06-05 Thread Daniel Tryba
On Tuesday 04 June 2013 18:20:19 Daniel Tryba wrote: > > http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a17a3 > > 2e 5f7a3120c200d6e48fe91d7aa1dfd28b1 > > > > If all works fine, then I will backport. > > But tomorrow I'll do some more tests. It works to send OPTIONS and dete

[SR-Users] something breaking up

2013-06-05 Thread Victor V. Kustov
Hello. [/usr/local/lib64/kamailio/modules/tm.so] Jun 5 13:49:10 phoenix-c2 /usr/local/sbin/kamailio[10135]: DEBUG: [sr_module.c:701]: find_mod_export_record(): find_export_record: found in module tm [/usr/local/lib64/kamailio/modules/tm.so] Jun 5 13:49:10 phoenix-c2 /usr/local/sbin/kamailio[

Re: [SR-Users] kamcmd vs kamctl

2013-06-05 Thread DanB
Hey Ovidiu, Thanks for the tip. Will have a look. Have a good one! DanB ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] if (t_check_status("486|408"))

2013-06-05 Thread Daniel-Constantin Mierla
Are you executing the route block for NAT handling in request_route and failure_route blocks? It should be done in branch route or only once in request_route. Look for add_rr_param() and see how many times it is executed for a branch (if executed in request_route, then it is for all branches at