[reSIProcate] can not output user param in URI

Byron Campen bcampen at estacado.net
Mon Aug 21 10:34:11 CDT 2006


	But, the x-v17 is a user parameter, so we should be parsing that.  
Now, the question is, when we call Uri::user(), should we be getting  
the user parameters with it, or not?

Best regards,
Byron Campen

> "foo" would be considered an extension parameter...
>
> http://wiki.resiprocate.org/wiki/index.php?title=Use_Overview#Uri
> http://wiki.resiprocate.org/wiki/index.php?title=Uris
> http://wiki.resiprocate.org/wiki/index.php? 
> title=Use_Overview#Extension_
> parameters
>
> There is no way to iterate through the parameters.
>
> Scott
>
>> -----Original Message-----
>> From: resiprocate-devel-bounces at list.sipfoundry.org
>> [mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
>> julien
>> Sent: Monday, August 21, 2006 5:24 AM
>> To: resiprocate-devel
>> Subject: [reSIProcate] can not output user param in URI
>>
>> Hello everyone,
>> I am having troubles getting the user-parameters from a URI, I do :
>>
>> Uri uri("sip:user;x-v17:password at host.com:5555;foo=bar");
>> cout << "user!!" << uri.user() << endl;
>> cout << "password!!" << uri.password() << endl; cout <<  
>> "userParams!!"
>> << uri.userParameters() << endl;
>>
>> On the output I get this :
>> user!!user;x-v17
>> password!!password
>> userParams!!
>>
>> I don't get any userParams on the output I tried this using
> testUri.cxx
>> Is this test correct?
>> I am trying to get "foo"="bar" or equivalent, (actually I need to get
>> all the parameters name and values one by one)
>>
>> I am using : reSIPprocate-1.0-RC1 (I checked out the latest version
>> because it was not working either with my previous version) on  
>> windows
>> XP sp2, and VS2005 (compiling in /Mtd mode)
>>
>> Please I really need this! Any help or suggestion welcome Thank  
>> you in
>> advance
>>
>> --
>> Julien
>>
>>
>> _______________________________________________
>> resiprocate-devel mailing list
>> resiprocate-devel at list.sipfoundry.org
>> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2369 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060821/32ed3207/attachment.bin>


More information about the resiprocate-devel mailing list