[OpenSIPS-Users] Call external program from reply_rote

Gary Nyquist gn62 at gmx.us
Thu Oct 23 01:06:29 CEST 2014


Hi Bogdan,

As I said, it works; but the following errors/warnings fill up the logs:

ERROR:core:parse_uri: uri too short: <200> (3)
WARNING:exec:append_fixed_vars: uri not parsed
ERROR:core:parse_uri: uri too short: <200> (3)
WARNING:exec:append_fixed_vars: orig URI not parsed

Each "200 OK" reply logging above 4 lines.
Any clues how to get rid of these logs?

Best Regards,
- Gary






Thanks Bogdan for the tips.

It works!

Best Regards,
- Gary


> Sent: Tuesday, October 21, 2014 at 2:46 PM
> From: "Bogdan-Andrei Iancu" <bogdan at opensips.org>
> To: "OpenSIPS users mailling list" <users at lists.opensips.org>, gn62 at gmx.us
> Subject: Re: [OpenSIPS-Users] Call external program from reply_rote
>
> Hi Gary,
> 
> You can do an ugly trick like:
> 
> route[EXEC] {
>      exec(....);
> }
> 
> onreply_route[...] {
>      ....
>      route(EXEC);
>      ....
> }
> 
> 
> Regards,
> 
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
> 
> On 21.10.2014 00:56, Gary Nyquist wrote:
> > Hi,
> >
> > I need to call an external program from the REPLY_ROUTE (on getting 200 OK).
> > As per the doc, "exec_msg" and "exec_avp" can be used from REQUEST_ROUTE & FAILURE_ROUTE only.
> > Is there any alternative methods to run external programs from the REPLY_ROUTE?
> >
> > Best Regards,
> > - Gary
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> 
> 



More information about the Users mailing list