I have a scenario in which I want to send a message with one call id and
later receive a message with a different call id.  This is for SMS
MESSAGEs.  The first sent SIP MESSAGE contains an SMS-Submit in the
content and then I receive a 202 response.  Then I need to receive a SIP
MESSAGE (containing an SMS-Submit-Report) in the same scenario.  But the
received message (from a SIP Protocol point of view) is a new request
(almost like a new INVITE) and therefore has a new call id.
 
SIPP drops the received message because its not part of the original
call.  Has anyone monkeyed with the code to do this?
 
Scenario attached.
 
Thanks,
Ed
 
<?xml version="1.0" encoding="ISO-8859-1" ?>

<scenario name="scenario1">

<send retrans="0000">
<![CDATA[
  MESSAGE sip:192.168.1.14:5060> SIP/2.0
  Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]
  From: <tel:+9782060802>;tag=[call_number]
  To: <sip:192.168.1.14:5060>
  Call-ID: [call_id]
  CSeq: 1 MESSAGE
  Max-Forwards: 70
  Content-Type: application/vnd.3gpp.sms
  Content-Length: 3

  \x00\x22\x06
  ]]>
</send>
<recv response="202" crlf="true" rrs="true" optional="false" >

<recv request="MESSAGE" crlf="true" rrs="true" optional="false" >

<send retrans="0000">
<![CDATA[
  SIP/2.0 200 OK
  [last_Via:]
  [last_From:]
  [last_To:];tag=[call_number]
  [last_Call-ID:]
  [last_CSeq:]
  [last_Record-Route:]
  Contact: <sip:[local_ip]:[local_port]>
  Content-Length: [len]
  ]]>
</send>
</scenario>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to