[OpenSIPS-Devel] question about exec

Răzvan Crainea razvan at opensips.org
Fri Sep 21 15:07:57 CEST 2012


Hi, Li!

You are right, the exec_avp function cannot be called in the onreply 
route.  I can't find any reason for this, therefore I attached you a 
patch for this.

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 09/20/2012 01:06 PM, GTS2010 wrote:
> Hi:
> I have a question about the exec module .
> I can using the exec_avp() to execute an external script for my target 
> in the route .
> For example,I can get the $si by senting it to my script:
>    exec_avp("my_script.py $si");
> Now I want to get some informations on the sdp of the 200 ok,(in 
> another word,I want to send some information to another of my script) 
> but the exec_avp() can not work in the onreply_route block , I want to 
> know how to do that?
> Hoping for your help!
> Thanks & Regards!
> Li Peng beijing China
> 2012-09-20
> ------------------------------------------------------------------------
> GTS2010
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20120921/37a1ac20/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exec_allow_onreply_route.patch
Type: text/x-diff
Size: 1199 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/devel/attachments/20120921/37a1ac20/attachment.patch>


More information about the Devel mailing list