Efectively it was an issue with FW. I've setup my
kamailio to listen on
5060 and 5062.
Now I can call media server and my extensions can receive / make local
calls respectively.
The issue now is that I've got my SIP PSTN gateway that try to reach our
server on port 5060 and this gateway listen on 5060 too.
It shouldn't be a problem because Kamailio listen
over 5060 and 5062 but
unfortunately doesn't work and send me back a 404 error code.
for sure the 4040 is not cause by using a different port. Seems like
your config is not complete yet.
regards
klaus
I use the same configuration as before just add two "listen" line
Best regards
2011/1/19 Klaus Darilion <klaus.mailinglists(a)pernau.at
<mailto:klaus.mailinglists@pernau.at>>
With this trace I do not see a problem regarding your previous post
"SL local ACK found -> dropping it! error"
But for sure you have a problem as the incoming INVITE is malformed.
Either Bria iPhone is buggy or there is a FW/ALG device which
rewrites the SIP packet (IP addresses) and does it in a wrong way
(same old story with ALG).
To verify if the problem is due to an buggy ALG you could try to
start the SIP proxy on a different port, .e.g 45671 - whatever you
like - anc configure Bria to use this port.
regards
klaus
Am 19.01.2011 15:20, schrieb Sébastien Cramatte:
Hello
This is trace I've obtained when call through nated wifi device
(iPHone
4+ Bria SIP client).
I've replaced client address by xx.xx.xx.xx and server address bt
yy.yy.yy.yy
I've attached my current configuration
Thank you for your help
Bye
-----
#
U 2011/01/19 15:11:46.498804 xx.xx.xx.xx:59240 -> yy.yy.yy.yy:5060
#
U 2011/01/19 15:11:47.735309 xx.xx.xx.xx:59240 -> yy.yy.yy.yy:5060
REGISTER
sip:sip.mydomain.com <http://sip.mydomain.com> SIP/2.0
Via: SIP/2.0/UDP
xx.xx.xx.xx:59240;rport;branch=z9hG4bKPj5nQlnpOAF3aeP2db4XDMX7lXklIMEBq9
Max-Forwards: 70
From: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=b8lChOc4K4maceQRSrsMgOLy-OGO.FKe
To: "868973396" <sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>
Call-ID: xFmpKcSPhqITQTbCXdfvNe5D-Gkss9rR
CSeq: 17448 REGISTER
User-Agent: Bria iPhone 1.2.6
Contact: <sip:868973396@xx.xx.xx.xx:59240;transport=UDP>
Expires: 900
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY,
REFER, MESSAGE, OPTIONS
Content-Length: 0
#
U 2011/01/19 15:11:47.735976 yy.yy.yy.yy:5060 -> xx.xx.xx.xx:59240
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP
xx.xx.xx.xx:59240;rport=59240;branch=z9hG4bKPj5nQlnpOAF3aeP2db4XDMX7lXklIMEBq9
From: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=b8lChOc4K4maceQRSrsMgOLy-OGO.FKe
To: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=8835075c631d8d3f40c2f41ff9a205b5.8b69
Call-ID: xFmpKcSPhqITQTbCXdfvNe5D-Gkss9rR
CSeq: 17448 REGISTER
WWW-Authenticate: Digest
realm="sip.mydomain.com
<http://sip.mydomain.com>",
nonce="TTbyTk028SLrerBFAyFR2EylGU058Msj"
Server: kamailio (3.1.1 (i386/linux))
Content-Length: 0
#
U 2011/01/19 15:11:47.760981 xx.xx.xx.xx:59240 -> yy.yy.yy.yy:5060
REGISTER
sip:sip.mydomain.com <http://sip.mydomain.com> SIP/2.0
Via: SIP/2.0/UDP
xx.xx.xx.xx:59240;rport;branch=z9hG4bKPjBpuaWjJ6XgI.1BsotT1EnTGOkOhp3anf
Max-Forwards: 70
From: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=b8lChOc4K4maceQRSrsMgOLy-OGO.FKe
To: "868973396" <sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>
Call-ID: xFmpKcSPhqITQTbCXdfvNe5D-Gkss9rR
CSeq: 17449 REGISTER
User-Agent: Bria iPhone 1.2.6
Contact: <sip:868973396@xx.xx.xx.xx:59240;transport=UDP>
Expires: 900
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY,
REFER, MESSAGE, OPTIONS
Authorization: Digest username="868973396",
realm="sip.mydomain.com <http://sip.mydomain.com>",
nonce="TTbyTk028SLrerBFAyFR2EylGU058Msj",
uri="sip:sip.mydomain.com <http://sip.mydomain.com>",
response="842919b2224fd20c24aa5ae69b0d4613"
Content-Length: 0
#
U 2011/01/19 15:11:47.762107 yy.yy.yy.yy:5060 -> xx.xx.xx.xx:59240
SIP/2.0 200 OK
Via: SIP/2.0/UDP
xx.xx.xx.xx:59240;rport=59240;branch=z9hG4bKPjBpuaWjJ6XgI.1BsotT1EnTGOkOhp3anf
From: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=b8lChOc4K4maceQRSrsMgOLy-OGO.FKe
To: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=8835075c631d8d3f40c2f41ff9a205b5.9fed
Call-ID: xFmpKcSPhqITQTbCXdfvNe5D-Gkss9rR
CSeq: 17449 REGISTER
Contact: <sip:868973396@xx.xx.xx.xx:59240;transport=UDP>;expires=900
Server: kamailio (3.1.1 (i386/linux))
Content-Length: 0
#
U 2011/01/19 15:11:59.238572 xx.xx.xx.xx:59240 -> yy.yy.yy.yy:5060
INVITE sip:968292965@sip.mydomain.com
<mailto:sip%3A968292965@sip.mydomain.com> SIP/2.0
Via: SIP/2.0/UDP
xx.xx.xx.xx:59240;rport;branch=z9hG4bKPjaa3y8TXTaYJusIt6nlPZjxhYE-jUjF.3
Max-Forwards: 70
From: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=-UefKKuveNkOCFE.xB92pX2UnKf5rhjl
To: <sip:968292965@sip.mydomain.com
<mailto:sip%3A968292965@sip.mydomain.com>>
Contact: <sip:868973396@xx.xx.xx.xx:59240;transport=UDP>
Call-ID: dNwBacVsX7T-FxVNaYojW5-NSCBFa29t
CSeq: 332 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY,
REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
User-Agent: Bria iPhone 1.2.6
Content-Type: application/sdp
Content-Length: 387
v=0
o=- 3504435157 3504435157 IN IP4 xx.xx.xx.xx
s=cpc_med
c=IN IP4 xx.xx.xx.xx
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 9 0 8 18 104 3 96
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:104 iLBC/8000
a=fmtp:104 mode=30
a=rtpmap:3 GSM/8000
a=sendrecv
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
#
U 2011/01/19 15:11:59.239056 yy.yy.yy.yy:5060 -> xx.xx.xx.xx:59240
SIP/2.0 400 Content-Length mis-match
Via: SIP/2.0/UDP
xx.xx.xx.xx:59240;rport=59240;branch=z9hG4bKPjaa3y8TXTaYJusIt6nlPZjxhYE-jUjF.3
From: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=-UefKKuveNkOCFE.xB92pX2UnKf5rhjl
To:
<sip:968292965@sip.mydomain.com
<mailto:sip%3A968292965@sip.mydomain.com>>;tag=8835075c631d8d3f40c2f41ff9a205b5.2206
Call-ID: dNwBacVsX7T-FxVNaYojW5-NSCBFa29t
CSeq: 332 INVITE
Server: kamailio (3.1.1 (i386/linux))
Content-Length: 0
#
U 2011/01/19 15:11:59.279614 xx.xx.xx.xx:59240 -> yy.yy.yy.yy:5060
ACK sip:968292965@sip.mydomain.com
<mailto:sip%3A968292965@sip.mydomain.com> SIP/2.0
Via: SIP/2.0/UDP
xx.xx.xx.xx:59240;rport;branch=z9hG4bKPjaa3y8TXTaYJusIt6nlPZjxhYE-jUjF.3
Max-Forwards: 70
From: "868973396"
<sip:868973396@sip.mydomain.com
<mailto:sip%3A868973396@sip.mydomain.com>>;tag=-UefKKuveNkOCFE.xB92pX2UnKf5rhjl
To:
<sip:968292965@sip.mydomain.com
<mailto:sip%3A968292965@sip.mydomain.com>>;tag=8835075c631d8d3f40c2f41ff9a205b5.2206
Call-ID: dNwBacVsX7T-FxVNaYojW5-NSCBFa29t
CSeq: 332 ACK
Content-Length: 0