I have two issues that I am struggling with and need some input. The
application I am developing receives an INVITE, does a database lookup, and
redirects the INVITE using a 302 Temporarily Moved response. My first issue
is the sending of a 100 TRYING message. When an INVITE arrives the nua
sofia-sip stack automatically sends the TRYING message. Is there any way to
disable this automatic message or do I need to use the nta interface?
The second issue I am encountering is the with the 302 behavior. According
to SIP documentation when a 302 message is sent in response to an INVITE the
application that initiated the invite can send an ACK to the 302 but it is
not required. What I am experiencing is that the nua application sends the
302 response and then the next event that arrives is a terminated event.
Then the ACK arrives and generates an error message in nua:
nua(003D6358): strange ACK from <sip:u...@x.x.x.x:5060>
nua also continues attempting to send the 302 message. It sends it 10 times
with an increasing timeout that starts out at 0.5 seconds and doubles every
message until the timeout reaches 4 seconds. What am I doing wrong? The
application that sends the invite receives the 302 and responds with an
ACK. Am I missing something in the nua application that is not handling the
send of the 302 or the receipt of the ACK correctly?
The event secquence is as follows:
1. nua_i_invite - 100 - trying (302 response sent at this event arrival)
2. nua_i_state - 100 - trying
3. nua_i_state - 302 - Moved Temporarily
4. nua_i_terminated - 302 - Moved Temporarily
5. nua(003D6358): strange ACK from <sip:u...@x.x.x.x:5060>
6. sofia-sip nua continues sending the 302 message 10 more times.
Do I need to use the nta interface or do I have some parameters/app behavior
that I need to change? Thank you for the assistance.
Jonathan
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel