[Asterisk-Users] ata186 and 9 for outgoing line type dialplans

Steven Critchfield critch at basesys.com
Wed Jun 4 02:49:27 MST 2003


You problem is that in SIP, your dialtone is provided by the SIP device.
Asterisk is not sending dialtone. Your ATA is doing the dialtone the
whole time. What you may want to do to make life really easy is to set
up the ata186 to work like a hotline phone. There was comments on the
list about this. If the ata186 dials asterisk as soon as the phone goes
off hook, then asterisk will be sending dialtone. Then your dialplan on
the ata won't get in the way.

On Tue, 2003-06-03 at 21:22, James H. Cloos Jr. wrote:
> I tried putting this as the ata's dailplan:
> 
>         *St4-|#St4-|9|^9t4>$.-
> 
> this is sip.conf
> 
> [ata2001]
> type=friend
> username=ata2001
> secret=SoMeSeCrEt
> host=dynamic
> context=fromata
> canreinvite=no
> 
> and this in extensions.conf
> 
> [fromata]
> ignorepat => 9
> exten => _91700NXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
> exten => _91888NXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
> exten => _91877NXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
> exten => _91866NXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
> exten => _91800NXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
> 
> 
> Dialing 91800nxxxxxx does attempt a call to 1800nxxxxxx via iax to
> iaxtel, but I do not get dialtone after the 9.
> 
> I presume I have to get * to send dialtone via rtp (or is there some
> sip packet that will tell the ata to continue dialtone)?  How is that
> done to a sip extension?
> 
> The calls to iaxtel don't seem to be working.  I'm also not able to
> get Dial(IAX2/guest at misery.digium.com/s at default) to connect, even
> though it was working well earlier today....  (I get no reply packets
> at all, for either misery.digium.com or iaxtel.com.)
> 
> -JimC
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list