[OpenSIPS-Users] Exported Asyncronous functions

Vlad Paiu vladpaiu at opensips.org
Thu Oct 22 16:50:24 CEST 2015


Hello,

There is no way to do that.
Just move your 'line after exec;' to the resume route, or put it in a 
new route that will get called from within the resume route.

Regards,

Vlad Paiu
OpenSIPS Developer

On 22.10.2015 17:39, Dragomir Haralambiev wrote:
> Hello,
> I try to test Exported Asyncronous functions in OpenSips 2.1.
>
> What I do to return back in stript (at line after exec) when finished 
> route[resume] ?
> {
>
>     async( exec("test.sh.","$ru","$avp(return)"), resume );
>     line after exec;
> }
>
> route[resume] {
>     xlog("Exec return$avp(return)");
> }
>
> Best regards,
> PlayMen
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151022/b6c986cd/attachment.htm>


More information about the Users mailing list