[OpenSIPS-Users] Call Control not behaving

Laszlo laszlo at voipfreak.net
Tue Apr 20 00:05:30 CEST 2010


2010/4/19 Douglas Lane <doug at wd.co.za>

>  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?
>
>
:)
                xlog("L_INFO", "Callcontrol returned code $retcode\n");

                switch ($retcode)



when you do this, you test the retcode of xlog, and the "switch" will be
done by xlog's retcode :)
just comment out and test it:
#xlog("L_INFO", "Callcontrol returned code $retcode\n");

-Laszlo



> If so, guess that was stupid on my behalf!
>
> Thanks
> Doug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100420/8af8d82a/attachment.htm 


More information about the Users mailing list