Yate Community Forum
Yate server => Other Yate server issues => Topic started by: cc08 on February 19, 2015, 01:45:40 PM
-
Hi, Yate!
I have a problebm with "timeout" in next line of regexroute.conf:
^[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?
-
The timeout and maxcall parameters should be handled by the outgoing channels (datacard or sip).
-
Hi, marian!
This piece is working properly
^7771$=datacard/+79334455667;device=datacard0;maxcall=20000;timeout=600000
And this does not work
^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!
-
What do you mean by 'it does not work'?
-
I need to call is interrupted after 10 minutes.
In the first case it is obtained, and in the second - no.
-
If the call is going out on sip there is no timeout set for sip target.