Thank you for this link!

Cheers,
Alex


2010/5/19 Singh, Indresh (NSN - US/Boca Raton) <[email protected]>

> Ideally the user=phone should be part of the SIP URL. So it should be
> within the bracket of from and to header
>
> To: <sip:192.168.0.247:5060;user=phone>
>
> Look in the grammar and syntax section of rfc3261
>
> ------------------------------------------------------------------------
> -----------
> uri-parameters    =  *( ";" uri-parameter)
> uri-parameter     =  transport-param / user-param / method-param
>                     / ttl-param / maddr-param / lr-param / other-param
> ....
> user-param        =  "user=" ( "phone" / "ip" / other-user)
>
> ------------------------------------------------------------------------
> -------
> name-addr      =  [ display-name ] LAQUOT addr-spec RAQUOT
> addr-spec      =  SIP-URI / SIPS-URI / absoluteURI
> -------------------------------------------------------------
>
> To        =  ( "To" / "t" ) HCOLON ( name-addr
>             / addr-spec ) *( SEMI to-param )
> to-param  =  tag-param / generic-param
> ------------------------------------------------------------------------
> ----------
>
>
> So the above form is correct
>
> Best Regards,
>
> Indresh
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of ext
> Alex Bakker
> Sent: Wednesday, May 19, 2010 10:17 AM
> To: [email protected]
> Subject: [Sip-implementors] "To: <sip:192.168.0.247:5060;user=phone>"
> field is valid ?
>
> Hello,
>
> When I make a call from a Siemens handset to SJPhone (softphone), I
> notice something strange in the "To:" field in the INVITE request.
>
> This field looks like this:
>
> To: <sip:192.168.0.247:5060;user=phone>
>
> Is this really a valid notation?? I am writing a parser that reads these
> headers but I am unsure how to interpret this...
>
> I would expect the To field to look like this:
> To: <sip:192.168.0.247:5060>;user=phone
>
>
> Cheers,
> Alex
>
>
> 15:45:53 DEBUG
> 2010-05-19 13:45:53.656 UDP 192.168.0.2:5070->LOCAL INVITE
> sip:192.168.0.247:5060;user=phone SIP/2.0
> Via: SIP/2.0/UDP 192.168.0.2:5070
> ;branch=z9hG4bKe689123fe2f49092f291e02e3b31823a;rport
> From:  <sip:192.168.0.2:5070>;tag=3496067849
> To: <sip:192.168.0.247:5060;user=phone>
> Call-ID: 2858486...@192_168_0_2
> CSeq: 2 INVITE
> Contact: <sip:[email protected]:5070>
> Max-Forwards: 70
> User-Agent: C470IP022230000000
> Supported: replaces
> Allow-Events: message-summary, refer
> Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
> Content-Type: application/sdp
> Content-Length: 351
>
> v=0
> o=31237112291 8194 138 IN IP4 192.168.0.2 s=Mapping c=IN IP4 192.168.0.2
> t=0 0
> m=audio 8194 RTP/AVP 0 8 96 97 2 18 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:96 G726-32/8000
> a=rtpmap:97 AAL2-G726-32/8000
> a=rtpmap:2 G726-32/8000
> a=rtpmap:18 G729/8000
> a=fmtp:18 annexb=no
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to