Hi, I have provider.xml on /usr/local/freeswitch/conf/directory/default <include> <user id="inphonex"> <gateways> <gateway name="inphonex"> <param name="username" value="3462101"/> <param name="realm" value="sip.varphonex.com"/> <param name="password" value="606434"/> <param name="proxy" value="sip.varphonex.com"/> <param name="register" value="true"/> <param name="expire-seconds" value="3600"/> </gateway> </gateways> <params> <param name="password" value="606434"/> </params> </user> </include> but when I <mailto:freeswitch@maui> freeswitch@maui> sofia status gateway inphonex API CALL [sofia(status gateway inphonex)] output: Invalid Gateway! When I start FS I get this in the console 2008-09-04 09:50:04 [WARNING] switch_core.c:851 switch_load_network_lists() Cannot locate domain 192.168.1.117 Not sure if it could be related. Any help will be appreciated. thanks Jair Santos
Open up conf/sip_profiles/external.xml and check this section: <domains> <domain name="$${domain}" parse="true"/> </domains> Make sure either you put the domain to parse in there so that profile will scan that domain and register any gateways. /b On Sep 4, 2008, at 12:50 PM, Jair Santos wrote:
Hi,
I have provider.xml on /usr/local/freeswitch/conf/directory/default
<include> <user id="inphonex"> <gateways> <gateway name="inphonex"> <param name="username" value="3462101"/> <param name="realm" value="sip.varphonex.com"/> <param name="password" value="606434"/> <param name="proxy" value="sip.varphonex.com"/> <param name="register" value="true"/> <param name="expire-seconds" value="3600"/> </gateway> </gateways> <params> <param name="password" value="606434"/> </params> </user> </include>
but when I
freeswitch@maui> sofia status gateway inphonex API CALL [sofia(status gateway inphonex)] output: Invalid Gateway!
When I start FS I get this in the console
2008-09-04 09:50:04 [WARNING] switch_core.c:851 switch_load_network_lists() Cannot locate domain 192.168.1.117 Not sure if it could be related.
Any help will be appreciated.
thanks
Jair Santos
_______________________________________________ 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 West sip:brian@freeswitch.org
Yes, my external.xml contains <domains> <domain name="$${domain}" parse="true"/> </domains> thanks Jair Santos -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, September 04, 2008 11:06 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Gateway not registered Open up conf/sip_profiles/external.xml and check this section: <domains> <domain name="$${domain}" parse="true"/> </domains> Make sure either you put the domain to parse in there so that profile will scan that domain and register any gateways. /b On Sep 4, 2008, at 12:50 PM, Jair Santos wrote: Hi, I have provider.xml on /usr/local/freeswitch/conf/directory/default <include> <user id="inphonex"> <gateways> <gateway name="inphonex"> <param name="username" value="3462101"/> <param name="realm" value="sip.varphonex.com"/> <param name="password" value="606434"/> <param name="proxy" value="sip.varphonex.com"/> <param name="register" value="true"/> <param name="expire-seconds" value="3600"/> </gateway> </gateways> <params> <param name="password" value="606434"/> </params> </user> </include> but when I <mailto:freeswitch@maui> freeswitch@maui> sofia status gateway inphonex API CALL [sofia(status gateway inphonex)] output: Invalid Gateway! When I start FS I get this in the console 2008-09-04 09:50:04 [WARNING] switch_core.c:851 switch_load_network_lists() Cannot locate domain 192.168.1.117 Not sure if it could be related. Any help will be appreciated. thanks Jair Santos _______________________________________________ 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 West sip:brian@freeswitch.org
freeswitch@maui> sofia status API CALL [sofia(status)] output: Name Type Data State ============================================================================ ===================== internal profile sip:mod_sofia@192.168.1.117:5060 RUNNING (0) nat profile sip:mod_sofia@24.67.78.200:5070 RUNNING (0) default alias internal ALIASED external profile sip:mod_sofia@24.67.78.200:5080 RUNNING (0) 192.168.1.117 alias internal ALIASED outbound alias external ALIASED ============================================================================ ===================== -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, September 04, 2008 11:23 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Gateway not registered show me sofia status /b On Sep 4, 2008, at 1:17 PM, Jair Santos wrote: $${domain} Brian West sip:brian@freeswitch.org
I had this in my /usr/local/freeswitch/conf/directory/defaul.xml <domain name="voipclic.com"> I changed to this <domain name="$${domain}"> and the gateway registered. I want to have the domain voipclic.com to configure all devices. How can I do that ? thanks Jair Santos -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, September 04, 2008 11:23 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Gateway not registered show me sofia status /b On Sep 4, 2008, at 1:17 PM, Jair Santos wrote: $${domain} Brian West sip:brian@freeswitch.org
Yes . And if I removed from directory/defaul.xml it won't be recognized. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, September 04, 2008 11:43 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Gateway not registered Input voipclic.com into the device as the registrar and proxy? /b On Sep 4, 2008, at 1:38 PM, Jair Santos wrote: I want to have the domain voipclic.com to configure all devices. How can I do that ? Brian West sip:brian@freeswitch.org
yah you leave it there... but when a device registers to you they need to ahve that in their configs for the domain/proxy they register with... / b On Sep 4, 2008, at 1:46 PM, Jair Santos wrote:
Yes .
And if I removed from directory/defaul.xml it won't be recognized.
Brian West sip:brian@freeswitch.org
Yes, I know that. But if I leave it there the gateway does not register. Jair -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, September 04, 2008 11:55 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Gateway not registered yah you leave it there... but when a device registers to you they need to ahve that in their configs for the domain/proxy they register with... / b On Sep 4, 2008, at 1:46 PM, Jair Santos wrote: Yes . And if I removed from directory/defaul.xml it won't be recognized. Brian West sip:brian@freeswitch.org
participants (2)
-
Brian West
-
Jair Santos