Thanks for the wild guess. But The user(who is myself) is dialing 3000. It only failes to work when I use patterns. So I thought I am making a mistake on the syntax, I have checked all the books I have and the internet and I can't see anything wrong. :-\


Rizwan Hisham wrote:
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 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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
------------------------------------------------------------------------

_______________________________________________
-- 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
begin:vcard
fn:James Mutuku
n:Mutuku;James
org:Agile Systems Limited;Technical Department
adr:;;P.O Box 55686-00200;Nairobi;;00200;Kenya
email;internet:[EMAIL PROTECTED],[EMAIL PROTECTED]
title:Lead Consultant
tel;work:+254-722-490994
tel;home:+254-722-490994
tel;cell:+254-722-490994
url:www.agile.co.ke
version:2.1
end:vcard

_______________________________________________
-- 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