It is unlikely that a real client would re-use the CallID given to it by SIPp
in the Register and Subscribe messages. (Indeed purists would argue that it
would be a breach of protocol to do so.)
What you need to do is to start a new SIPp Server process to receive the
Invite. If timing permits you could terminate the SIPp process that sent the
Register and Subscribe and start a new one. If it does not or you need to
re-Register etc., then you need to have two ports available, one for the Server
SIPp and one for the Client SIPp.
Peter
From: ritesh.gu...@bt.com
To: sipp-users@lists.sourceforge.net
Date: Tue, 30 Mar 2010 13:59:19 +0100
Subject: [Sipp-users] Error while Receive Invite Request --
Hi All,
I am trying to mimic Receive end for Accept call.
My SIP client is not able to map Invite message.
Here is my call flow.
Register -> (Sending)
è 200 OK (Receiving)
Subscribe-> (Sending)
è 501 not Implemented (Receiving)
è Invite ( Here I have Issue ... not able to map incoming Invite SIP message )
Please find my message structure below
<send >
<![CDATA[
REGISTER sip:10.230.53.225 SIP/2.0
Via: SIP/2.0/UDP 10.230.53.229:[local_port];branch=[branch];rport
Max-Forwards: 70
Contact: <sip:9...@10.230.53.229:[local_port]>
To: "900"<sip:9...@10.230.53.225>
From: "900"<sip:9...@10.230.53.225>;tag=[call_number]
Call-ID: [call_id]
CSeq: [cseq] REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Content-Length: [len]
]]>
</send>
<recv response="200" crlf="true">
</recv>
<send >
<![CDATA[
SUBSCRIBE sip:9...@10.230.53.225 SIP/2.0
Via: SIP/2.0/UDP 10.230.53.229:[local_port];branch=[branch];rport
Max-Forwards: 70
Contact: <sip:9...@10.230.53.229:[local_port]>
To: "900"<sip:9...@10.230.53.225>
From: "900"<sip:9...@10.230.53.225>;tag=[call_number]
Call-ID: [call_id]
CSeq: [cseq] SUBSCRIBE
Expires: 300
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
User-Agent: X-Lite release 1104o stamp 56125
Event: message-summary
Content-Length: [len]
]]>
</send>
<recv response="501" crlf="true">
</recv>
<recv request="INVITE" /> Note: I have tried to use both ways but none of
them are working
<recv request="INVITE" crlf="true" rrs="true">
<action>
<ereg regexp=".*" search_in="hdr" header="From:" assign_to="1"
/>
<log message="From is [last_From]. Custom header is [$1]"/>
</action>
</recv>
_________________________________________________________________
Got a cool Hotmail story? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users