[Asterisk-Users] Help with outbound dialing

Frank Hoonhout frank.hoonhout at state.or.us
Sun Mar 23 18:05:50 MST 2003


Greetings

I am trying to enable outbound dialing through an existing PBX system.

  Normally when dialing from the PBX, its 9,503-XXX-XXXX, for a local calls.
Long distance calls would be 9,1-212-XXX-XXXX.

The X100P connects directly to PBX.  When dialing from a SIP extension, I
think it needs to be dial the following. 9,9,503-XXX-XXXX for a local calls,
and 9,9,1-212-XXX-XXXX for a long distance calls.  

Can a macro automatically add the extra "9" prior to dial on the X100P?

Or would it be the best way to do it, is in the "exten" context?

Exten => _99503XXXXXXX,1,Dial(Zap/1/${EXTEN:1})
Exten => _99503XXXXXXX,2,Congestion


Frank...





More information about the asterisk-users mailing list