Gateway Registration
Hi, I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use. Is there anyway to do this? Regards, -- Samuel Macedo Belo Horizonte - Brazil
Hi, I would like to receive only one copy of any given email. On Mon, Jun 7, 2010 at 2:26 PM, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,
I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.
Is there anyway to do this?
Regards, -- Samuel Macedo Belo Horizonte - Brazil
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used. On 7 June 2010 20:26, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,
I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.
Is there anyway to do this?
Regards, -- Samuel Macedo Belo Horizonte - Brazil
_______________________________________________ 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
But the name of the gateway is the domain that will be used to register, or no? -- Samuel Macedo On 8 June 2010 06:46, Steven Ayre <steveayre@gmail.com> wrote:
Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used.
On 7 June 2010 20:26, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,
I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.
Is there anyway to do this?
Regards, -- Samuel Macedo Belo Horizonte - Brazil
_______________________________________________ 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
How can I set the gateway domain? Can it be different from the gateway name? Example: <include> <gateway name="gateway.com"> <param name="username" value="user"/> <param name="password" value="pass"/> <param name="register" value="true"/> </gateway> </include> *Gateway Name*: gateway.com *Gateway Domain*: gateway.com Thanks, -- Samuel Macedo On 8 June 2010 13:03, Samuel Macedo <macedoslm@gmail.com> wrote:
But the name of the gateway is the domain that will be used to register, or no?
-- Samuel Macedo
On 8 June 2010 06:46, Steven Ayre <steveayre@gmail.com> wrote:
Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used.
On 7 June 2010 20:26, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,
I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.
Is there anyway to do this?
Regards, -- Samuel Macedo Belo Horizonte - Brazil
_______________________________________________ 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
you can set different names for the gateway name but the domain must be the same "gateway.com" <gateway name="gateway1"> . . . <gateway name="gateway2"> . . . -nandy On Thu, Jun 10, 2010 at 5:19 AM, Samuel Macedo <macedoslm@gmail.com> wrote:
How can I set the gateway domain? Can it be different from the gateway name? Example:
<include> <gateway name="gateway.com"> <param name="username" value="user"/> <param name="password" value="pass"/> <param name="register" value="true"/> </gateway> </include>
*Gateway Name*: gateway.com *Gateway Domain*: gateway.com
Thanks, -- Samuel Macedo
On 8 June 2010 13:03, Samuel Macedo <macedoslm@gmail.com> wrote:
But the name of the gateway is the domain that will be used to register, or no?
-- Samuel Macedo
On 8 June 2010 06:46, Steven Ayre <steveayre@gmail.com> wrote:
Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used.
On 7 June 2010 20:26, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,
I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.
Is there anyway to do this?
Regards, -- Samuel Macedo Belo Horizonte - Brazil
_______________________________________________ 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
_______________________________________________ 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
On Wed, Jun 9, 2010 at 2:19 PM, Samuel Macedo <macedoslm@gmail.com> wrote:
How can I set the gateway domain? Can it be different from the gateway name?
Yes, you can use the "realm" param. See the example gateway config in conf/sip_profiles/external/example.xml -MC
Example:
<include> <gateway name="gateway.com"> <param name="username" value="user"/> <param name="password" value="pass"/> <param name="register" value="true"/> </gateway> </include>
*Gateway Name*: gateway.com *Gateway Domain*: gateway.com
Thanks, -- Samuel Macedo
On 8 June 2010 13:03, Samuel Macedo <macedoslm@gmail.com> wrote:
But the name of the gateway is the domain that will be used to register, or no?
-- Samuel Macedo
On 8 June 2010 06:46, Steven Ayre <steveayre@gmail.com> wrote:
Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used.
On 7 June 2010 20:26, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,
I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.
Is there anyway to do this?
Regards, -- Samuel Macedo Belo Horizonte - Brazil
_______________________________________________ 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
_______________________________________________ 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
No you register 2 gateways. <include> <gateway name="Nameofthegateway"> <param name="username" value="YOUR SIP user name"/> <param name="password" value="your sip password"/> <param name="proxy" value="sip.domain.com"/> <param name="from-domain" value="sip.domain.com"/> <param name="expire-seconds" value="3600"/> <param name="register" value="true"/> </gateway> </include> <include> <gateway name="Nameofthegateway2"> <param name="username" value="YOUR SIP user name2"/> <param name="password" value="your sip password2"/> <param name="proxy" value="sip.domain.com"/> <param name="from-domain" value="sip.domain.com"/> <param name="expire-seconds" value="3600"/> <param name="register" value="true"/> </gateway> </include> And in the dial plan you can do the bridge with the gateway you want using the name of the gateway. Leonardo On Wed, Jun 9, 2010 at 5:19 PM, Samuel Macedo <macedoslm@gmail.com> wrote:
How can I set the gateway domain? Can it be different from the gateway name? Example:
<include> <gateway name="gateway.com"> <param name="username" value="user"/> <param name="password" value="pass"/> <param name="register" value="true"/> </gateway> </include>
*Gateway Name*: gateway.com *Gateway Domain*: gateway.com
Thanks, -- Samuel Macedo
On 8 June 2010 13:03, Samuel Macedo <macedoslm@gmail.com> wrote:
But the name of the gateway is the domain that will be used to register, or no?
-- Samuel Macedo
On 8 June 2010 06:46, Steven Ayre <steveayre@gmail.com> wrote:
Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used.
On 7 June 2010 20:26, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,
I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.
Is there anyway to do this?
Regards, -- Samuel Macedo Belo Horizonte - Brazil
_______________________________________________ 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
_______________________________________________ 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
Thank you for the responses. You solved my problem. Regards, -- Samuel Macedo On 9 June 2010 20:34, leonardo alves <telteclistas@gmail.com> wrote:
No you register 2 gateways.
<include> <gateway name="Nameofthegateway"> <param name="username" value="YOUR SIP user name"/> <param name="password" value="your sip password"/> <param name="proxy" value="sip.domain.com"/> <param name="from-domain" value="sip.domain.com"/> <param name="expire-seconds" value="3600"/> <param name="register" value="true"/> </gateway> </include>
<include> <gateway name="Nameofthegateway2"> <param name="username" value="YOUR SIP user name2"/> <param name="password" value="your sip password2"/> <param name="proxy" value="sip.domain.com"/> <param name="from-domain" value="sip.domain.com"/> <param name="expire-seconds" value="3600"/> <param name="register" value="true"/> </gateway> </include>
And in the dial plan you can do the bridge with the gateway you want using the name of the gateway. Leonardo On Wed, Jun 9, 2010 at 5:19 PM, Samuel Macedo <macedoslm@gmail.com> wrote:
How can I set the gateway domain? Can it be different from the gateway name? Example:
<include> <gateway name="gateway.com"> <param name="username" value="user"/> <param name="password" value="pass"/> <param name="register" value="true"/> </gateway> </include>
*Gateway Name*: gateway.com *Gateway Domain*: gateway.com
Thanks, -- Samuel Macedo
On 8 June 2010 13:03, Samuel Macedo <macedoslm@gmail.com> wrote:
But the name of the gateway is the domain that will be used to register, or no?
-- Samuel Macedo
On 8 June 2010 06:46, Steven Ayre <steveayre@gmail.com> wrote:
Configure the same gateway twice, with different names. Which gateway name you use will determine which username is used.
On 7 June 2010 20:26, Samuel Macedo <macedoslm@gmail.com> wrote:
Hi,
I want to use the same Gateway but with different users and passwords to make and receive calls. This is the scenario: I have 2 users in a PSTN gateway, I want to connect 2 Freeswitch UserAgents (Sofia External) to this gateway so I can receive inbound calls. And to make a Outbound call I want to decide witch UserAgent I will use.
Is there anyway to do this?
Regards, -- Samuel Macedo Belo Horizonte - Brazil
_______________________________________________ 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
_______________________________________________ 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
participants (6)
-
Anthony Minessale
-
leonardo alves
-
Michael Collins
-
Nandy Dagondon
-
Samuel Macedo
-
Steven Ayre