[Asterisk-Dev] type=peer and context=

Eric Wieling eric at fnords.org
Wed Oct 22 11:37:53 MST 2003


I'm using the following entry in iax.conf:

[iaxtel]
type=peer
host=iaxtel.com
auth=md5
secret=mypassword
context=iaxtel
qualify=300
disallow=all
allow=gsm

I'm using the following line in extensions.conf:

Dial(IAX2/myusername at iaxtel/1${EXTEN:1})

I can't call IAXTel numbers.  However, if I use the following dial line
I can call IAXTel numbers.

Dial(IAX2/myusername at iaxtel/1${EXTEN:1}@iaxtel)

I *THOUGHT* if I specified the context in iax.conf I didn't have to
specify it on the dial line.

Does anyone have thoughts on this?

--Eric

-- 
Sample configs, scripts, more : http://www.fnords.org/~eric/asterisk/

BTEL Consulting 504-899-1387 or 850-484-4545 or 877-677-9643




More information about the asterisk-dev mailing list