[OpenSER-Users] Ignore CPL script
Jesus Rodriguez
jesusr at voztele.com
Thu Dec 20 18:32:06 CET 2007
Hi Martin,
El 20/12/2007, a las 16:28, Martin Kardi escribió:
[...]
> and this is easy cpl script:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <cpl>
> <incoming>
> <reject status="400" reason="Busy" />
> </incoming>
> </cpl>
>
> Upload of this cpl script to DB is correct, record in table "cpl" is
> created
> for "user" but when I am calling to this "user", openser ignores
> this script
> and phone is ringing.
> I don't know what is problem, could somebody help me?
You need to call the cpl_run_script() function to execute the uploaded
cpl script. Something like:
cpl_run_script("incoming","force_stateful")
Regards.
Saludos
JesusR.
------------------------------------
Jesus Rodriguez
VozTelecom Sistemas, S.L.
jesusr at voztele.com
http://www.voztele.com
Tel. 902360305
-------------------------------------
More information about the Users
mailing list