[Freeswitch-users] [freeswitch-users] Gateway in Directory Loaded via xml curl

2009-12-17 Thread Paulo Vicentini

Hi,I am trying to define Gateways (for inbound and outbound calls via SIP 
provider) within Directory (under "internal" sample profile) using XML CURLBut 
I am getting this warning:2009-12-17 14:42:03.294519 [WARNING] sofia_reg.c:2115 
Gateway 'MyGW' not found.
And
sofia status gateway MyGWAPI CALL [sofia(status gateway MyGW)] output:Invalid 
Gateway!

This is my configuration (overlook language details )
""+ ""+ ""+   ""+   ""+   " 
"+""+  ""+   ""+""+  
""+ ""+""+ ""+""+
   ""+""+   ""+""+  ""+""+""+   ""+ ""+  ""+
""+   "";
User id "test" is able to register and call other internal users  
In my sip_profiles/internal.xml I have:


Can you help me with this issue?
Thank youPaulo
  
_
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010___
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


Re: [Freeswitch-users] [freeswitch-users] Gateway in Directory Loaded via xml curl

2009-12-17 Thread Brian West
I'm going to guess you removed these lines from your profile:

   

 

  

parse=true causes the profile to parse the domain looking for gateways and 
register them..

/b

On Dec 17, 2009, at 11:18 AM, Paulo Vicentini wrote:

> Hi,
> I am trying to define Gateways (for inbound and outbound calls via SIP 
> provider) within Directory (under "internal" sample profile) using XML CURL
> But I am getting this warning:
> 2009-12-17 14:42:03.294519 [WARNING] sofia_reg.c:2115 Gateway 'MyGW' not 
> found.
> 
> And
> 
> sofia status gateway MyGW
> API CALL [sofia(status gateway MyGW)] output:
> Invalid Gateway!
> 
> 
> This is my configuration (overlook language details )
> 
> ""+
>   ""+
>   ""+   
>   ""+
>   ""+
>" "+
> ""+
> ""+
> ""+
> ""+
>   ""+
>  ""+
>   ""+
>   ""+
>   " value=\"{presence_id=${dialed_us...@${dialed_domain}}${sofia_contact(${dialed_us...@${dialed_domain})}\"/>"+
>   ""+
>   
>   ""+
>""+
>   
>   ""+
>   ""+
>   ""+
>   ""+
>   ""+
>   ""+
>   ""+
>   ""+
>   "";
> 
> User id "test" is able to register and call other internal users  
> 
> In my sip_profiles/internal.xml I have:
> 
> 
> 
> 
> 
> 
> 
> Can you help me with this issue?
> 
> Thank you
> Paulo
> 
> 
> Keep your friends updated— even when you’re not signed in. 
> ___
> 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

___
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


Re: [Freeswitch-users] [freeswitch-users] Gateway in Directory Loaded via xml curl

2009-12-17 Thread Paulo Vicentini

Hi,FS was sending (while loading modules) such request:  [purpose] => gateways 
But I was not  aware of that...so that I am replying FS with my Gateways now...
But now I am wondering...suppose I have 1000 domains and two different gateways 
per domain (2K Gateways) Should I reply FS request with such huge XML on 
startup?

Thanks for your backings
PauloFrom: br...@freeswitch.org
Date: Thu, 17 Dec 2009 11:44:15 -0600
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] [freeswitch-users] Gateway in Directory Loaded 
via xml curl



I'm going to guess you removed these lines from your profile:
   

 

  
parse=true causes the profile to parse the domain looking for gateways and 
register them..
/b
On Dec 17, 2009, at 11:18 AM, Paulo Vicentini wrote:Hi,I am trying to define 
Gateways (for inbound and outbound calls via SIP provider) within Directory 
(under "internal" sample profile) using XML CURLBut I am getting this 
warning:2009-12-17 14:42:03.294519 [WARNING] sofia_reg.c:2115 Gateway 'MyGW' 
not found.
And
sofia status gateway MyGWAPI CALL [sofia(status gateway MyGW)] output:Invalid 
Gateway!

This is my configuration (overlook language details )
""+ ""+ ""+   ""+   ""+   " 
"+""+  ""+   ""+""+  
""+ ""+""+ ""+""+
   ""+""+   ""+""+  ""+""+""+   ""+ ""+  ""+
""+   "";
User id "test" is able to register and call other internal users  
In my sip_profiles/internal.xml I have:


Can you help me with this issue?
Thank youPaulo

Keep your friends updated— even when you’re not signed in. 
___
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

  
_
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010___
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


Re: [Freeswitch-users] [freeswitch-users] Gateway in Directory Loaded via xml curl

2009-12-17 Thread Brian West
In your case don't store them in the domain put them in the gateways tags on 
the profile directly.

/b

On Dec 17, 2009, at 2:46 PM, Paulo Vicentini wrote:

> Hi,
> FS was sending (while loading modules) such request:  [purpose] => gateways 
> But I was not  aware of that...so that I am replying FS with my Gateways 
> now...
> 
> But now I am wondering...suppose I have 1000 domains and two different 
> gateways per domain (2K Gateways) 
> Should I reply FS request with such huge XML on startup?
> 
> 
> Thanks for your backings
> 
> Paulo

___
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