[Asterisk-Dev] type=peer and context=
Florian Overkamp
florian at obsimref.com
Thu Oct 23 01:05:51 MST 2003
Hi,
> -----Original Message-----
> [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.
Actually, the context noted there is the context where inbound calls from
iaxtel should go. For outbound you should probably specify it, although
technically if the remote end (iaxtel) has the iaxtel context noted as first
or only context for your calls it should choose that by default.
Best regards,
Florian
More information about the asterisk-dev
mailing list