i made rtpproxy test in setup where two sip phones have registered the
same AoR test(a)test.fi. one is behind nat and the other is not. when i
call this AoR, my sip proxy executes
rtpproxy_manage("FROW3");
in branch route of the branch that is behind nat.
syslog shows:
Oct 19 15:49:59 siika /usr/sbin/sip-proxy[18596]: INFO: Calling rtpproxy_manage on INVITE
<sip:test@192.168.0.31:5074;transport=tcp>
Oct 19 15:49:59 siika mediaproxy-ng[12832]: Got valid command from udp:127.0.0.1:48714:
18596_16 US ptonjivixvatrhz(a)siika.tutpro.com;z9hG4bKqxklorkm 192.98.103.10 8000 wnzdf;1
Oct 19 15:49:59 siika mediaproxy-ng[12832]: [ptonjivixvatrhz(a)siika.tutpro.com] Creating
new call
Oct 19 15:49:59 siika mediaproxy-ng[12832]: [ptonjivixvatrhz(a)siika.tutpro.com -
z9hG4bKqxklorkm] Opened ports 50104/50105 for RTP
Oct 19 15:49:59 siika mediaproxy-ng[12832]: [ptonjivixvatrhz(a)siika.tutpro.com -
z9hG4bKqxklorkm] Opened ports 50106/50107 for RTP
Oct 19 15:49:59 siika mediaproxy-ng[12832]: [ptonjivixvatrhz(a)siika.tutpro.com -
z9hG4bKqxklorkm] Returning to SIP proxy: 18596_16 50104 192.98.103.10 4
then the uas hehind nat replies with 480 and sip proxy executes in
onreply route
rtpproxy_manage("FROW3");
that fails and i get to syslog:
Oct 19 15:50:15 siika mediaproxy-ng[12832]: Got valid command from udp:127.0.0.1:56183:
18594_12 D ptonjivixvatrhz(a)siika.tutpro.com;z9hG4bKqxklorkm wnzdf shsqn
Oct 19 15:50:15 siika mediaproxy-ng[12832]: [ptonjivixvatrhz(a)siika.tutpro.com] Tags
didn't match for delete message, ignoring
looks like this mismatch is due to the missing ";1" in from tag param
that was there when rtpproxy_manage was executed on invite.
if my theory is correct, why is ";1" missing? if not correct, what did
i do wrong?
-- juha