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 -------------- next part -------------- A non-text attachment was scrubbed... Name: jnmutuku.vcf Type: text/x-vcard Size: 331 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080721/1727b72d/attachment.vcf
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: jnmutuku.vcf Type: text/x-vcard Size: 331 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080722/2bc7802c/attachment.vcf
maybe the user is dialing something other than 3000 and that extension is not registered on your asterisk. just a wild guess. On Tue, Jul 22, 2008 at 10:41 AM, James Mutuku <jnmutuku at gmail.com> 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 > > _______________________________________________ > -- 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 >-- Best Regards Rizwan Hisham -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080722/0d72f7e7/attachment.htm
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