[Asterisk-Users] Picking a channel (FXO port or SIP) for outb ound calls

Tony Kava asterisk at pottcounty.com
Tue Nov 25 08:37:44 MST 2003


> -----Original Message-----
> From: Andrew Kohlsmith [mailto:akohlsmith-asterisk at benshaw.com] 
> Sent: Tuesday, 25 November, 2003 08:56
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] Picking a channel (FXO port or SIP) for
outbound calls
> 
> 
> > Yep, we use it for international calling.  Works great:
> > exten => _9011.,1,Dial(Zap/g0/${EXTEN:1},,t)
> 
> How are you achieving that?  If I am on a regular FXS connected phone that

> line would match 90115, thus preventing me from getting the rest of the 
> phone number (620508132).
> 
> Now if dialing from a SIP or IAX phone, it's no problem since the entire 
> number is sent at once.
> 
> Regards,
> Andrew

This works fine for me on my analog phones using a Digium FXS.  I believe
that '.' will match any remaining part of the string.  I don't believe it
matches like a regular expression would (any single character).

--
Tony Kava
Network Administrator
Pottawattamie County, Iowa



More information about the asterisk-users mailing list