Hi I got two 7941 ip phones connected to freeswitch (ip phone)192.168.22.57 -> 192.168.22.1 -> 192.168.11.30(fs) they can register fine but I can not call from ip phone to ip phone. when I use 3cx softphone in the same conditions I can call from ip phone to 3cx but not from 3cx to ip phone this is result of "sofia status profile internal" and when I get pcap on fs when invite is sent to ip phones nothing comes back Call-ID: 001bd432-a95c0003-942f6b14-17330728@192.168.22.56 User: 1005@192.168.11.30 Contact: "user" <sip:1005@192.168.22.56:5060 ;transport=udp;fs_nat=yes;fs_ path=sip%3A1005%40192.168.22.56%3A49551%3Btransport%3Dudp> Agent: Cisco-CP7941G/8.5.2 Status: Registered(UDP-NAT)(unknown) EXP(2010-05-02 14:11:11) Host: s-efrn2brk8zpcy IP: 192.168.22.56 Port: 49551 Auth-User: 1005 Auth-Realm: 192.168.11.30 MWI-Account: 1005@192.168.11.30 Call-ID: 001bd433-4c190002-d08bed92-50fab18f@192.168.22.57 User: 1010@192.168.11.30 Contact: "user" <sip:1010@192.168.22.57:5060 ;transport=udp;fs_nat=yes;fs_ path=sip%3A1010%40192.168.22.57%3A51471%3Btransport%3Dudp> Agent: Cisco-CP7941G/8.5.2 Status: Registered(UDP-NAT)(unknown) EXP(2010-05-02 12:46:04) Host: s-efrn2brk8zpcy IP: 192.168.22.57 Port: 51471 Auth-User: 1010 Auth-Realm: 192.168.11.30 MWI-Account: 1010@192.168.11.30 Call-ID: MjYzNmQ5YWYyMDkwMDc3M2UxYzY5Y2JkZGE4NTBhZWU. User: 1001@192.168.11.30 Contact: "3CXPhone" <sip:1001@192.168.22.58:3884 ;rinstance=74bf6bb1ef7db1 27;fs_nat=yes;fs_path=sip%3A1001%40192.168.22.58%3A3884%3Brinstance%3D74bf6bb1ef 7db127> Agent: 3CXVoipPhone 4.0.9878.0 Status: Registered(UDP-NAT)(unknown) EXP(2010-05-02 12:45:37) Host: s-efrn2brk8zpcy IP: 192.168.22.58 Port: 3884 Auth-User: 1001 Auth-Realm: 192.168.11.30 MWI-Account: 1001@192.168.11.30
You haven't set the local-network-acl on the profile and if you have ext-rtp-ip and ext-sip-ip set and you're traversing nat also you'll need to prefix them with autonat: /b On May 2, 2010, at 3:22 AM, babak yakhchali wrote:
Hi I got two 7941 ip phones connected to freeswitch (ip phone)192.168.22.57 -> 192.168.22.1 -> 192.168.11.30(fs) they can register fine but I can not call from ip phone to ip phone. when I use 3cx softphone in the same conditions I can call from ip phone to 3cx but not from 3cx to ip phone this is result of "sofia status profile internal" and when I get pcap on fs when invite is sent to ip phones nothing comes back
I'm using the internal profile of 1.0.6 without any changes. and in the file I got: <param name="local-network-acl" value="localnet.auto"/> and <param name="ext-rtp-ip" value="auto-nat"/> <param name="ext-sip-ip" value="auto-nat"/>
You will have to change local-network-acl to include more than just 192.168.11.0/24 Your phones are on 192.168.22.0/24 so the ACL isn't matching please change it to rfc1918.auto /b On May 2, 2010, at 2:37 PM, babak yakhchali wrote:
I'm using the internal profile of 1.0.6 without any changes. and in the file I got: <param name="local-network-acl" value="localnet.auto"/> and <param name="ext-rtp-ip" value="auto-nat"/> <param name="ext-sip-ip" value="auto-nat"/> _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Babak, I think the issue is that the network topology between the phones and FS is not what you think. From FS, if you can ping a phone's IP, it means they are not behind NAT. So you should do what Brian asked, so that FS doesn't think they are behind NAT. David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 02/05/2010 à 21:59, babak yakhchali a écrit :
thanks but what about 3cx soft phones? they are on 192.168.22.0/24 too _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Brian and David Thank u so much for answering my question. my problem is solved. thank u a lot u were right, the problem was with local acl and now it's solved
participants (3)
-
babak yakhchali
-
Brian West
-
David Ponzone