Sipp auth with freeswitch
Hello! I am trying to do some load tests using Sipp with an authentication scenario. I can stablish one call using sipp as UAC but I receive continuously 407 SIP messages requiring authenticate. I've got one tcpdump capture: |Time | 192.168.2.230 | | | | 192.168.2.235 | |0,000 | INVITE SDP ( g711U) |SIP From: sip:sipp@192.168.2.230:5061 To:sip:9999@192.168.2.235:5060 | |(5061) ------------------> (5060) | |0,001 | 100 Trying| |SIP Status | |(5061) <------------------ (5060) | |0,021 | 407 Proxy Authentication Required |SIP Status | |(5061) <------------------ (5060) | |0,022 | ACK | |SIP Request | |(5061) ------------------> (5060) | |0,023 | INVITE SDP ( g711U) |SIP From: sip:sipp@192.168.2.230:5061 To:sip:9999@192.168.2.235:5060 | |(5061) ------------------> (5060) | |0,024 | 100 Trying| |SIP Status | |(5061) <------------------ (5060) | |0,190 | 200 OK SDP ( g711U telephone-event) |SIP Status | |(5061) <------------------ (5060) | |0,190 | ACK | |SIP Request | |(5061) ------------------> (5060) | |0,191 | RTP (g711A) |RTP Num packets:236 Duration:7.051s SSRC:0xDEE0EE8F | |(6000) ------------------> (2645) | |0,194 | RTP (g711U) |RTP Num packets:611 Duration:12.199s SSRC:0x5594757F | |(6000) <------------------ (26456) | |0,194 | RTP (g711U) |RTP Num packets:611 Duration:12.200s SSRC:0x5594757F | |(6000) ------------------> (26456) | |0,523 | 407 Proxy Authentication Required |SIP Status | |(5061) <------------------ (5060) | |0,525 | ACK | |SIP Request | |(5061) ------------------> (5060) | |1,524 | 407 Proxy Authentication Required |SIP Status | |(5061) <------------------ (5060) | |1,524 | ACK | |SIP Request | |(5061) ------------------> (5060) | |3,524 | 407 Proxy Authentication Required |SIP Status | |(5061) <------------------ (5060) | |3,524 | ACK | |SIP Request | |(5061) ------------------> (5060) | |7,524 | 407 Proxy Authentication Required |SIP Status | |(5061) <------------------ (5060) | |7,524 | ACK | |SIP Request | |(5061) ------------------> (5060) | |10,193 | BYE | |SIP Request | |(5061) ------------------> (5060) | |10,194 | 481 Call Does Not Exist |SIP Status | |(5061) <------------------ (5060) | |10,196 | BYE | |SIP Request | |(5061) ------------------> (5060) | |10,197 | 481 Call Does Not Exist |SIP Status | |(5061) <------------------ (5060) | |11,529 | 407 Proxy Authentication Required |SIP Status | |(5061) <------------------ (5060) | I respond with a new INVITE to first 407 received and RTP channels get connected but one and other 407 messages arrives during call and when I try to send BYE FS tells that call does not exists. 407 messages referes to first INVITE (Cseq=1). Any idea where the problem is? Regards
That tells me your SIPP scenario is wrong. /b On Jul 16, 2010, at 10:57 AM, Juan Antonio Ibañez Santorum wrote:
I respond with a new INVITE to first 407 received and RTP channels get connected but one and other 407 messages arrives during call and when I try to send BYE FS tells that call does not exists. 407 messages referes to first INVITE (Cseq=1). Any idea where the problem is?
Regards
Do you have any reference of xml scenario working with auth calls? Regards 2010/7/16 Brian West <brian@freeswitch.org>
That tells me your SIPP scenario is wrong.
/b
On Jul 16, 2010, at 10:57 AM, Juan Antonio Ibañez Santorum wrote:
I respond with a new INVITE to first 407 received and RTP channels get
connected but one and other 407 messages arrives during call and when I try to send BYE FS tells that call does not exists. 407 messages referes to first INVITE (Cseq=1). Any idea where the problem is?
Regards
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2010/7/16 Juan Antonio Ibañez Santorum <juanito1982@gmail.com>
Do you have any reference of xml scenario working with auth calls?
Start with the information here: http://wiki.freeswitch.org/wiki/Load_testing#Load_testing -MC
I'd like doing test using authentication if possible... uac.xml from those examples does not cover this :( Regards 2010/7/16 Michael Collins <msc@freeswitch.org>
2010/7/16 Juan Antonio Ibañez Santorum <juanito1982@gmail.com>
Do you have any reference of xml scenario working with auth calls?
Start with the information here: http://wiki.freeswitch.org/wiki/Load_testing#Load_testing
-MC
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
2010/7/16 Juan Antonio Ibañez Santorum <juanito1982@gmail.com>
I'd like doing test using authentication if possible... uac.xml from those examples does not cover this :(
How familiar are you with the sipp scenario files? This page has some hints: http://sipp.sourceforge.net/doc/reference.html#SIP+authentication -MC
2010/7/17 Juan Antonio Ibañez Santorum <juanito1982@gmail.com>
I'd like doing test using authentication if possible... uac.xml from those examples does not cover this :(
You should read a little more about SIPp before using it. The documentation is concise and clear: http://sipp.sourceforge.net/doc/reference.html You will get faster results if you don't have to wait for responses for simple questions like this (and actually, this is not the proper forum for the inquiry). I have answered recently a question in the sipp-users forum about this same problem (server responding with 407 all the time). You might want to take a look at the discussion as I have provided a corrected version of an auth scenario and the OP said it was working so you could adapt it to your needs: http://www.mail-archive.com/sipp-users@lists.sourceforge.net/msg04730.html
Thank you very much! It was a problem with the branch parameter. FS was not able to relation messages with call. Regards 2010/7/17 mayamatakeshi <mayamatakeshi@gmail.com>
2010/7/17 Juan Antonio Ibañez Santorum <juanito1982@gmail.com>
I'd like doing test using authentication if possible... uac.xml from those
examples does not cover this :(
You should read a little more about SIPp before using it. The documentation is concise and clear:
http://sipp.sourceforge.net/doc/reference.html You will get faster results if you don't have to wait for responses for simple questions like this (and actually, this is not the proper forum for the inquiry).
I have answered recently a question in the sipp-users forum about this same problem (server responding with 407 all the time). You might want to take a look at the discussion as I have provided a corrected version of an auth scenario and the OP said it was working so you could adapt it to your needs:
http://www.mail-archive.com/sipp-users@lists.sourceforge.net/msg04730.html
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Brian West
-
Juan Antonio Ibañez Santorum
-
mayamatakeshi
-
Michael Collins