[asterisk-dev] [Code Review] SIP user fields are crazy. Repeat extension searches if they all fail and semicolons are obfuscating the extension in the uri.
Kevin P. Fleming
kpfleming at digium.com
Thu May 12 06:24:40 CDT 2011
On 05/12/2011 05:54 AM, Saúl Ibarra Corretgé wrote:
> Hi,
>
> On Thu, May 12, 2011 at 12:22 PM, Olle E. Johansson<oej at edvina.net> wrote:
>> Bringing this out to the mailing list:
>>
>> Username URI options are just options to the username. We use the username as an extension. I don't see any reason why we should send an option into the dialplan within the extension name. It should be a channel variable that you can read if you want to.
>>
>
> Are we talking about URI parameters or ";something" in the user part
> of the SIP URI? If it's the latter, then they are not parameters and
> we should let them be there.
>
> In this SIP URI:
>
> sip:saghul;test at sip2sip.info
>
> The username is saghul;test according to the grammar:
> http://www.tech-invite.com/Ti-abnf-sip.html#userinfo
We are talking about parameters in the user-part of the URI, not URI
parameters.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list