Re: [SR-Users] Pseudo-variables for "Status-Line"

2011-12-29 Thread Robert R
Thank a lot. $T_reply_code works. I tried all variables in pv doc ($rc, $err.rcode, $rs ... ) and none of them works, On Thu, Dec 29, 2011 at 9:27 AM, Andrew Pogrebennyk < apogreben...@sipwise.com> wrote: > On 12/29/2011 03:21 PM, Robert R wrote: > > What is the Pseudo-variab

[SR-Users] Pseudo-variables for "Status-Line"

2011-12-29 Thread Robert R
Hi, What is the Pseudo-variables for "Status-Line" filed of SIP response messages (2xx, 3xx,4xx,5xx,6xx)? i.e., is there a Pseudo-variables to display the SIP response code? Thanks, R ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users maili

[SR-Users] re-route SIP response message

2012-01-18 Thread Robert R
Hi, Can I re-route a SIP response message? In other words, after the SIP proxy receives a 503 from node A, I need to change the TO field and re-route it to node B. I tried to modify $rd or $rU and didn't work. Thanks, R ___ SIP Express Router (SER) and

[SR-Users] memory allocation failure

2012-02-29 Thread Robert R
Hi, The openser service died on my servers after "memory allocation failure". This issue has been occurred a couple of times on two different servers within the last two months. Feb 29 08:31:59 /usr/sbin/openser[7115]: ERROR:core:do_action: memory allocation failure Feb 29 08:31:59 /usr/sbin/op

[SR-Users] error when using "uac_replace_from( )" in the "failure_route" block

2012-03-22 Thread Robert R
Hi, When I am trying to modify FROM field in the "failure_route" block I get an error message: failure_route[1] { ... uac_replace_from("$avp(i:204)"); append_branch(); t_relay(); } Not starting openser: invalid configuration file! Mar 22 10:51:39 [6457] CRITICAL:core:yyerror: pars

[SR-Users] modify FROM field in the "failure_route" block

2012-03-22 Thread Robert R
Hi, When I am trying to modify FROM field in the "failure_route" block I get an error message: failure_route[1] { ... uac_replace_from("$avp(i:204)"); append_branch(); t_relay(); } Not starting openser: invalid configuration file! Mar 22 10:51:39 [6457] CRITICAL:core:yyerror: pars

Re: [SR-Users] modify FROM field in the "failure_route" block

2012-03-23 Thread Robert R
tantin Mierla wrote: > > > On 3/22/12 6:12 PM, Alex Balashov wrote: > >> On 03/22/2012 01:00 PM, Robert R wrote: >> >> When I am trying to modify FROM field in the "failure_route" block I >>> get an error message: >>> >>> failur

Re: [SR-Users] modify FROM field in the "failure_route" block

2012-03-23 Thread Robert R
nctionalities > > > >99% of list support and tips are based on last stable version. 1.3 is > >pretty old... > > > >Edson. > > > >Em 23/03/2012 10:06, Robert R escreveu: > >> Hi, > >> > >> Even though when I try to use "uac_rep

[SR-Users] vsf value in Record-Route header

2012-05-22 Thread Robert R
Hi, * * * * We are facing a problem in our opener proxy receiving: *"Message too big" error.* Looking at the INVITE message sent by opener I notice the following in the record-route header: Record-Route: Is this a valid value for vsd? Can we correct the value? Thanks, R

[SR-Users] parse 503 message

2011-11-22 Thread Robert R
Hi, How can I set a filter for receiving 5xx messages, i.e. how can I parse 503 messages received by the proxy? I have tried the following and none works: t_check_status("503") is_method("503") Thanks, R ___ SIP Express Router (SER) and Kamailio (Open

[SR-Users] log reply message number

2013-05-15 Thread Robert R
Hi, I am trying to add a log when receiving 1xx or 2xx reply message: # manage incoming replies onreply_route[MANAGE_REPLY] { xdbg("incoming reply\n"); if(status=~"[12][0-9][0-9]") { xlog("L_INFO","reply message: $T_reply_code ci:$ci"); route(NATMANAGE); } } Adding the

Re: [SR-Users] log reply message number

2013-05-15 Thread Robert R
> > Sent from my iPhone > > On May 15, 2013, at 11:04 AM, Robert R wrote: > > Hi, > > I am trying to add a log when receiving 1xx or 2xx reply message: > > # manage incoming replies > onreply_route[MANAGE_REPLY] { >xdbg("incoming reply\n"); &g

[SR-Users] Delay in "100 Trying" reply message

2013-05-15 Thread Robert R
Hi, There is a big delay in our Kamailio server when repling "100 Trying" after incoming INVITE messages (more than 500 ms). It seems my perl script (and database query) is executed before "100 Trying" being send out. I was wondering if sending "100 Trying" is configurable so I can send it right

Re: [SR-Users] Delay in "100 Trying" reply message

2013-05-16 Thread Robert R
antin Mierla wrote: > Hello, > > you can use sl module for sending a reply as soon as you get a request: > > sl_send_reply("100", "Trying"); > > Cheers, > Daniel > > > On 5/15/13 9:06 PM, Robert R wrote: > > Hi, > > There is a big del

[SR-Users] add "port" field in the "via" header

2013-08-23 Thread Robert R
Hi, I was wondering how to force Kamailio to add "port" field in the "via" header. Thanks, Rob, ___ 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/listinf

[SR-Users] when mySQL is unreachable ...

2010-04-13 Thread Robert R
Hi, My Kamailio server uses an external mysql database with perl script to proxy traffic. When mysql server is unreachable, Kamailio do not respond with 100 Trying and instead responses with 484 (Address Incomplete) to the INVITE message. Is this a normal behavior? I need to response with 503 when

[SR-Users] multiple instances on different ports

2010-07-26 Thread Robert R
Hi, I am trying to run multiple different instances of openser on the same server using different ports. Regardless of receiving INVITE on any of the ports (5061, 5062, ...) I want openser always to proxy the message to port 5060. invite:5061 ---> openser --> invite:5060 invite:5062 ---> opens