Koozali.org: home of the SME Server

Is it possible to generate 2nd Dialtone after dialing "9"

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Is it possible to generate 2nd Dialtone after dialing "9"
« on: October 11, 2008, 11:08:43 AM »
In a standard Asterisk Dialplan this would be accomplished by:
[Outbound-2ndDialtone]
ignorepat => 9
exten => 91XXXXXXXXXX,1,Dial(Transport/EndPoint)

I have not been able to find a way to insert this string through any Sail entry. If not, what templates or files must be modified to accomplish this.

Reasoning: In a United States corporate environment people are used to pressing 9 and getting a second dial tone before dialing out. It might not be necessary and seem trivial but if we want to migrate users to a new Product/Technology the less change the easier it is to sell. Its hard enough getting users to accept change. Even the adaptation to Silence Supression in VoIP has been a point of contention in many Cut-Overs. The customer is always right even though we both know they're always wrong.
if at first you don't succeed then keep on reading until you do succeed...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Is it possible to generate 2nd Dialtone after dialing "9"
« Reply #1 on: October 11, 2008, 11:56:44 AM »
It would seem that ignorepat doesn't work with SIP phones...

http://forums.digium.com/viewtopic.php?p=70665&sid=d0e3813cdd5ed508c20bb79e2889d2cf

There are lots of other references out on the web which tend to reinforce this.  Are you using analog phones,  or do you wish to provide this function for sip phones?

S

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Re: Is it possible to generate 2nd Dialtone after dialing "9"
« Reply #2 on: October 11, 2008, 12:51:15 PM »
mixed environments - has both FXS (analog) phones and SIP Hardphones/Softphones and IAX Softphones

I would like to get the ignorepat=>9 in the outdial string globally to solve immediate issues with the FXS devices and then eventually try and find a way to manipulate the SIP Hardphones to do the same. The Softphones are not an issue since the dial string is input through the keyboard or through a TAPI client. In particular I will be playing with Snom and Polycom.
if at first you don't succeed then keep on reading until you do succeed...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Is it possible to generate 2nd Dialtone after dialing "9"
« Reply #3 on: October 11, 2008, 11:14:04 PM »
OK, what you want to do really isn't practicable for SIP phones. 

This is because they aren't "live" devices in the sense that an analogue handset is.  They behave more like a cellphone in that you have to "send" the completed dial into the pbx, usually by either hitting a SEND button of some description or by doing an in-cradle dial and then lifting the hand set.  Picking up the phone and dialling 9 won't do anything for you because the phone isn't live until you hit SEND (even tho' it may be giving you dialtone - the tone is being generated locally by the phone).  I can easily give you 9+SEND to get dialtone but that would seem to defeat the objective in that it won't be the same as your customer has now so they may as well learn the SIP way of doing things from the outset.

I absolutely understand your wish to mimic what the customer has become used to and wholeheartedly support the sentiment. However, in this case I just can't think of an easy way to satisfy it, based upon how SIP phones actually work.

Kind Regards

S

Offline arne

  • *****
  • 1,116
  • +0/-4
Re: Is it possible to generate 2nd Dialtone after dialing "9"
« Reply #4 on: October 14, 2008, 10:40:32 AM »
But to genereate a second dialtone after typing 9 should be completely possible (??!). I think there is a standard Asterisk function for this. "9" will then have to be set up as an extension. (Shouldn't this be possible ?) I can not remeber the function now, but I used before for calling in from an external number to optain a local dialtone at the server. (I does the same now with a GSM-SIP gateway hardware now, so my mobilephone now has a dialtone.) Will try to do some tests for setting up "2'nd dialtone after 9". I think it can be done.

Will make a post if I can find it out (again) and if it works. 
......

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Is it possible to generate 2nd Dialtone after dialing "9"
« Reply #5 on: October 14, 2008, 11:07:13 AM »
Arne,

Yes you can generate a dialtone upon receipt of a 9 (I did actually say that in my last post). You use DISA.  However, if you read the original post, that is not what was being asked.



 

Offline arne

  • *****
  • 1,116
  • +0/-4
Re: Is it possible to generate 2nd Dialtone after dialing "9"
« Reply #6 on: October 14, 2008, 07:08:53 PM »
Yes, but I just thaught the DISA function might give a some simular functinality that possibly could be used.
......