[OpenSIPS-Users] Call external program from reply_rote

Gary Nyquist gn62 at gmx.us
Wed Oct 22 17:56:25 CEST 2014


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