[SR-Users] on_reply and failure route names

Fabian Borot fborot at hotmail.com
Fri Jul 8 21:01:31 CEST 2011





I am using it for route blocks, but it fails with on_reply_routes, for example, the "route" command works, but the t_on_reply[FROMMS] fails, so I have to use   t_on_reply(3) for example:

                        t_on_reply(3);
                        route(TOMS);

Also I make sure that there is a matching onreply_route[FROMMS]

In the mean time  I have to use this format,

onreply_route[3] {
//commands here

}

Hope this helps

fborot
From: fborot at hotmail.com
To: sr-users at lists.sip-router.org
Subject: RE: on_reply and failure route names
Date: Fri, 8 Jul 2011 14:09:08 -0400









3.1.4

 

From: fborot at hotmail.com
To: sr-users at lists.sip-router.org
Subject: on_reply and failure route names
Date: Fri, 8 Jul 2011 10:13:44 -0400









Hi
Is it possible to use string names also for on_reply and failure_route blocks?


 I guess these errors when starting kamailio

Jul  8 10:00:25 registrar kamailio: : <core> [cfg.y:3412]: parse error in config file /usr/local/kamailio-3.1//etc/kamailio//kamailio.cfg, line 432, column 41: syntax error
Jul  8 10:00:25 registrar kamailio: : <core> [cfg.y:3412]: parse error in config file /usr/local/kamailio-3.1//etc/kamailio//kamailio.cfg, line 432, column 41: '('')' expected (function call)
Jul  8 10:00:25 registrar kamailio: : <core> [cfg.y:3412]: parse error in config file /usr/local/kamailio-3.1//etc/kamailio//kamailio.cfg, line 432, column 41: function t_on_reply: parameter 1 is not constant
Jul  8 10:00:25 registrar kamailio: : <core> [cfg.y:3412]: parse error in config file /usr/local/kamailio-3.1//etc/kamailio//kamailio.cfg, line 432, column 41: bad command

thank you
fborot
 		 	   		   		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110708/f5a6fec4/attachment-0001.htm>


More information about the sr-users mailing list