[OpenSER-Users] Cpl Outgoing and Incoming

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Feb 20 10:03:51 CET 2008


Hi Inaki,

It is a matter of script logic, but I would say that the incoming CPL 
script should be triggered before lookup("location")....

Regards,
bogdan

Iñaki Baz Castillo wrote:
> El Tuesday 19 February 2008 19:06:35 Daniel escribió:
>   
>> Hi all,
>> I'd like to use either cpl Outgoing (of the caller) and cpl incoming
>> script (of the callee).
>> I mean, if  "A"  wanted to call  "B", and  "A" and "B" have  CPL script
>> saved on proxy, then the message sent by "A" have to go through
>> CPL-OUTGOING of "A" and then through CPL-INCOMING of "B".
>>
>> How can I get this behaviuor in openser.cfg ?
>>     
>
> I think it shoud be easy, just run:
>
>
>   cpl_run_script("outgoing","force_stateful");
>   [...]
>   lookup("location");
>   [...]
>   cpl_run_script("incoming","force_stateful");
>
>
>
>
>
>   





More information about the Users mailing list