Christopher Aloi wrote:
> Hello List -
>
> I'm new to using SiPp but have a good understanding of SIP etc...
>
> I'm hoping someone can point me in the right direction here.
>
> Here's the call flow:
>
> SiPp => Asterisk (pretty simple, I know)
>
> It seems i'm not sending an ACK from SiPp to Asterisk for a 404 or 
> even a 200 okay.  From what I can tell Asterisk tries to re-send the 
> message about five times, then kills the call.  I see the same on the 
> SiPp side.
>
> I modified the uac.xml file to include a list of numbers I call from 
> an external text file (that works perfect).
> But I see this behavior when I use the embedded uac xml as well.
>
> Here's a break down....
>
> I added a recv response 404 to the uac.xml file after the standard 183:
>
>   <recv response="404" optional=true>
>   </recv>
>
> Here is how I called SiPp:
>
> sipp -sn uac -d 500 -s 35 66.218.0.21 <http://66.218.0.21> -m 2 
> -trace_err -trace_msg
>
> One call to sip:[EMAIL PROTECTED] <mailto:sip:[EMAIL PROTECTED]>
>
> Here's the message.log from SiPp
>
> <start>
> ----------------------------------------------- 2006-08-31 13:24:20
> UDP message sent:
>
> INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
> Via: SIP/2.0/UDP 66.218.0.21:5061 
> <http://66.218.0.21:5061>;branch=z9hG4bK-1-0
> From: sipp <sip:[EMAIL PROTECTED]:5061>;tag=1
> To: sut < sip:[EMAIL PROTECTED]:5060>
> Call-ID: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> CSeq: 1 INVITE
> Contact: sip:[EMAIL PROTECTED]:5061
> Max-Forwards: 70
> Subject: Performance Test
> Content-Type: application/sdp
> Content-Length:  133
>
> v=0
> o=user1 53655765 2353687637 IN IP4 66.218.0.21 <http://66.218.0.21>
> s=-
> c=IN IP4 66.218.0.21 <http://66.218.0.21>
> t=0 0
> m=audio 6000 RTP/AVP 0
> a=rtpmap:0 PCMU/8000
>
> ----------------------------------------------- 2006-08-31 13:24:20
> UDP message received [382] bytes :
>
> SIP/2.0 404 Not Found
> Via: SIP/2.0/UDP 66.218.0.21:5061 
> <http://66.218.0.21:5061>;branch=z9hG4bK-1-0;received=66.218.0.21 
> <http://66.218.0.21>
> From: sipp <sip:[EMAIL PROTECTED]:5061>;tag=1
> To: sut <sip:[EMAIL PROTECTED]:5060>;tag=as16725868
> Call-ID: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> CSeq: 1 INVITE
> User-Agent: AsterDev
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Contact: <sip:[EMAIL PROTECTED] <mailto:sip:[EMAIL PROTECTED]>>
> Content-Length: 0
>
>
> ----------------------------------------------- 2006-08-31 13:24:20
> UDP message sent:
>
> INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
> Via: SIP/2.0/UDP 66.218.0.21:5061 <http://66.218.0.21:5061> 
> ;branch=z9hG4bK-2-0
> From: sipp <sip:[EMAIL PROTECTED]:5061>;tag=2
> To: sut <sip:[EMAIL PROTECTED]:5060>
> Call-ID: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> CSeq: 1 INVITE
> Contact: sip:[EMAIL PROTECTED] :5061
> Max-Forwards: 70
> Subject: Performance Test
> Content-Type: application/sdp
> Content-Length:  133
>
> v=0
> o=user1 53655765 2353687637 IN IP4 66.218.0.21 <http://66.218.0.21>
> s=-
> c=IN IP4 66.218.0.21 <http://66.218.0.21>
> t=0 0
> m=audio 6000 RTP/AVP 0
> a=rtpmap:0 PCMU/8000
>
>
>
> <.....this continues for awhile>
>
> And here's some debug from Asterisk:
>
> <-- SIP read from 66.218.0.21:5061 <http://66.218.0.21:5061>:
> INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
> Via: SIP/2.0/UDP 66.218.0.21:5061 
> <http://66.218.0.21:5061>;branch=z9hG4bK-2-0
> From: sipp <sip:[EMAIL PROTECTED] :5061>;tag=2
> To: sut <sip:[EMAIL PROTECTED]:5060>
> Call-ID: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> CSeq: 1 INVITE
> Contact: sip:[EMAIL PROTECTED]:5061
> Max-Forwards: 70
> Subject: Performance Test
> Content-Type: application/sdp
> Content-Length:  133
>
> v=0
> o=user1 53655765 2353687637 IN IP4 66.218.0.21 <http://66.218.0.21>
> s=-
> c=IN IP4 66.218.0.21 <http://66.218.0.21>
> t=0 0
> m=audio 6000 RTP/AVP 0
> a=rtpmap:0 PCMU/8000
>
> --- (11 headers 7 lines)---
> Ignoring this INVITE request
> Retransmitting #1 (no NAT) to 66.218.0.21:5061 <http://66.218.0.21:5061>:
> SIP/2.0 404 Not Found
> Via: SIP/2.0/UDP 66.218.0.21:5061 
> <http://66.218.0.21:5061>;branch=z9hG4bK-1-0;received=66.218.0.21 
> <http://66.218.0.21>
> From: sipp <sip:[EMAIL PROTECTED]:5061>;tag=1
> To: sut <sip:[EMAIL PROTECTED] :5060>;tag=as16725868
> Call-ID: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> CSeq: 1 INVITE
> User-Agent: AsterDev
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Contact: < sip:[EMAIL PROTECTED] <mailto:sip:[EMAIL PROTECTED]>>
> Content-Length: 0
>
>
If you are using the embedded "uac scenario", then SIPp will try to send 
an ACK to any unexpected 404 (4xx or 5xx actually). So what you are see 
is unexpected :)
Can you make a network capture with Ethereal/Wireshark and send the result?

Olivier.

-------------------------------------------------------------------------
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

Reply via email to