[Serusers] RTP proxy and Cisco IP phones
Joao Pereira
joao.pereira at fccn.pt
Tue Oct 4 12:39:17 CEST 2005
Theres the ngrep.
The phones try to register, but they cant...in the ngrep theres a "Ok",
but the phones are not registered. SER is not asking for passwords of
login names.
If I comment the "fix_nated_contact" and "force_rport" It registers and
works, but I want to use SER as a proxy.
# ngrep -d eth0 -t port 5060
interface: eth0 (10.0.0.128/255.255.255.128)
U 2005/10/04 11:28:14.037165 10.0.11.243:50558 -> 10.0.0.135:5060
REGISTER sip:10.0.0.135 SIP/2.0..Via: SIP/2.0/UDP
10.0.11.243:5060;branch=z9hG4bK49c6f6d7..From:
<sip:miguel.baptista at 10.0.0.135>;tag=001
4693226d2000462a3a1aa-2f78c071..To:
sip:miguel.baptista at 10.0.0.135..Call-ID:
00146932-26d20002-23b20474-030bb391 at 10.0.11.243..Max-Forward
s: 70..CSeq: 103 REGISTER..User-Agent: Cisco-CP7940G/7.5..Contact:
<sip:miguel.baptista at 10.0.11.243:5060>;+sip.instance="<urn:uuid:000000
00-0000-0000-0000-0014693226d2>"..Content-Length: 0..Expires:
3600....
#
U 2005/10/04 11:28:14.037751 10.0.0.135:5060 -> 10.0.11.243:50558
SIP/2.0 200 OK..Via: SIP/2.0/UDP
10.0.11.243:5060;branch=z9hG4bK49c6f6d7;rport=50558..From:
<sip:miguel.baptista at 10.0.0.135>;tag=00146932
26d2000462a3a1aa-2f78c071..To:
sip:miguel.baptista at 10.0.0.135;tag=7e8373503a5a04513f90bc2f614f3b81.1812..Call-ID:
00146932-26d20002-23b20
474-030bb391 at 10.0.11.243..CSeq: 103 REGISTER..P-NAT-Refresh:
15..Contact: <sip:miguel.baptista at 10.0.11.243:50558>;expires=3600, <sip:migu
el.baptista at 10.0.11.243:50559>;expires=2792..Server: Sip EXpress
router (0.9.0 (i386/linux))..Content-Length: 0....
#
The next ngrep is from a computer with Xlite, It registers and works:
U 2005/10/04 11:34:03.148115 10.0.11.244:5060 -> 10.0.0.135:5060
REGISTER sip:fccn.pt SIP/2.0..Via: SIP/2.0/UDP
10.0.11.244:5060;rport;branch=z9hG4bK8A3365AAD733474F9BD2198CE57DB44C..From:
Luis Guido <s
ip:lguido at fccn.pt>;tag=2399223210..To: Luis Guido
<sip:lguido at fccn.pt>..Contact: "Luis Guido"
<sip:lguido at 10.0.11.244:5060>..Call-ID: A8B
72E15C43B4795A25E61B27030B059 at fccn.pt..CSeq: 59442 REGISTER..Expires:
1800..Max-Forwards: 70..User-Agent: X-Lite release 1103m..Content-L
ength:
0....
#
U 2005/10/04 11:34:03.148691 10.0.0.135:5060 -> 10.0.11.244:5060
SIP/2.0 200 OK..Via: SIP/2.0/UDP
10.0.11.244:5060;rport=5060;branch=z9hG4bK8A3365AAD733474F9BD2198CE57DB44C..From:
Luis Guido <sip:lguido
@fccn.pt>;tag=2399223210..To: Luis Guido
<sip:lguido at fccn.pt>;tag=7e8373503a5a04513f90bc2f614f3b81.922b..Call-ID:
A8B72E15C43B4795A25E61B
27030B059 at fccn.pt..CSeq: 59442 REGISTER..P-NAT-Refresh: 15..Contact:
<sip:lguido at 10.0.11.244:5060>;expires=1800..Server: Sip EXpress rout
er (0.9.0 (i386/linux))..Content-Length:
0....
#
Thanks
Joao Pereira
www.fccn.pt
Klaus Darilion wrote:
> Hi Joao!
>
> You have to provide some network dumps (ngrep port 5060). Otherwise we
> can'T figure out what the problem is.
>
> regards
> klaus
>
> Joao Pereira wrote:
>
>> Hello to all,
>> Im having huge problems connecting Cisco IP phones (7940 and 7960) to
>> my SER.
>> I m using the 7.5 SIP firmware.
>> Before that, all phones (softphones, hardphones,...) worked, but the
>> Ciscos seem to have problems to register and to make calls. The
>> bigger problems are in the RTPproxy part of my ser.cfg.... the Cisco
>> IP phones cant get out of this:
>>
>> if (method=="REGISTER" && nat_uac_test("3")) {
>> fix_nated_contact();
>> log(1, "LOG: ciscos doesnt work with NAThelper \n");
>> force_rport();
>> setflag(2);
>> };
>>
>>
>> The phones dont register with SER when I have "force_rport".
>> The phones cant make calls between them if I have "fix_nated_contact"
>> and "force_rport"
>>
>> If someone could manage to put Cisco IP phones to work with RTPproxy
>> and NAT helper, please give me a hand.
>> Thanks
>> Joao Pereira
>> www.fccn.pt
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>
>
More information about the sr-users
mailing list