James Mutuku wrote:
> Hi list,
> 
> Have installed trixbox and I am working with a fxo gateway to get fxo 
> calls to trixbox. I am using sip to send the calls from the gateway to 
> trixbox. I have an extension 3000 on trixbox
> 
> on [from-sip-external] on extensions.conf ,I have put the dial plan below.
> 
> exten => 3000,1,dial(sip/3000)
> exten=> 3000,2,answer()
> exten => 3000,3,congestion()
> exten=> 3000,4,hangup()
> 
> 
> this works fine. But I when I put it in the form
> 
> exten => _3XXX,1,dial(sip/${EXTEN})
> exten=> _3XXX,2,answer()
> exten =>_3XXX,3,congestion()
> exten=> _3XXX,4,hangup()
> 
> the call goes into congestion and I get a busy tone. What could I be 
> doing wrong?
> 
> James
> 

As a sanity check, you may want to place a NoOp(${EXTEN}) prior to the dial. If 
you set the verbosity high on the Asterisk console, then you can see what the 
value of EXTEN is when the NoOp occurs.

Mark Michelson

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to