[VoIP] Is Office code 688 sent up right?
John R. Covert
john_reads_cnet_via_archives at covert.org
Mon Oct 29 22:18:34 CST 2007
There has been some confusion about "context" in the way CNET
has been set up.
I few months ago, I posted a discussion of IAX2 URIs, which
are of the form:
IAX2/[username[:password@]destination[:port][/extension[@context]]
I believe that the CNET office code activation page incorrectly
calls the "username" the context. That's probably because in
iax.conf, you introduce each peer/friend/user section using the
syntax [username] where the _incoming_ username is in brackets
and, if the section is two-way, i.e., a "friend", the _outgoing_
username is indicated with username=xxxxx.
Dialplan contexts are defined in extensions.conf using the same syntax.
Incoming calls are directed to an appropriate context by specifying
"context=xxxx" in sip.conf, iax.conf, zapata.conf, etc.
A SIP or ZAP call may only go to the one context defined for that
particular sip user/friend. However, in iax.conf, you may specify
more than one "context=xxxx" in a single user/friend/peer section.
Calls where the context (see the syntax above) is not specified
go to the first context. Callers may specify any of the listed
contexts, and no others.
I can't get into the registration page at the moment to check to
see if the "username" field is still mis-named "context", but it
should be fixed.
While we're discussing URIs, the format of a SIP URI is
SIP/address[:user[:password]@destination[:port]
/john
More information about the VoIP
mailing list