[Users] Problems with one sided audio..

nick nick at mobilia.it
Mon Nov 13 17:26:43 CET 2006


I have a situation where I make a call to a pstn provider, everything 
works correctly on the SIP level, INVITEs, OKs, ACKs and BYEs are all 
passing correctly through my server, but for some reason, I'm unable to 
get audio to work correctly on both sides.

At the moment I'm using Openser 1.1.0 with mediaproxy (and a slightly 
modified openser.cfg based on the mediaproxy one on the openser site, I 
have a some options for accounting and forwarding to the pstn gateway)..

89.x.x.16 is my openser server.

89.x.x.8 is my NAT firewall, which is portforwarding all UDP from 5000 
to 30000 to 192.168.1.67 (my internal machine, with X-Lite).

x.x.x.53 is my PSTN provider's SIP server

x.x.x.3 is my PSTN provider's media server.

this is the SIP dialog:

U 89.x.x.8:26380 -> 89.x.x.16:5060
INVITE sip:00390721111111 at pstnprovider.com SIP/2.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;branch=z9hG4bK-d87543-cb65401207770316-1--d87543-;rport.
Max-Forwards: 70.
Contact: <sip:nick at 89.x.x.8:26380>.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, 
SUBSCRIBE, INFO.
Content-Type: application/sdp.
User-Agent: X-Lite release 1006e stamp 34025.
Content-Length: 261.
.
v=0.
o=- 1 2 IN IP4 192.168.1.67.
s=CounterPath X-Lite 3.0.
c=IN IP4 192.168.1.67.
t=0 0.
m=audio 13234 RTP/AVP 0 98 3 101.
a=alt:1 1 : AtyyaMHs +WwsY5o+ 192.168.1.67 13234.
a=fmtp:101 0-15.
a=rtpmap:98 iLBC/8000.
a=rtpmap:101 telephone-event/8000.
a=sendrecv.

#
U 89.x.x.16:5060 -> 89.x.x.8:26380
SIP/2.0 100 trying -- your call is important to us.
Via: SIP/2.0/UDP 
192.168.1.67:26380;branch=z9hG4bK-d87543-cb65401207770316-1--d87543-;rport=26380;received=89.x.x.8.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 INVITE.
Server: OpenSer (1.1.0-notls (x86_64/linux)).
Content-Length: 0.
Warning: 392 89.x.x.16:5060 "Noisy feedback tells:  pid=27910 
req_src_ip=89.x.x.8 req_src_port=26380 
in_uri=sip:00390721111111 at pstnprovider.com 
out_uri=sip:00390721111111 at x.x.x.53:5060 via_cnt==1".
.

#
U 89.x.x.16:5060 -> x.x.x.53:5060
INVITE sip:00390721111111 at x.x.x.53:5060 SIP/2.0.
Record-Route: <sip:89.x.x.16;lr=on;ftag=173a892a>.
Via: SIP/2.0/UDP 89.x.x.16;branch=z9hG4bK860f.0d8bc646.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-cb65401207770316-1--d87543-;rport=26380.
Max-Forwards: 69.
Contact: <sip:nick at 89.x.x.8:26380>.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, 
SUBSCRIBE, INFO.
Content-Type: application/sdp.
User-Agent: X-Lite release 1006e stamp 34025.
Content-Length: 261.
P-hint: outbound.
.
v=0.
o=- 1 2 IN IP4 192.168.1.67.
s=CounterPath X-Lite 3.0.
c=IN IP4 192.168.1.67.
t=0 0.
m=audio 13234 RTP/AVP 0 98 3 101.
a=alt:1 1 : AtyyaMHs +WwsY5o+ 192.168.1.67 13234.
a=fmtp:101 0-15.
a=rtpmap:98 iLBC/8000.
a=rtpmap:101 telephone-event/8000.
a=sendrecv.

#
U x.x.x.53:5060 -> 89.x.x.16:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 89.x.x.16;branch=z9hG4bK860f.0d8bc646.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-cb65401207770316-1--d87543-;rport=26380.
From: "Nick Warr - Mobilia" <sip:nick at logycs.it>;tag=173a892a.
To: "mobilia" <sip:00390721111111 at pstnprovider.com>.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 INVITE.
Content-Length: 0.
.

#
U 89.x.x.8:26380 -> 89.x.x.16:5060
.
.

#
U x.x.x.53:5060 -> 89.x.x.16:5060
SIP/2.0 180 Ringing.
To: "mobilia" <sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia" <sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 INVITE.
Contact: sip:00390721111111 at x.x.x.53:5060.
Content-Type: application/sdp.
Via: SIP/2.0/UDP 89.x.x.16;branch=z9hG4bK860f.0d8bc646.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-cb65401207770316-1--d87543-;rport=26380.
Content-Length: 220.
.
v=0.
o=fra006nex 1234 21616 IN IP4 x.x.x.3.
s=sip call.
c=IN IP4 x.x.x.3.
t=0 0.
m=audio 5946 RTP/AVP 0 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=sendrecv.
a=maxptime:20.

#
U 89.x.x.16:5060 -> 89.x.x.8:26380
SIP/2.0 180 Ringing.
To: "mobilia" <sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia" <sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 INVITE.
Contact: sip:00390721111111 at x.x.x.53:5060.
Content-Type: application/sdp.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-cb65401207770316-1--d87543-;rport=26380.
Content-Length: 220.
.
v=0.
o=fra006nex 1234 21616 IN IP4 x.x.x.3.
s=sip call.
c=IN IP4 x.x.x.3.
t=0 0.
m=audio 5946 RTP/AVP 0 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=sendrecv.
a=maxptime:20.

#
U x.x.x.53:5060 -> 89.x.x.16:5060
SIP/2.0 200 OK.
To: "mobilia" <sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia" <sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 INVITE.
Contact: sip:00390721111111 at x.x.x.53:5060.
Content-Type: application/sdp.
Via: SIP/2.0/UDP 89.x.x.16;branch=z9hG4bK860f.0d8bc646.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-cb65401207770316-1--d87543-;rport=26380.
Record-Route: <sip:89.x.x.16;lr=on;ftag=173a892a>.
Content-Length: 220.
.
v=0.
o=fra006nex 1234 21616 IN IP4 x.x.x.3.
s=sip call.
c=IN IP4 x.x.x.3.
t=0 0.
m=audio 5946 RTP/AVP 0 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=sendrecv.
a=maxptime:20.

#
U 89.x.x.16:5060 -> 89.x.x.8:26380
SIP/2.0 200 OK.
To: "mobilia" <sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia" <sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 INVITE.
Contact: sip:00390721111111 at x.x.x.53:5060.
Content-Type: application/sdp.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-cb65401207770316-1--d87543-;rport=26380.
Record-Route: <sip:89.x.x.16;lr=on;ftag=173a892a>.
Content-Length: 220.
.
v=0.
o=fra006nex 1234 21616 IN IP4 x.x.x.3.
s=sip call.
c=IN IP4 x.x.x.3.
t=0 0.
m=audio 5946 RTP/AVP 0 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=sendrecv.
a=maxptime:20.

#
U 89.x.x.8:26380 -> 89.x.x.16:5060
ACK sip:00390721111111 at x.x.x.53:5060 SIP/2.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;branch=z9hG4bK-d87543-2f47cb445c504950-1--d87543-;rport.
Max-Forwards: 70.
Route: <sip:89.x.x.16;lr;ftag=173a892a>.
Contact: <sip:nick at 89.x.x.8:26380>.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 ACK.
User-Agent: X-Lite release 1006e stamp 34025.
Content-Length: 0.
.

#
U 89.x.x.16:5060 -> x.x.x.53:5060
ACK sip:00390721111111 at x.x.x.53:5060 SIP/2.0.
Record-Route: <sip:89.x.x.16;lr=on;ftag=173a892a>.
Via: SIP/2.0/UDP 89.x.x.16;branch=z9hG4bK860f.0d8bc646.2.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-2f47cb445c504950-1--d87543-;rport=26380.
Max-Forwards: 69.
Contact: <sip:nick at 89.x.x.8:26380>.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 1 ACK.
User-Agent: X-Lite release 1006e stamp 34025.
Content-Length: 0.
P-hint: rr-enforced.

....
#
U 89.x.x.16:5060 -> 89.x.x.8:26380
....
#
U 89.x.x.8:26380 -> 89.x.x.16:5060
BYE sip:00390721111111 at x.x.x.53:5060 SIP/2.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;branch=z9hG4bK-d87543-31344e58af13955c-1--d87543-;rport.
Max-Forwards: 70.
Route: <sip:89.x.x.16;lr;ftag=173a892a>.
Contact: <sip:nick at 89.x.x.8:26380>.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 2 BYE.
User-Agent: X-Lite release 1006e stamp 34025.
Reason: SIP;description="User Hung Up".
Content-Length: 0.
.

#
U 89.x.x.16:5060 -> x.x.x.53:5060
BYE sip:00390721111111 at x.x.x.53:5060 SIP/2.0.
Record-Route: <sip:89.x.x.16;lr=on;ftag=173a892a>.
Via: SIP/2.0/UDP 89.x.x.16;branch=z9hG4bK560f.bbdde784.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-31344e58af13955c-1--d87543-;rport=26380.
Max-Forwards: 69.
Contact: <sip:nick at 89.x.x.8:26380>.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 2 BYE.
User-Agent: X-Lite release 1006e stamp 34025.
Reason: SIP;description="User Hung Up".
Content-Length: 0.
P-hint: rr-enforced.
.

#
U 89.x.x.8:26380 -> 89.x.x.16:5060
BYE sip:00390721111111 at x.x.x.53:5060 SIP/2.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;branch=z9hG4bK-d87543-31344e58af13955c-1--d87543-;rport.
Max-Forwards: 70.
Route: <sip:89.x.x.16;lr;ftag=173a892a>.
Contact: <sip:nick at 89.x.x.8:26380>.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 2 BYE.
User-Agent: X-Lite release 1006e stamp 34025.
Reason: SIP;description="User Hung Up".
Content-Length: 0.
.

#
U 89.x.x.16:5060 -> x.x.x.53:5060
BYE sip:00390721111111 at x.x.x.53:5060 SIP/2.0.
Record-Route: <sip:89.x.x.16;lr=on;ftag=173a892a>.
Via: SIP/2.0/UDP 89.x.x.16;branch=z9hG4bK560f.bbdde784.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-31344e58af13955c-1--d87543-;rport=26380.
Max-Forwards: 69.
Contact: <sip:nick at 89.x.x.8:26380>.
To: "mobilia"<sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
From: "Nick Warr - Mobilia"<sip:nick at logycs.it>;tag=173a892a.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 2 BYE.
User-Agent: X-Lite release 1006e stamp 34025.
Reason: SIP;description="User Hung Up".
Content-Length: 0.
P-hint: rr-enforced.
.

#
U x.x.x.53:5060 -> 89.x.x.16:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 89.x.x.16;branch=z9hG4bK560f.bbdde784.0.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-31344e58af13955c-1--d87543-;rport=26380.
From: "Nick Warr - Mobilia" <sip:nick at logycs.it>;tag=173a892a.
To: "mobilia" <sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 2 BYE.
Content-Length: 0.
.

#
U 89.x.x.16:5060 -> 89.x.x.8:26380
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 
192.168.1.67:26380;received=89.x.x.8;branch=z9hG4bK-d87543-31344e58af13955c-1--d87543-;rport=26380.
From: "Nick Warr - Mobilia" <sip:nick at logycs.it>;tag=173a892a.
To: "mobilia" <sip:00390721111111 at pstnprovider.com>;tag=3372418527-183443.
Call-ID: N2YyNGJmMjBhZjYwMjY3OWExMmVmYzYyNDhjMTgzNzY..
CSeq: 2 BYE.
Content-Length: 0.
.

#
U 89.x.x.16:5060 -> 89.x.x.8:26380
....
#


Can anyone see something irregular in this dialog?

Or do I need to start beating up my firewall/NAT ?




More information about the Users mailing list