[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    Re: [Serdev] contact parser update
From:       Maxim Sobolev <sobomax () portaone ! com>
Date:       2003-07-03 21:53:01
Message-ID: 3F04A5BD.4010703 () portaone ! com
[Download RAW message or body]

I've updated nathelper accordingly - which allowed to remove significant 
chunk of code from it, that you very much!

-Maxim

Jan Janak wrote:

> Hello,
> 
> I fixed the contact parser today. Originally if Contact header field
> contained a name-addr part (i.e. something like this:
> Contact: "Jan Janak" <sip:jan@195.37.78.248>) then the uri field of the
> contact_t structure contained also the name part.
> 
> The new contact_structure has a new field called name which contains
> only the name part (i.e. "Jan Janak" in the example above) and the uri
> field contains only raw URI (i.e. 'sip:jan@195.37.78.248'), so you can
> use it directly as a URI.
> 
> Module writers: Please check your modules and update your code if
> necessary. The following modules use contact_t structure somehow:
> 
> mangler
> nathelper
> registrar - Updated
> tm/dlg - Updated
> vm
> 
> You need to update your module if you extract the raw URI from 'uri'
> field of contact_t somehow. You don't have to extract it anymore since the 
> field now contains only the raw URI -- that will simplify your module a bit.
> 
>    Jan.
> 
> _______________________________________________
> Serdev mailing list
> serdev@lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
> 
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic