Looking at the pcap, the reply from the proxy is coming back to a different
port to that from whuich you send the initial subscribe, which is why your
script does not see it.
Looking at the initial subscribe, there are mistakes in two fields that I'd
expect to cause problems:
Request-Line: SUBSCRIBE sip:102@192.168.220.1@5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.220.128:192.168.220.128;rport:branch=z9hG4bK-4449-1-0
These should look more like:
Request-Line: SUBSCRIBE sip:102@192.168.220.1:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.220.128:5060;rport:branch=z9hG4bK-4449-1-0
or in your script, change:
SUBSCRIBE sip:102@[remote_ip]@[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_ip];rport:branch=[branch]
to
SUBSCRIBE sip:102@[remote_ip]:[remote_port] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport:branch=[branch]
Matt Briggs
Test Engineer
Mobile: ###
www.telecom.co.nz
________________________________________
From: vinod kunchanur [kuncha...@gmail.com]
Sent: Tuesday, 5 June 2012 11:36 p.m.
To: sipp-users
Subject: [Sipp-users] help regarding subssribe and notify
Hi All,
I wrote one scenario of SUBSCRIBE/NOTIFY in my SIPp.
subscribe----------->
200 <----------------
Notify <-------------
200------------------>
But i got an error of 407
So, i altered the scenario as,
subscribe----------->
407 <----------------
Ack------------------>
Subscribe------------>
pause(10s)<-------------->
200 <----------------
Notify <-------------
200------------------>
Still i am getting error of 407 continuously.
Please correct me where is the wrong.
I am attaching the xml file, pcap file and screen shots of sipp along
with this mail.
Please, find them in attachment.In xml file local ip-192.168.220.128
and server ip-192.168.220.1
--
*Thanks & Regards
vinod*
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users