Yate Community Forum

Yate server => Other Yate server issues => Topic started by: cc08 on February 19, 2015, 01:45:40 PM

Title: again timeot
Post by: cc08 on February 19, 2015, 01:45:40 PM
Hi, Yate!

I have a problebm with "timeout" in next line of regexroute.conf:

Code: [Select]
^[78]9\(.\{9\}\)$=fork;stoperror=busy;maxcall=120000;timeout=300000\
callto.1=datacard/+79\1;callto.1.device=datacard0;callto.1.timeout=600000;\
callto.2=|;\
callto.3=sip/sip:+79\1;callto.3.line=mttk;callto.3.caller=74991;callto.3.timeout=900000

Please tell me which module should execute disconnect by specified timeout -
or fork?
or sip and datacard?


Title: Re: again timeot
Post by: marian on February 23, 2015, 01:47:21 AM
The timeout and maxcall parameters should be handled by the outgoing channels (datacard or sip).
Title: Re: again timeot
Post by: cc08 on May 25, 2015, 02:42:35 AM
Hi, marian!

This piece is working properly
Code: [Select]
^7771$=datacard/+79334455667;device=datacard0;maxcall=20000;timeout=600000
And this does not work
Code: [Select]
^77772$=fork;copyparams=maxcall,timeout;\
callto.1=datacard/+79334455667;callto.1.device=datacard0;callto.1.maxcall=20000;callto.1.timeout=600000;\
callto.2=|;\
callto.3=sip/sip:89334455667;callto.3.line=sipnetru

I try without copyparams, it the same.

Please help!
Title: Re: again timeot
Post by: marian on May 25, 2015, 03:57:07 AM
What do you mean by 'it does not work'?
Title: Re: again timeot
Post by: cc08 on May 25, 2015, 04:07:52 AM
I need to call is interrupted after 10 minutes.
In the first case it is obtained, and in the second - no.
Title: Re: again timeot
Post by: marian on May 25, 2015, 04:21:15 AM
If the call is going out on sip there is no timeout set for sip target.