[OpenSER-Users] Cpl Outgoing and Incoming

Iñaki Baz Castillo ibc at in.ilimit.es
Wed Feb 20 09:54:24 CET 2008


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");





-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the Users mailing list