[Asterisk-Users] Dialing 800 numbers through FWD or SIPphone?

Barton Hodges barton at gcmcomputers.com
Mon Nov 10 07:15:29 MST 2003


Barton Hodges wrote:
>> Hi,
>> 
>> Does anyone know how to dial toll-free (800) numbers through FWD or
>> Siphone? 
>> 
>> Using the configuration below, I can dial out to SIPphone.com users
>> by simply dialing their number (1747XXXXXXX) and can dial out to FWD
>> users by dialing 1383<FWD#>> 
>> 
>> However, when I dial 18005551212 through SIPphone, or through FWD
>> (depending upon which line is selected in "; 800 Toll Free Numbers"
>> below, I receive a "403 Forbidden" response.  From what I've read,
>> this might be due to outbound proxy authentication with FWD, but I
>> don't believe that SIPphone.com is using proxy authentication.  I can
>> configure the phones to connect directly to both FWD and SIPphone.com
>> and they work when dialing the 800 numbers. 
>> 
>> Any suggestions would be greatly appreciated.
>> 
>> Barton
>> 
>> ---
>> 
>> sip.conf:
>> 
>> [fwd]
>> type=friend
>> username=FWD#
>> secret=secret
>> host=fwd.pulver.com
>> 
>> [sipphone]
>> type=friend
>> username=SIPPHONE#
>> secret=secret
>> host=proxy01.sipphone.com
>> fromuser=SIPPHONE#
>> fromdomain=proxy01.sipphone.com
>> 
>> 
>> extensions.conf:
>> 
>> ; 800 Toll Free Numbers
>> exten =>> _1800XXXXXXX,1,SetCallerID(${CALLERIDNUM})
>> exten =>> _1800XXXXXXX,2,SetCIDName(${CALLERIDNUM})
>> exten =>> _1800XXXXXXX,3,Dial(SIP/${EXTEN}@sipphone)
>> ;exten =>> _1800XXXXXXX,3,Dial(SIP/*${EXTEN}@fwd)
>> exten =>> _1800XXXXXXX,4,Hangup
>> 
>> ; SIPphone.com
>> exten =>> _1747XXXXXXX,1,SetCallerID(${CALLERIDNUM})
>> exten =>> _1747XXXXXXX,2,SetCIDName(${CALLERIDNUM})
>> exten =>> _1747XXXXXXX,3,Dial(SIP/${EXTEN}@sipphone)
>> exten =>> _1747XXXXXXX,4,Hangup
>> 
>> ; Free world dialup
>> exten =>> _1393.,1,SetCallerID(${CALLERIDNUM})
>> exten =>> _1393.,2,SetCIDName(${CALLERIDNUM})
>> exten =>> _1393.,3,Dial(SIP/${EXTEN:4}@fwd)
>> exten =>> _1393.,4,Hangup

asterisk-users-admin at lists.digium.com wrote:
> You need to add "#" before dialing the rest of numbers.
> 
> Ta
> SJ

Thanks for the response.  If you mean changing the Dial line in 
extensions.conf to something like this, then I really don't see how that 
is correct, and it does not seem to work:

; 800 Toll Free Numbers
exten =>> _1800XXXXXXX,1,SetCallerID(${CALLERIDNUM})
exten =>> _1800XXXXXXX,2,SetCIDName(${CALLERIDNUM})
exten =>> _1800XXXXXXX,3,Dial(SIP/#${EXTEN}@sipphone)
;exten =>> _1800XXXXXXX,3,Dial(SIP/#*${EXTEN}@fwd)
exten =>> _1800XXXXXXX,4,Hangup





More information about the asterisk-users mailing list