Hello,
I'm trying to simulate an "Attended Transfer Call", with 3 clients processes
in the same machine, in order to test a gateway.
I used the prefixes in front the "Call-Id" variable as the tutorial states,
but I still receive a "481 Call Does Not Exist" error message from the GW
after it sends the REFER message. I attach the scenario files used.
Can this be a problem of the CSeq sequence?
Regards,
Rafa.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE scenario PUBLIC "SYSTEM" "F:\Dokumente und Einstellungen\Administrator\workspace\SiTeX\sipp\sipp.dtd">
<scenario name="AT_150_410_410.Server">
<send>
<![CDATA[
INVITE sip:[EMAIL PROTECTED] SIP/2.0
From: <sip:[EMAIL PROTECTED];user=phone>;tag=[service][call_number]
To: sip:[EMAIL PROTECTED]
Call-ID: XKV4X0-pSo///[call_id]
CSeq: [cseq] INVITE
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
User-Agent: OP150S/1.34
Allow: INVITE,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER
Supported: 100rel, replaces
Expires: 180
Content-Type: application/sdp
Content-Length: [len]
v=0
o=[service] 209188 1 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio 8002 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=sendrecv
a=ptime:20
]]>
</send>
<recv response="100" optional="true" />
<recv response="180" optional="true" />
<recv response="200" />
<send>
<![CDATA[
ACK sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: [cseq] ACK
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
User-Agent: OP150S/1.34
Content-Length: 0
]]>
</send>
<pause milliseconds="4326" />
<send>
<![CDATA[
INVITE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: [cseq] INVITE
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
User-Agent: OP150S/1.34
Allow: INVITE,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER
Supported: 100rel, replaces
Expires: 180
[last_Content-Type:]
Content-Length: [len]
v=0
o=[service] 209188 2 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio 8002 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=sendrecv
a=ptime:20
]]>
</send>
<recv response="100" optional="true" />
<recv response="200" />
<send>
<![CDATA[
ACK sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: [cseq] ACK
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
User-Agent: OP150S/1.34
Content-Length: 0
]]>
</send>
<pause milliseconds="4718" />
<send>
<![CDATA[
INVITE sip:[EMAIL PROTECTED] SIP/2.0
From: <sip:[EMAIL PROTECTED];user=phone>;tag=[service][call_number]
To: sip:[EMAIL PROTECTED]
Call-ID: VOn3k-pVq0///[call_id]
CSeq: [cseq] INVITE
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
User-Agent: OP150S/1.34
Allow: INVITE,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER
Supported: 100rel, replaces
Expires: 180
[last_Content-Type:]
Content-Length: [len]
v=0
o=[service] 215572 1 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio 8004 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=sendrecv
a=ptime:20
]]>
</send>
<recv response="100" optional="true" />
<recv response="180" optional="true" />
<recv response="200" />
<send>
<![CDATA[
ACK sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: [cseq] ACK
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
User-Agent: OP150S/1.34
Content-Length: 0
]]>
</send>
<pause milliseconds="5330" />
<send>
<![CDATA[
REFER sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
From: <sip:[EMAIL PROTECTED];user=phone>;tag=[service][call_number]
To: sip:[EMAIL PROTECTED];tag=[service][call_number]
Call-ID: XKV4X0-pSo///[call_id]
CSeq: [cseq] REFER
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Contact: sip:[EMAIL PROTECTED]:[local_port]
Max-Forwards: 70
User-Agent: OP150S/1.34
Call-ID:
Refer-To: <sip:[EMAIL PROTECTED]///[call_id]%3Bto-tag%3Dfd37dfb65f6f00d%3Bfrom-tag%3Dg17g2-Jh3wv>
Referred-By: sip:[EMAIL PROTECTED]
Content-Length: 0
]]>
</send>
<recv response="202" />
<recv request="NOTIFY">
<action>
<ereg regexp="From:.*;tag=([0123456789abcdefABCDEF]*).*;tag=" search_in="hdr" check_it="true" assign_to="1,2" />
</action>
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_From:]
To: <sip:[EMAIL PROTECTED];user=phone>;tag=[service][call_number]
[last_Call-ID:]
[last_CSeq:]
[last_Via:]
User-Agent: OP150S/1.34
Content-Length: 0
]]>
</send>
<send>
<![CDATA[
BYE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
From: <sip:[EMAIL PROTECTED];user=phone>;tag=[service][call_number]
To: sip:[EMAIL PROTECTED];tag=[$2]
[last_Call-ID:]
CSeq: [cseq] BYE
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Contact: sip:[EMAIL PROTECTED]:[local_port]
[last_Max-Forwards:]
User-Agent: OP150S/1.34
Content-Length: 0
]]>
</send>
<recv response="200" />
<recv request="BYE" />
<send>
<![CDATA[
SIP/2.0 200 OK
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
[last_Via:]
User-Agent: OP150S/1.34
[last_Content-Length:]
]]>
</send>
<recv request="NOTIFY" />
<send>
<![CDATA[
SIP/2.0 200 OK
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
[last_Via:]
User-Agent: OP150S/1.34
Content-Length: 0
]]>
</send>
</scenario>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE scenario PUBLIC "SYSTEM" "F:\Dokumente und Einstellungen\Administrator\workspace\SiTeX\sipp\sipp.dtd">
<scenario name="AT_150_410_410.Client1">
<recv request="INVITE" />
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_From:]
To: sip:[EMAIL PROTECTED];epid=[pid];tag=[service][call_number]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: 0
User-Agent: optiPoint 410_420/V6 V6 R1.65.1
]]>
</send>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[last_From:]
To: sip:[EMAIL PROTECTED];epid=[pid];tag=[service][call_number]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: 0
Allow-Events: talk, hold, conference
Allow: INVITE,ACK,CANCEL,BYE,REFER,NOTIFY,UPDATE
Contact: [service] <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
User-Agent: optiPoint 410_420/V6 V6 R1.65.1
]]>
</send>
<pause milliseconds="1703" />
<send>
<![CDATA[
SIP/2.0 200 OK
[last_From:]
To: sip:[EMAIL PROTECTED];epid=[pid];tag=[service][call_number]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: [len]
Allow-Events: talk, hold, conference
Allow: INVITE,ACK,CANCEL,BYE,REFER,NOTIFY,UPDATE
[last_Content-Type:]
[last_Supported:]
Contact: [service] <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
User-Agent: optiPoint 410_420/V6 V6 R1.65.1
v=0
o=MxSIP 0 1509646653 IN IP[local_ip_type] [local_ip]
s=SIP Call
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio 5004 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
]]>
</send>
<recv request="ACK" />
<recv request="INVITE" />
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_From:]
[last_To:]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: 0
User-Agent: optiPoint 410_420/V6 V6 R1.65.1
]]>
</send>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_From:]
[last_To:]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: [len]
Allow-Events: talk, hold, conference
Allow: INVITE,ACK,CANCEL,BYE,REFER,NOTIFY,UPDATE
[last_Content-Type:]
[last_Supported:]
Contact: [service] <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
User-Agent: optiPoint 410_420/V6 V6 R1.65.1
v=0
o=MxSIP 0 1509646654 IN IP[local_ip_type] [local_ip]
s=SIP Call
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio 5004 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
]]>
</send>
<recv request="ACK" />
<recv request="INVITE" />
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_From:]
[last_To:]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: 0
User-Agent: optiPoint 410_420/V6 V6 R1.65.1
]]>
</send>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_From:]
[last_To:]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
Content-Length: [len]
Allow-Events: talk, hold, conference
Allow: INVITE,ACK,CANCEL,BYE,REFER,NOTIFY,UPDATE
[last_Content-Type:]
[last_Supported:]
Contact: [service] <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
User-Agent: optiPoint 410_420/V6 V6 R1.65.1
v=0
o=MxSIP 0 1509646655 IN IP[local_ip_type] [local_ip]
s=SIP Call
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio 5004 RTP/AVP 8 0 9 18 4 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:off - - - -
a=fmtp:18 annexb=no
a=fmtp:4 annexa=no
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
]]>
</send>
<recv request="ACK" />
<recv request="BYE" />
<send>
<![CDATA[
SIP/2.0 200 OK
[last_From:]
[last_To:]
[last_Via:]
[last_Call-ID:]
[last_CSeq:]
[last_Content-Length:]
[last_Supported:]
User-Agent: optiPoint 410_420/V6 V6 R1.65.1
]]>
</send>
</scenario>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE scenario PUBLIC "SYSTEM" "F:\Dokumente und Einstellungen\Administrator\workspace\SiTeX\sipp\sipp.dtd">
<scenario name="AT_150_410_410.Client2">
<recv request="INVITE" />
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_Call-ID:]
[last_CSeq:]
[last_From:]
To: sip:[EMAIL PROTECTED];epid=[pid];tag=[service][call_number]
[last_Via:]
Content-Length: 0
User-Agent: optiPoint 410_420/V5 5.0.25
]]>
</send>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[last_Call-ID:]
[last_CSeq:]
[last_From:]
To: sip:[EMAIL PROTECTED];epid=[pid];tag=[service][call_number]
[last_Via:]
Content-Length: 0
Allow-Events: talk, hold, conference
Allow: INVITE,ACK,CANCEL,BYE,REFER,NOTIFY,MESSAGE,UPDATE
Contact: [service] <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
User-Agent: optiPoint 410_420/V5 5.0.25
]]>
</send>
<pause milliseconds="2359" />
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Call-ID:]
[last_CSeq:]
[last_From:]
To: sip:[EMAIL PROTECTED];epid=[pid];tag=[service][call_number]
[last_Via:]
Content-Length: [len]
Allow-Events: talk, hold, conference
Allow: INVITE,ACK,CANCEL,BYE,REFER,NOTIFY,MESSAGE,UPDATE
[last_Content-Type:]
[last_Supported:]
Contact: [service] <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
User-Agent: optiPoint 410_420/V5 5.0.25
v=0
o=MxSIP 0 969187584 IN IP[local_ip_type] [local_ip]
s=SIP Call
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio 15000 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=ptime:20
a=sendrecv
]]>
</send>
<recv request="ACK" />
<recv request="INVITE" />
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Call-ID:]
[last_CSeq:]
[last_From:]
[last_To:]
[last_Via:]
Content-Length: [len]
Allow-Events: talk, hold, conference
Content-Type: application/sdp
[last_Supported:]
Contact: [service] <sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
User-Agent: optiPoint 410_420/V5 5.0.25
v=0
o=MxSIP 0 969187585 IN IP[local_ip_type] [local_ip]
s=SIP Call
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio 15000 RTP/AVP 8 0 9 18 4 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:0 0-15
a=ptime:20
]]>
</send>
<recv request="ACK">
<action>
<ereg regexp="From:.*;tag=([0123456789abcdefABCDEF]*).*;tag=" search_in="hdr" check_it="true" assign_to="1,2" />
</action>
</recv>
<pause milliseconds="6000" />
<send>
<![CDATA[
BYE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
[last_Max-Forwards:]
Content-Length: 0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
[last_Call-ID:]
From: sip:[EMAIL PROTECTED];epid=[pid];tag=[service][call_number]
To: 47 <sip:[EMAIL PROTECTED]>;tag=[$2]
CSeq: [cseq] BYE
Supported: timer
Supported: replaces
User-Agent: optiPoint 410_420/V5 5.0.25
]]>
</send>
<recv response="200" />
</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