Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: sataury on May 11, 2011, 02:54:25 PM
-
Hello,
I'm using sail-2.2.4-54 on latest sme server 7.xxx
Everything is working fine with SPA 3000 for FXO / FXS & SIP provider.
I desperatly try to have callback working through SPA3000.
I'm 90% sure that problem is due to short DISA delay (20s) : callback is working well, I receive the call but it hangs up automatically after 20s (logged into CDR).
Because dialing thru SPA3000 is very long. I only have 2 or 3 seconds to dial a number on my mobile phone, too short.
I can see several solutions. Best one should be to go directly to an IVR with callback call. I tried to modify
[qrxvtmny-callback]
exten => s,1,agi(selintra,Alias,/5003,6002)
6002 is a fake ring group that ends up to an IVR.
It doesn't seem to work.
Do I have any chance to have an IVR with callback ?
Is it possible to increase the DISA timeout if IVR is not possible ?
Thank you and best regards.
-
Is it possible to increase the DISA timeout if IVR is not possible ?
Yes, it is possible but you will need (for V2) some Perl skills and a basic understanding of SME server templates.
The template which generates the callback disa handler into extensions.conf is called
/etc/e-smith/templates/etc/asterisk/extensions.conf/20-outbound
Insert your code after line 146 (almost at the end of the code fragment). Its fairly clear what the code is doing so it shouldn't be too hard to modify. There are a few DISA examples in voip-info.org
http://www.voip-info.org/wiki/view/Asterisk+cmd+DISA
Kind Regards
S
-
I am blank here, any body care to explain please................