Here is construction of INVITE as specified in RFC3261 section '13.2.1 Creating the 
Initial INVITE'

"An Allow header field (Section 20.5) SHOULD be present in the INVITE. "

Of course there is no harm in checking for white spaces.

-suheel

-----------------
Suheel Hussain

----- Original Message -----
From: Christian Stredicke <[EMAIL PROTECTED]>
Date: Tuesday, September 21, 2004 1:14 am
Subject: RE: [Sip-implementors] SNOM 200 phone

> Are you sure that you have the whitespace under control? Maybe you can
> show the whitespace as well.  
> 
> CS
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, September 21, 2004 1:32 AM
> To: m. smadi
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Sip-implementors] SNOM 200 phone
> 
> Only thing I can think is that your INVITE does not have 'Allow' 
> header.Some UAs do not validate whole SIP message -- they just 
> take out
> relevant information to call. etc.
> 
> -suheel
> 
> -----------------
> Suheel Hussain
> 
> ----- Original Message -----
> From: "m. smadi" <[EMAIL PROTECTED]>
> Date: Monday, September 20, 2004 4:54 pm
> Subject: [Sip-implementors] SNOM 200 phone
> 
> > i am tryig to write a mini python script that invites other sip 
> phone.> my script successfully invited kphone and xlite, but i 
> cannot invite 
> > snom 200
> > 
> > I am sending this invite message
> > 
> > INVITE sip:[EMAIL PROTECTED] SIP/2.0
> > Via: SIP/2.0/UDP 192.168.2.8
> > CSeq: 4786 INVITE
> > To: <sip:[EMAIL PROTECTED]>
> > Content-Type: application/sdp
> > From: "4001" <sip:[EMAIL PROTECTED]>;tag=4CB6828E
> > Call-ID: [EMAIL PROTECTED]
> > Subject: sip:[EMAIL PROTECTED]
> > Content-Length: 183
> > User-Agent: kphone/4.0.3
> > Contact: "4001" <sip:[EMAIL PROTECTED];transport=udp>
> > 
> > v=0
> > o=username 0 0 IN IP4 192.168.2.8
> > s=The Funky Flow
> > c=IN IP4 192.168.2.8
> > t=0 0
> > m=audio 32888 RTP/AVP 0 97 3
> > a=rtpmap:0 PCMU/8000
> > a=rtpmap:3 GSM/8000
> > a=rtpmap:97 iLBC/8000
> > 
> > 
> > This works with other phones, but i am getting the following 
> response 
> > from snom 200:
> > 
> > SIP/2.0 400 Bad Request
> > Via: SIP/2.0/UDP 192.168.2.8
> > From: "4001" <sip:[EMAIL PROTECTED]>;tag=4CB6828E
> > To: <sip:[EMAIL PROTECTED]>
> > Call-ID: [EMAIL PROTECTED]
> > CSeq: 4786 INVITE
> > Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, 
> SUBSCRIBE, 
> > PRACK, MESSAGE, INFO
> > Allow-Events: talk, hold, refer
> > Supported: timer, 100rel, replaces
> > Content-Length: 0
> > 
> > Could someone please explain this to me?
> > 
> > Thanks
> > M. Smadi
> > 
> > _______________________________________________
> > Sip-implementors mailing list
> > [EMAIL PROTECTED]
> > http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
> > 
> 
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
> 
> 
> 

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to