Is there any reason that the SIP INVITE URL shouldn't conform to the same syntax as RFC3986 standard URLs ( http://en.wikipedia.org/wiki/URI_scheme#Generic_syntax ), as specific to SIP according to RFCs 3969 and 3261? That would be, according to
------------------------------------------------------------------------ sip:<user>[:<password>]@<host>[:<port>][;<uri-parameters>][?<headers>] examples: sip:[EMAIL PROTECTED]&priority=urgent sip:+1-212-555-1212:[EMAIL PROTECTED];user=phone ------------------------------------------------------------------------ Like sip:xyz:[EMAIL PROTECTED];Authorization=bar+realm%3Dbaz OR sip:xyz:[EMAIL PROTECTED];?Authorization:+bar;realm%3Dbaz or something along those lines, as per http://tools.ietf.org/html/rfc3261#page-194 ? On Thu, 2008-06-19 at 03:38 -0500, [EMAIL PROTECTED] wrote: > Date: Wed, 18 Jun 2008 18:34:15 -0400 > From: "Tom Browning" <[EMAIL PROTECTED]> > Subject: [asterisk-users] Adding ;password=foo;method=bar to SIP uri > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > To send calls into a custom SER implementation, I need to be able to > add > some items to the URI that Asterisk will then send as part of the > INVITE > > > Asterisk dial SIP/[EMAIL PROTECTED] > > needs to become > > Asterisk dial SIP/[EMAIL PROTECTED];password=foo;method=bar > > This is not a registration password. It is a passsword associated > with the > destination xyz at location abc.com > > Asterisk 1.4.18.1 seems to glue the data as part of the hostname and > fail to > lookup abc.com > > Is there a way to manipulate the URI that will be sent in the INVITE > to > accomplish this? > > Thanks in advance, > > Tom -- (C) Matthew Rubenstein _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
