Hello,
I'm trying to build a scenario where sipp first registers a number and
then, wait for an INVITE. The problem is that after the registration,
the INVITE packets are discarded. If I split the scenario in 2
scenarios: 1 for the registration and 1 for answering the INVITE and
run one after the other, it works fine! Any help is welcome.
Thanks in advance.
Best Regards,
Raphael
This is the error I get:
sipp: The following events occured:
2006-09-12 12:25:24: Discarding message which can't be mapped to a
known SIPp call:
INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.127.250.166:5060;branch=z9hG4bK0g1ao0001oognakh6601.1
To: <sip:[EMAIL PROTECTED]>
From: <sip:[EMAIL PROTECTED];user=phone>;tag=SDm1du201-02ec8853
Call-ID: SDm1du201-495f50c5e9b75e2b14717fed847c07a1-v3000v3
CSeq: 1 INVITE
Max-Forwards: 8
Contact: <sip:[EMAIL PROTECTED]:5060;transport=udp>
P-Asserted-Identity: <sip:[EMAIL PROTECTED]>,<tel:+3227959559>
Content-Type: application/sdp
Content-Length: 165
This is the scenario I use:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<scenario name="Basic Answer">
<send retrans="500">
<![CDATA[
REGISTER sip:domain.com SIP/2.0
Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]
From: sip:[EMAIL PROTECTED]
To: sip:[EMAIL PROTECTED]
Call-ID: [call_id]
CSeq: [cseq] REGISTER
User-Agent: CSCO/7
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Content-Length: 0
Expires: 300
]]>
</send>
<recv response="200" optional="true" next="1">
</recv>
<recv response="401" auth="true">
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:domain.com SIP/2.0
Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]
From: sip:[EMAIL PROTECTED]
To: sip:[EMAIL PROTECTED]
Call-ID: [call_id]
CSeq: [cseq] REGISTER
User-Agent: CSCO/7
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
[field1]
Content-Length: 0
Expires: 300
]]>
</send>
<recv response="200" crlf="true">
</recv>
<label id="1"/>
<pause milliseconds="1000"/>
<recv request="INVITE">
</recv>
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
[last_CSeq:]
Server: CSCO/7
Contact: <sip:[EMAIL PROTECTED]:[local_port]>
Content-Length: 0
]]>
</send>
...
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users