Hi,
I seem to remember reading about this problem before, but couldn't find
any pointers by searching...
On the following setup with Openser 1.1:
UA -> Openser/Mediaproxy -> PSTN-Gateway
most calls pass just fine and cancel fine, but some don't stop properly.
If the UA cancels the call the cancel goes:
gateway ip= 1.2.3.204
proxy ip= 1.2.3.201
ua ip = 81.1.2.223
U 81.1.2.223:5071 -> 1.2.3.201:5060
CANCEL sip:0475711111@sipc.example.com SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.11:5071;branch=z9hG4bK-2f6ae216.
From: 002 <sip:101211111@sipc.example.com>;tag=a27b4fe18ca60f4ao0.
To: <sip:0475711111@sipc.example.com>.
U 1.2.3.201:5060 -> 127.0.0.1:5060
CANCEL sip:0475711111@sipc.example.com SIP/2.0.
Record-Route: <sip:1.2.3.201;lr=on;ftag=a27b4fe18ca60f4ao0>.
Via: SIP/2.0/UDP 1.2.3.201;branch=z9hG4bK7f9f.b68d8185.0.
Via: SIP/2.0/UDP
192.168.1.11:5071;received=81.1.2.223;branch=z9hG4bK-2f6ae216.
From: 002 <sip:101211111@sipc.example.com>;tag=a27b4fe18ca60f4ao0.
To: <sip:0475711111@sipc.example.com>.
I 127.0.0.1 -> 1.2.3.201 3:3
....E..o..@.@...Y............[h.CANCEL sip:0475711111@sipc.example.com
SIP/2.0.
Record-Route: <sip:1.2.3.201;lr=on;ftag=a27b4fe18ca60f4ao0>.
Via: SIP/2.0/UDP 1.2.3.201;branch=z9hG4bK7f9f.b68d8185.0.
Via: SIP/2.0/UDP
192.168.1.11:5071;received=81.1.2.223;branch=z9hG4bK-2f6ae216.
From: 002 <sip:101211111@sipc.example.com>;tag=a27b4fe18ca60f4ao0.
To: <sip:0475711111@sipc.example.com>.
And then it keeps looping between 127.0.0.1 and 1.2.3.201.
For some reason openser sends the CANCEL to the loopback interface instead
of on to the gateway.
Is this a recognizable problem or should I post a full trace and config
file?
Thanks for looking,
Richard.