< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] Creating a Record Route header


routeNameAddr.uri().param(p_lr);

There are lots of examples of Record-Route header builing in the code.
 Just search for h_RecordRoutes and/or p_lr.

Scott

On Thu, Feb 5, 2009 at 11:21 AM,  <james@xxxxxxxxxx> wrote:
>
> Thanks Scott
>
> So if I have a SIP URI in a NameAddr how do you set the lr parameter on it?
>
> James
>
> -----Original Message-----
> From: "Scott Godin" <sgodin@xxxxxxxxxxxxxxx>
> Sent: Thursday, February 5, 2009 9:19am
> To: james@xxxxxxxxxx
> Cc: resiprocate-users@xxxxxxxxxxxxxxx
> Subject: Re: [reSIProcate-users] Creating a Record Route header
>
> See RFC3261 - Record-Route headers contain a NameAddr/uri not just an
> ip address.  Also Via headers populated by resiprocate do use IP
> addresses and not hostnames - so I'm not sure what you are seeing
> here.
>
> Scott
>
> On Thu, Feb 5, 2009 at 8:01 AM,  <james@xxxxxxxxxx> wrote:
>> What is the correct way to create a RR because when I do it I end up with 
>> Record-Route: <sip:192.168.36.20>.  Surely thats incorrect, it should just 
>> be the IP?
>>
>> Also on a related note I beleive resip automatically adds a Via header to an 
>> outgoing message. Is this the case even if its a message which has been 
>> recieved and is being forwarded on? And is there a way to force it to make 
>> the Via from the IP rather than the host name becuase our network doesnt 
>> have DNS on it at present.
>>
>> James
>>
>> _______________________________________________
>> resiprocate-users mailing list
>> resiprocate-users@xxxxxxxxxxxxxxx
>> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>>
>
>
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>