[OpenSIPS-Users] cpl and timer no answer

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jul 13 20:27:24 CEST 2010


Hi Mehdi,

To make the timeout attr to work, you need a lit of configuration. You 
need to set the "timer_avp" in CPL to the same value as the 
"fr_inv_timer_avp" in TM :
See:
    http://www.opensips.org/html/docs/modules/1.6.x/cpl-c.html#id228435
    http://www.opensips.org/html/docs/modules/1.6.x/tm.html#id271154

Like:

modparam("cpl-c","timer_avp","$avp(i:14)")
modparam("tm", "fr_inv_timer_avp", "$avp(i:14)")


Regards,
Bogdan


mehdi boudou wrote:
> Hi everybody,
>
>
> I already use Opensips 1.5.0 and cpl module and i tested this scénario 
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE cpl SYSTEM 
> "/home/mehdi/opensips-1.5.0-notls/modules/cpl-c/cpl-06.dtd">
> <cpl>
>   <subaction id="voicemail" >
>     <location url="tel:+336xxxxxxx" />
>   </subaction>
>   <incoming >
>   <location url="tel:+336xxxxxxxx" >
>   
>       <proxy timeout="5" >
>         <busy >
>           <sub ref="voicemail" />
>         </busy>
>         <noanswer >
>           <sub ref="voicemail" />
>         </noanswer>
>         <redirection >
>           <sub ref="voicemail" />
>         </redirection>
>         <failure >
>           <sub ref="voicemail" />
>         </failure>
>         <default >
>           <sub ref="voicemail" />
>         </default>
>       </proxy>
>  </location>
>  </incoming>
> </cpl>
> The problem is if i changed the value of the proxy timeout it changes 
> nothing ???
> Is it the mode that i have executed the script("incoming,is_stateful 
> mode") an other timer in opensips that i have to set ??
> How can i do to force opensips to take the value of proxy timeout in 
> the cpl file?
>
> Thanks,
>
> Regards,
>
>
> Mehdi BOUDOU
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
20 - 24 September 2010, Frankfurt, Germany
www.voice-system.ro




More information about the Users mailing list