[asterisk-users] Waiting for dial tone in Dial cmd
Morning, we have gateways with FXO port registered as SIP endpoint in Asterisk. To be able to use this port, the gateway ask for prefix -lets say 9- then send dial tone and here the user enter the calling number. We want to cancel this step for the users so they can enter the entire number and Asterisk will deal with the gateway. Does Asterisk have a possibility to manage this? We tried with Dial(SIP/exten,,D(0w12345678)) but unfortunately this doesn't work. We also tried with G option in dial cmd but we receive a busy back from GW in the second dial -which seems normal-. FYI, dialing Dial(SIP/exten,,D(0)) give the dial tone, let the user enter the calling number and the call is passing smoothly. Thanks for any hint -- Daniel ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Waiting for dial tone in Dial cmd
Administrator TOOTAI a écrit : [...] FYI, dialing Dial(SIP/exten,,D(0)) give the dial tone, let the user enter the calling number and the call is passing smoothly. Sorry, please read Dial(SIP/exten,,D(9)) -- Daniel ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Waiting for dial tone in Dial cmd
Am Montag, den 11.12.2006, 11:29 +0100 schrieb Administrator TOOTAI: Administrator TOOTAI a écrit : [...] FYI, dialing Dial(SIP/exten,,D(0)) give the dial tone, let the user enter the calling number and the call is passing smoothly. Sorry, please read Dial(SIP/exten,,D(9)) Just an idea... Did you try with a M() Macro and SendDTMF() command instead of D()? This would probably give you a more detailed control over wait seconds and such. Hth Anselm ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Waiting for dial tone in Dial cmd
Anselm Martin Hoffmeister a écrit : Am Montag, den 11.12.2006, 11:29 +0100 schrieb Administrator TOOTAI: Administrator TOOTAI a écrit : [...] FYI, dialing Dial(SIP/exten,,D(0)) give the dial tone, let the user enter the calling number and the call is passing smoothly. Sorry, please read Dial(SIP/exten,,D(9)) Just an idea... Did you try with a M() Macro and SendDTMF() command instead of D()? This would probably give you a more detailed control over wait seconds and such. I love your ideas :-) As ususally, two brains are still thinking better then one ;-) Thanks a lot. For archives, FXOexten being the FXO EndPoint in sip.conf Below 4000ms it's not working in our case. Perhaps something to do with early dial or others phone features. exten = 300,1,dial(SIP/FXOexten,,M(WaitDialTone)) [macro-WaitDialTone] exten = s,1,SendDTMF(9|4000) ;sending PSTN prefix with a 4s timeout exten = s,n,SendDTMF(CallingNumber) ;send number as DTMF This does the trick. -- Daniel ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users