How to tie context to a gateway?
Hi all, I have several gateways in the external profile. Let's say GW1 and GW2. I'd like to process calls from the GW1 in the context C1 and calls from GW2 in the context C2. Parameter "context", as far as I understand works for the whole profile, not for individual gateways in the profile. How do send calls from GW1 into context C1? What will be a good practice to do that? Thanks in advance, Nikolay.
Hi all, Raising my question again (see below). I have some idea how to do it, but I'd like to know what experienced FS users think. Thanks in advance, Nikolay. _____ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Nikolay Kondratyev Sent: Tuesday, February 16, 2010 5:17 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] How to tie context to a gateway? Hi all, I have several gateways in the external profile. Let's say GW1 and GW2. I'd like to process calls from the GW1 in the context C1 and calls from GW2 in the context C2. Parameter "context", as far as I understand works for the whole profile, not for individual gateways in the profile. How do send calls from GW1 into context C1? What will be a good practice to do that? Thanks in advance, Nikolay.
You can use conditions and transfer, the issue is, the inbound call has to be matched on the gateway, which means the other endpoint must actually send the request to our registered contact. Many do not do this. Its probably easier to just use multiple profiles on multiple ports. Mike On Feb 16, 2010, at 9:16 AM, Nikolay Kondratyev wrote:
Hi all, I have several gateways in the external profile. Let’s say GW1 and GW2. I’d like to process calls from the GW1 in the context C1 and calls from GW2 in the context C2. Parameter “context”, as far as I understand works for the whole profile, not for individual gateways in the profile. How do send calls from GW1 into context C1? What will be a good practice to do that? Thanks in advance, Nikolay. _______________________________________________ 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 (2)
-
Michael Jerris
-
Nikolay Kondratyev