[Asterisk-Dev] Re: [Asterisk-cvs] asterisk/channels chan_sip.c,1.248,1.249
Olle E. Johansson
oej at edvina.net
Wed Nov 26 11:20:58 MST 2003
> The 'iax2:' gets replaced by EnumLookup with IAX2/, and the
> '\1' get replaced by the dialed number. So if you call
> 15145551212, what will get returned is IAX2/mtl-gateway/15145551212
>
> You can put anything that is valid as an IAX2 Dial parameter in
> there -- i.e. you could have 'iax2:user:passwd at iax2host/\\1' if
> you wanted -- though I don't suggest you store that stuff in the
> DNS unless you're *very* careful.
>
> If you wanted to specify the context, as well, you could even do
> 'iax2:user:passwd at iax2host/\\1/context' I believe.
Aha. We're using the same syntax.
I'll add this to the wiki somehow. Thank you for the explanation!
/Olle
More information about the asterisk-dev
mailing list