croczilla.com 
 home   zap   svg   xtf   jssh   bits&pieces   blog   personal   
  home > zap > lists > zap-devel > Archive > 2006 > 2006-08 > [PATCH] Sanitize SIP URL / "Marc Petit-Huguenin" <marc@8x8.com>

zap-devel mailing list

To subscribe, send a mail with subject 'subscribe' to zap-devel(at)croczilla.com. Likewise, to unsubscribe, send a mail with subject 'unsubscribe' to zap-devel(at)croczilla.com.

[ << ] [ >> ]

[ [PATCH] Basic capabilities / "Marc ... ] [ [PATCH] Sanitize IP URL [UPDATED] / "Marc ... ]

[PATCH] Sanitize SIP URL
"Marc Petit-Huguenin" <marc(at)8x8.com>
2006-08-14 10:13:29 [ FULL ]
This patch sanitizes the SIP URI before been used to make a call, as
described in RFC 3261 section 19.1.5 and in the table in section 19.1.2.
It also copies the Subject header in the URI to the SIP header. This is
useful when the call is generated from a SIP URI embedded in an HTML
page or an email, like this one:

sip:test(at)isciade.org?Subject=Test


P.S.: I changed the API in zapISipUAStack.idl, but I didn't know if I
had to change also the UUID, so I didn't generate a new one.
[...]
Attachments:  
sanitize.patch text/plain 5720 Bytes

Re: [zap-devel] [PATCH] Sanitize SIP URL
Alex Fritze <alex(at)croczilla.com>
2006-08-14 10:36:44 [ FULL ]
Hi Marc,

Do you think it would make sense to perform the sanitization in 
zapISipUAStack::createInviteRequestClient()? Then we wouldn't have to 
add another parameter. Or can you think of any scenario where a user of 
the sip ua stack would want to pass in a separate request uri?

Regards,
Alex


Marc Petit-Huguenin wrote:[...]

Re: [zap-devel] [PATCH] Sanitize SIP URL
"Marc Petit-Huguenin" <marc(at)8x8.com>
2006-08-14 14:42:27 [ FULL ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Alex,

Alex Fritze wrote:[...]

Yes, RFC 3261 says that usually the To and the Request-URI are equal in
a UAC, and honestly I cannot find an example where we would need them
different.  I'll rework the patch this afternoon and repost it.

Thanks.
[...][...]

- --
Marc Petit-Huguenin
Home: marc(at)petit-huguenin.org
Work: marc(at)8x8.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE4IvT9RoMZyVa61cRAuZxAJ0QK7ks8d+DDnkbagi15/CdcwAxfwCgnNOT
ofrwtlpwRQpsdqgy696mJ7Y=
=5qTL
-----END PGP SIGNATURE-----

MailBoxer