[VoIP] Is Office code 688 sent up right?

john jones jjones3601 at yahoo.com
Tue Oct 30 18:06:46 CST 2007


John,

This was very helpful.  It seems that maybe we need to include a username in the ENUM lookup for SIP resloutions so that there is a "well-known" user attempting to initiate a call.  Unless there is some "default" SIP peer definition that can be defined to catch all unspecified calls?

Thanks!


John

----- Original Message ----
From: John R. Covert <john_reads_cnet_via_archives at covert.org>
To: CNET <voip at ckts.info>
Sent: Tuesday, October 30, 2007 12:18:34 AM
Subject: [VoIP] Is Office code 688 sent up right?


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
_______________________________________________
VoIP mailing list
VoIP at ckts.info
http://lists.ckts.info/mailman/listinfo/voip
Project Web Page: http://www.ckts.info/





More information about the VoIP mailing list