[OpenSIPS-Users] Call Control not behaving

Douglas Lane doug at wd.co.za
Mon Apr 19 18:28:07 CEST 2010


Hi Laszlo,

Just to make 100% sure, I'm not suppose to call xlog because then 
retcode would change to what xlog's return would have been?

If so, guess that was stupid on my behalf!

Thanks
Doug

On 2010/04/19 5:14 PM, Laszlo wrote:
>
>
> 2010/4/19 Douglas Lane <doug at wd.co.za <mailto:doug at wd.co.za>>
>
>     Hi Luci,
>
>     Hmm I should have checked that. Below is my routing logic for call
>     control (I loaded it into its own route block, and then my invite
>     route
>     just calls this route block for processing after the proxy auth
>     succeeds)
>
>             if(!isflagset(19))
>             {
>                     call_control();
>                     xlog("L_INFO", "Callcontrol returned code
>     $retcode\n");
>
>
>
> it's the last functions return code, in your case it's xlog's retcode :)
> (you called xlog before the switch statement)
>
> -Laszlo
>
>
> _______________________________________________
> 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/20100419/2e7ceaca/attachment.htm 


More information about the Users mailing list