Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Outbound call - choose profile


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
regs at kinetix.gr
Guest





PostPosted: Fri Jan 16, 2009 7:55 am    Post subject: [Freeswitch-users] Outbound call - choose profile Reply with quote

When I am using the following method to place a call from the dialplan :

sofia/gateway/<gateway>/<number_to_dial>

how do I tell FS which profile to use (as in the
sofia/<profile>/<extension> method?)

I am asking that because all my calls to my declared <gateways> use the
5080 port,
and I want them to use the 5060 port. Is there a way to configure a
<gateway> to use
a specific profile when making outbound calls?

--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr
-------------------------------------------


_______________________________________________
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
Back to top
intralanman at freeswi...
Guest





PostPosted: Fri Jan 16, 2009 9:37 am    Post subject: [Freeswitch-users] Outbound call - choose profile Reply with quote

Apostolos Pantsiopoulos wrote:
Quote:
When I am using the following method to place a call from the dialplan :

sofia/gateway/<gateway>/<number_to_dial>

how do I tell FS which profile to use (as in the
sofia/<profile>/<extension> method?)

I am asking that because all my calls to my declared <gateways> use the
5080 port,
and I want them to use the 5060 port. Is there a way to configure a
<gateway> to use
a specific profile when making outbound calls?


the gateway should always use the profile from which it was included.
so, for instance, if you include gw1 from internal.xml, then gw1 should
always use the internal profile

-Ray

_______________________________________________
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
Back to top
regs at kinetix.gr
Guest





PostPosted: Fri Jan 16, 2009 9:54 am    Post subject: [Freeswitch-users] Outbound call - choose profile Reply with quote

Raymond Chandler wrote:
Quote:
Apostolos Pantsiopoulos wrote:
Quote:
When I am using the following method to place a call from the dialplan :

sofia/gateway/<gateway>/<number_to_dial>

how do I tell FS which profile to use (as in the
sofia/<profile>/<extension> method?)

I am asking that because all my calls to my declared <gateways> use
the 5080 port,
and I want them to use the 5060 port. Is there a way to configure a
<gateway> to use
a specific profile when making outbound calls?


the gateway should always use the profile from which it was included.
so, for instance, if you include gw1 from internal.xml, then gw1
should always use the internal profile

-Ray
_______________________________________________
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

I am using the directory to define my gateways. Specifically, because
this certain gateway
is related to a specific user I am including this gateway in the user's
xml file (in the dieractory).
Then I use :

<domain name="$${domain}" parse="true"/>

in my internal profile to let FS "parse" the gateways that I have
declared in the directory.

So one would expect that the gateways declared in the user's file would
belong to the internal
profile. Yet, when I am using the sofia/gateway/<gw_name>/<number>
notation to send a call
through this gateway the SIP packets get send from the 5080 port (which
is my external profile's port)

--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr
-------------------------------------------


_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Fri Jan 16, 2009 12:20 pm    Post subject: [Freeswitch-users] Outbound call - choose profile Reply with quote

all gateways are properties of a profile
so even in the parse domain way of handling gateways whatever profile parsed the domain
will be the owner of all the gateways discovered from the domain.

FYI,

The internal profile has nothing to do with users or anything else.
You are confusing the default examples for absolute fact.

On Fri, Jan 16, 2009 at 8:53 AM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
Quote:

Raymond Chandler wrote:
Quote:
Apostolos Pantsiopoulos wrote:
Quote:
When I am using the following method to place a call from the dialplan :

sofia/gateway/<gateway>/<number_to_dial>

how do I tell FS which profile to use (as in the
sofia/<profile>/<extension> method?)

I am asking that because all my calls to my declared <gateways> use
the 5080 port,
and I want them to use the 5060 port. Is there a way to configure a
<gateway> to use
a specific profile when making outbound calls?


the gateway should always use the profile from which it was included.
so, for instance, if you include gw1 from internal.xml, then gw1
should always use the internal profile

-Ray


Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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


I am using the directory to define my gateways. Specifically, because
this certain gateway
is related to a specific user I am including this gateway in the user's
xml file (in the dieractory).
Then I use :

<domain name="$${domain}" parse="true"/>

in my internal profile to let FS "parse" the gateways that I have
declared in the directory.

So one would expect that the gateways declared in the user's file would
belong to the internal
profile. Yet, when I am using the sofia/gateway/<gw_name>/<number>
notation to send a call
through this gateway the SIP packets get send from the 5080 port (which
is my external profile's port)


--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
-------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
regs at kinetix.gr
Guest





PostPosted: Sat Jan 17, 2009 10:31 am    Post subject: [Freeswitch-users] Outbound call - choose profile Reply with quote

Yes, I am aware of that fact : insteaad of the pre-configured
internal/external profiles I coulf have myprofile1/myprofile2.
But since I am using the pre-configured profiles (without changing the ports)
and since the internal profile initiated the parsing I would expect
that all the gateways defined in my directory user's xml files would
belong to the internal profile (which is preconfigured to use port 5060).
But when I am capturing the packets sent to that gateway I can see that
the port used from FS is 5080 (which is the preconfigured port of the internal profile).

Anthony Minessale wrote:
Quote:
all gateways are properties of a profile
so even in the parse domain way of handling gateways whatever profile parsed the domain
will be the owner of all the gateways discovered from the domain.

FYI,

The internal profile has nothing to do with users or anything else.
You are confusing the default examples for absolute fact.

On Fri, Jan 16, 2009 at 8:53 AM, Apostolos Pantsiopoulos <regs@kinetix.gr (regs@kinetix.gr)> wrote:
Quote:
Raymond Chandler wrote:
Quote:
Apostolos Pantsiopoulos wrote:
Quote:
When I am using the following method to place a call from the dialplan :

sofia/gateway/<gateway>/<number_to_dial>

how do I tell FS which profile to use (as in the
sofia/<profile>/<extension> method?)

I am asking that because all my calls to my declared <gateways> use
the 5080 port,
and I want them to use the 5060 port. Is there a way to configure a
<gateway> to use
a specific profile when making outbound calls?


the gateway should always use the profile from which it was included.
so, for instance, if you include gw1 from internal.xml, then gw1
should always use the internal profile

-Ray


Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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


I am using the directory to define my gateways. Specifically, because
this certain gateway
is related to a specific user I am including this gateway in the user's
xml file (in the dieractory).
Then I use :

<domain name="$${domain}" parse="true"/>

in my internal profile to let FS "parse" the gateways that I have
declared in the directory.

So one would expect that the gateways declared in the user's file would
belong to the internal
profile. Yet, when I am using the sofia/gateway/<gw_name>/<number>
notation to send a call
through this gateway the SIP packets get send from the 5080 port (which
is my external profile's port)

--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
-------------------------------------------


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Quote:


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
-------------------------------------------
Back to top
brian at freeswitch.org
Guest





PostPosted: Sat Jan 17, 2009 10:58 am    Post subject: [Freeswitch-users] Outbound call - choose profile Reply with quote

The external profile is setup to parse the gateways... internal is
setup to parse the domains and apply an alias to the internal profile
for all domains in the directory.

On internal you have:

<domains>
<!-- indicator to parse the directory for domains with
parse="true" to get gateways-->
<!--<domain name="$${domain}" parse="true"/>-->
<!-- indicator to parse the directory for domains with
parse="true" to get gateways and alias every domain to this profile -->
<!--<domain name="all" alias="true" parse="true"/>-->
<domain name="all" alias="true" parse="false"/>
</domains>

Then on external you have:

<domains>
<domain name="all" alias="false" parse="true"/>
</domains>

Notice this tells internal to add an alias for every domain to
internal, while external is told to parse for gateways.

/b

On Jan 17, 2009, at 9:29 AM, Apostolos Pantsiopoulos wrote:

Quote:
Yes, I am aware of that fact : insteaad of the pre-configured
internal/external profiles I coulf have myprofile1/myprofile2.
But since I am using the pre-configured profiles (without changing
the ports)
and since the internal profile initiated the parsing I would expect
that all the gateways defined in my directory user's xml files would
belong to the internal profile (which is preconfigured to use port
5060).
But when I am capturing the packets sent to that gateway I can see
that
the port used from FS is 5080 (which is the preconfigured port of
the internal profile).


_______________________________________________
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
Back to top
regs at kinetix.gr
Guest





PostPosted: Mon Jan 19, 2009 5:39 am    Post subject: [Freeswitch-users] Outbound call - choose profile Reply with quote

Thanks for the clarification

Brian West wrote:
Quote:
Quote:
The external profile is setup to parse the gateways... internal is
setup to parse the domains and apply an alias to the internal profile
for all domains in the directory.

On internal you have:

<domains>
<!-- indicator to parse the directory for domains with
parse="true" to get gateways-->
<!--<domain name="$${domain}" parse="true"/>-->
<!-- indicator to parse the directory for domains with
parse="true" to get gateways and alias every domain to this profile -->
<!--<domain name="all" alias="true" parse="true"/>-->
<domain name="all" alias="true" parse="false"/>
</domains>

Then on external you have:

<domains>
<domain name="all" alias="false" parse="true"/>
</domains>

Notice this tells internal to add an alias for every domain to
internal, while external is told to parse for gateways.

/b

On Jan 17, 2009, at 9:29 AM, Apostolos Pantsiopoulos wrote:

Quote:
Yes, I am aware of that fact : insteaad of the pre-configured
internal/external profiles I coulf have myprofile1/myprofile2.
But since I am using the pre-configured profiles (without changing
the ports)
and since the internal profile initiated the parsing I would expect
that all the gateways defined in my directory user's xml files would
belong to the internal profile (which is preconfigured to use port
5060).
But when I am capturing the packets sent to that gateway I can see
that
the port used from FS is 5080 (which is the preconfigured port of
the internal profile).


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs@kinetix.gr (regs@kinetix.gr)
-------------------------------------------
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services