Re: [Sofia-sip-devel] Null Callid and To Tag

2010-08-10 Thread Pekka Pessi
2010/8/5 Vikas Bhat vikasbhat0...@gmail.com:
 Thanks for the information.
 Do u mean to say that Sofia Stack(NTA) should send the 400.
 since we are using the STACK in is STATELESS mode .should our application
 check for
 CallID with null values and respond with 400.

Yes and no, the nta stack should check for bad requests even in stateless mode.

 is there any stack configuration to be enabled from SOFIA STACK side to
 Check such scenerios and respond appropriately.

See, e.g., the documentation of NTATAG_BAD_REQ_MASK():

http://sofia-sip.sourceforge.net/refdocs/nta/nta__tag_8h.html#23d0ebce6f3a594c5547e0ff72fc5777

-- 
Pekka.Pessi mail at nokia.com

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Null Callid and To Tag

2010-08-05 Thread Vikas Bhat
Hi
Thanks for the information.
Do u mean to say that Sofia Stack(NTA) should send the 400.
since we are using the STACK in is STATELESS mode .should our application
check for
CallID with null values and respond with 400.

is there any stack configuration to be enabled from SOFIA STACK side to
Check such scenerios and respond appropriately.

Thanks
Vikas Bhat
On Wed, Aug 4, 2010 at 6:55 PM, Pekka Pessi ppe...@gmail.com wrote:

 2010/7/26 Vikas Bhat vikasbhat0...@gmail.com:
  Sofia stack is not able to detect empty/null CallID in INVITE request.
  similarly Sofia is not able to detect empty/NULL TO TAG.
  Ideally Sofia should reject the calls in above scenerios.

 I think NTA is supposed to return a 400 response to a request received
 from network if CallID header is missing.

 On client side, it generates a CallID automatically, if application
 has not provided one. Likewise, it generates a random To tag if
 application has not provided one.

 The To tag is always empty or missing in initial requests; do you
 propose that a Sofia should automatically try to clear any call if a
 response to an INVITE request contains empty/null To tag?

 --
 Pekka.Pessi mail at nokia.com

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Null Callid and To Tag

2010-08-04 Thread Pekka Pessi
2010/7/26 Vikas Bhat vikasbhat0...@gmail.com:
 Sofia stack is not able to detect empty/null CallID in INVITE request.
 similarly Sofia is not able to detect empty/NULL TO TAG.
 Ideally Sofia should reject the calls in above scenerios.

I think NTA is supposed to return a 400 response to a request received
from network if CallID header is missing.

On client side, it generates a CallID automatically, if application
has not provided one. Likewise, it generates a random To tag if
application has not provided one.

The To tag is always empty or missing in initial requests; do you
propose that a Sofia should automatically try to clear any call if a
response to an INVITE request contains empty/null To tag?

-- 
Pekka.Pessi mail at nokia.com

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] Null Callid and To Tag

2010-07-26 Thread Vikas Bhat
Hi ALL,
Sofia stack is not able to detect empty/null CallID in INVITE request.
similarly Sofia is not able to detect empty/NULL TO TAG.
Ideally Sofia should reject the calls in above scenerios.
Can anybody guide me if i need to use any particular version of SOFIA STACK
for getting the above functionality or Do i need to change any stack file.


Thanks
Vikas Bhat
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel