Would like to be able to do the following, which is typical of an internal setup:

  • On handset pickup get some kind of internal dial tone (probably user defined in indications.conf)
  • Pressing 9, for dialing an external line, to immediately switch to the PSTN dial tone.
  • continue with dialing the external number
Of course I also want to be able to dial numbers, such as internal extensions, etc.

the typical dial plan for outgoing extens  is like:
ingorepat => 9
exten => _9.,1,Dial(Channel/${EXTEN:1})      or similar matching pattern
but this doesn't switch the tone. The obvious choice of using
exten => 9,1,Playtones(pstn)
exten => 9,2,Goto(outgoing)
doesn't work, because * waits for digitTimeout seconds after the 9 is pressed, so the tone switch is not immediate.
Plus I'm not so sure how continued dialing can be handled.

Any suggestions?

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to