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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to