I have a registrar script which accepts a REGISTER and sends a 200 OK with
service route header.
The sip packet is having \r\n after the service-route header value:
Service-Route: <sip:servingproxy.com;lr>\r\n Content-Length: 0
xml:
<recv request="REGISTER" crlf="true">
</recv>
<send retrans="500">
<![CDATA[
SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
[last_Contact];expires=900
Service-Route: <sip:servingproxy.com;lr>
Content-Length:[len]
]]>
</send>
Can someone tell me why \r \n is inserted and what is its significance?
--
Regards,
Priyank
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users