Hello, I'm experiencing a bug that I've been working on most of today. I can not call between two SIP phones that register successfully. In order to diagnose it, I have removed my FreeSWITCH server out of the NAT/firewall to try and eliminate any such issues with these things.
Here is how I ran into the issue: 1. Started from sample configs 2. Enabled xml_curl and wrote the associated script to generate XML and had the phones authenticating but was forced to use the IP address of the server as the domain in my directory XML. 3. I tested calls and they worked using this syntax: originate sofia/internal/mythicalbox%205.134.225.20 (the server's ip) sofia/internal/johndoe%205.134.225.20 4. Next to remove the "limit" on using only the IP as the domain for users, I commented out force-register-domain and force-register-db-domain in internal.xml. 5. My phones now register using the correct domain name (i.e. weavver.com) instead of the IP address (205.134.225.20) as the domain. 6. Now the problem... My originate command no longer works using the new syntax: originate sofia/internal/mythicalbox%weavver.comsofia/internal/johndoe% weavver.com The phones do show up as registered when I type "sofia status profile internal": API CALL [sofia(status profile internal)] output: ================================================================================================= Name internal Domain Name N/A DBName sofia_reg_internal Pres Hosts Dialplan XML Context public Challenge Realm auto_from RTP-IP 205.134.225.20 SIP-IP 205.134.225.20 URL sip:mod_so...@205.134.225.20:5060 BIND-URL sip:mod_so...@205.134.225.20:5060 HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS g7...@32000h,g7...@16000h,G722,PCMU,PCMA,GSM TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG false PROXY-MEDIA false AGGRESSIVENAT true STUN-ENABLED true STUN-AUTO-DISABLE false CALLS-IN 9 FAILED-CALLS-IN 3 CALLS-OUT 8 FAILED-CALLS-OUT 18 Registrations: ================================================================================================= Call-ID: ZWQ3NjRhZWI3MDc4ZDhjNTdhZDU2ZGVkM2JmYjg3NTc. User: mythical...@weavver.com Contact: "mythicalbox" <sip:mythical...@64.183.110.250:65438 ;rinstance=e632b810dbf91486;transport=TCP;fs_nat=yes;fs_path=sip%3Amythicalbox%4064.183.110.250%3A65438%3Brinstance%3De632b810dbf91486%3Btransport%3DTCP> Agent: eyeBeam release 1102u stamp 52344 Status: Registered(TCP-NAT)(unknown) EXP(2009-06-30 22:43:47) Host: duck.weavver.com IP: 64.183.110.250 Port: 65438 Auth-User: mythicalbox Auth-Realm: weavver.com Call-ID: Y2E0NWZiZWZjOTYxYjVhNmQ5ZDkyMzJjMzUxYWM0ZGM. User: john...@weavver.com Contact: "johndoe" <sip:john...@64.183.110.250:65512 ;rinstance=ce0823faf2aba98a;transport=TCP;fs_nat=yes;fs_path=sip%3Ajohndoe%4064.183.110.250%3A65512%3Brinstance%3Dce0823faf2aba98a%3Btransport%3DTCP> Agent: eyeBeam release 1102u stamp 52344 Status: Registered(TCP-NAT)(unknown) EXP(2009-06-30 22:47:37) Host: duck.weavver.com IP: 64.183.110.250 Port: 65512 Auth-User: johndoe Auth-Realm: weavver.com ================================================================================================= FYI, FreeSWITCH is on a public IP address on the 'nets and the phones are behind the same firewall on a different public IP address on the internet. Thank you in advance for any help! :) -- Mitchel Constantin Weavver, Inc.
_______________________________________________ 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