> -----Original Message-----
> From: Christer Holmberg [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 28, 2008 5:29 PM
>
> Could someone show an INFO message example if we would use CID?


----BEGIN----
INFO sip:[EMAIL PROTECTED] SIP/2.0
Call-ID: [EMAIL PROTECTED]
From: <sip:[EMAIL PROTECTED]>;tag=27285
To: <sip:[EMAIL PROTECTED]>;tag=GR52RWG346-34
CSeq: 2 INFO
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK-6110000000000893
Max-Forwards: 70
Info-Package: dtmf-relay;cid=sleepy%40tryptophan.com
Content-Length: 10
Content-Type: application/dtmf-relay
Content-ID: <[EMAIL PROTECTED]>

Signal=1
----END----


Or...


----BEGIN----
INFO sip:[EMAIL PROTECTED] SIP/2.0
Call-ID: [EMAIL PROTECTED]
From: <sip:[EMAIL PROTECTED]>;tag=27285
To: <sip:[EMAIL PROTECTED]>;tag=GR52RWG346-34
CSeq: 2 INFO
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK-6110000000000893
Max-Forwards: 70
Info-Package: dtmf-relay;cid=sleepy%40tryptophan.com
Geolocation: cid:[email protected]
Content-Length: 917
Content-Type: multipart/mixed;boundary="boundary1"

--boundary1
Content-Type: application/dtmf-relay
Content-ID: <[EMAIL PROTECTED]>

Signal=1
--boundary1
Content-Type: application/pidf+xml
Content-ID: <[EMAIL PROTECTED]>

<?xml version="1.0" encoding="UTF-8"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf"
xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10"
xmlns:cl="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr"
xmlns:gs="http://www.opengis.net/pidflo/1.0";
xmlns:gml="http://www.opengis.net/gml";
entity="pres:[EMAIL PROTECTED]">
    <tuple id="sg89abcd">
     <status>
      <gp:geopriv>
       <gp:location-info>
        <gml:Point srsName="urn:ogc:def:crs:EPSG::4326"
          xmlns:gml="http://www.opengis.net/gml";>
         <gml:pos>90.0 0.0</gml:pos>
        </gml:Point>
       </gp:location-info>
      </gp:geopriv>
     </status>
     <timestamp>2008-12-25T20:57:29Z</timestamp>
    </tuple>
</presence>
--boundary1--
----END----

-hadriel
p.s. I did it by hand obviously, so I'm just guessing on content-length and 
such.  And I have no idea if the geo-loc stuff I created is right - I can't 
seem to find one example SIP message with it in a draft, and it's damn 
confusing. (and an impressive amount of overhead to describe a 
latitude+longitude, address, or well-known string)

_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [EMAIL PROTECTED] for questions on current sip
Use [EMAIL PROTECTED] for new developments on the application of sip

Reply via email to