Tony Kava
2003-Nov-25 08:37 UTC
[Asterisk-Users] Picking a channel (FXO port or SIP) for outb ound calls
> -----Original Message----- > From: Andrew Kohlsmith [mailto:akohlsmith-asterisk@benshaw.com] > Sent: Tuesday, 25 November, 2003 08:56 > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Picking a channel (FXO port or SIP) foroutbound 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, > AndrewThis 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
Tony Kava
2003-Nov-25 08:43 UTC
[Asterisk-Users] Picking a channel (FXO port or SIP) for outb ound calls
> -----Original Message----- > From: Andrew Kohlsmith [mailto:akohlsmith-asterisk@benshaw.com] > Sent: Tuesday, 25 November, 2003 08:56 > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Picking a channel (FXO port or SIP) foroutbound 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, > AndrewI double-checked, and I do have a timeout on that. My previous message may have been mistaken. -- Tony Kava Network Administrator Pottawattamie County, Iowa