Really, really, really

THANKS



----- Original Message ----- From: "Wilson Pickett" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[email protected]>
Sent: Sunday, March 13, 2005 11:11 AM
Subject: Re: [Asterisk-Users] Unable to create channel of type 'IAX2'



Where is the mistake?

Right here

[local]
exten => _XXXXXXXXXX,1,Dial(IAX2/${EXTEN})

You are telling it to dial ALL 10 digit numbers using IAX. What you need to do is have an extension that determines if a call is meany for the X100P and if so the dial would be

exten => _XXXXXXXXXX,1,Dial(ZAP/1/${EXTEN})

ZAP/1 is your X100p FXO.

Take a good look at http://www.asteriskdocs.org which was entirely
written to help you understand channels, extensions and dialplans.
These are the essential building blocks to get you going.

You will need further knowledge to separate internal extensions from
external phone numbers. Often internal extensions are numbered like
2000,2001,2002...

example
exten => _2XXX,1,Dial(IAX2/${EXTEN}) ; hand all 4 digit numbers that begin with 2
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to