View previous topic :: View next topic |
Author |
Message |
darklion11 at yahoo.com Guest
|
|
Back to top |
|
|
darklion11 at yahoo.com Guest
|
|
Back to top |
|
|
darklion11 at yahoo.com Guest
|
|
Back to top |
|
|
darklion11 at yahoo.com Guest
|
|
Back to top |
|
|
gcd at i.ph Guest
|
Posted: Mon Jul 27, 2009 2:10 am Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri |
|
|
in my implementation, i would use 2 separate conditions that looks like this:
<condition field="destination_number" data="(51\d*)"\>
<action application="bridge" data="sofia/sip/$1@222.333.444.555"/>
<condition field="destination_number" data="(63\d*)"\>
<action application="bridge" data="sofia/sip/$1@111.222.333.333"/>
On Mon, Jul 27, 2009 at 2:42 PM, Edmar Cruz <darklion11@yahoo.com (darklion11@yahoo.com)> wrote:
|
|
Back to top |
|
|
darklion11 at yahoo.com Guest
|
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
|
Back to top |
|
|
gcd at i.ph Guest
|
Posted: Mon Jul 27, 2009 3:51 am Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri |
|
|
ed,
i mean you use separate extension names:
<extension name="prefix-51">
<condition field="destination_number" data="(51\d*)"\>
<action application="bridge" data="sofia/sip1/$1@222.333. 444.555"/>
</extension>
<extension name="prefix-63">
<condition field="destination_number" data="(63\d*)"\>
<action application="bridge" data="sofia/sip2/$1@111.222.333.333"/>
</extension>
btw, you should also use separate gateway names "sip1" and "sip2". so differentiate them in the bridge application.
On Mon, Jul 27, 2009 at 4:16 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
|
|
Back to top |
|
|
darklion11 at yahoo.com Guest
|
Posted: Mon Jul 27, 2009 8:26 pm Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri |
|
|
Yes, I actually just want to not be able to communicate with the other
bridges. I have already this extension name = "sample-1". Freeswitch gets
the first extension the 2nd also trigger it. When the calls finds the match
it suits perfectly but I just want that I do not want to view the bridges
with CS_DESTROY or hangup_after_false if not found.
Nandy Dagondon wrote:
Quote: |
ed,
i mean you use separate extension names:
<extension name="prefix-51">
<condition field="destination_number" data="(51\d*)"\>
<action application="bridge" data="sofia/sip1/$1@222.333.444.555"/>
</extension>
<extension name="prefix-63">
<condition field="destination_number" data="(63\d*)"\>
<action application="bridge" data="sofia/sip2/$1@111.222.333.333"/>
</extension>
btw, you should also use separate gateway names "sip1" and "sip2". so
differentiate them in the bridge application.
On Mon, Jul 27, 2009 at 4:16 PM, Jason White <jason@jasonjgw.net> wrote:
_______________________________________________
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
|
--
View this message in context: http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674260p24691020.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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 |
|
|
jason at jasonjgw.net Guest
|
Posted: Tue Jul 28, 2009 12:32 am Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri |
|
|
Edmar Cruz <darklion11@yahoo.com> wrote:
Quote: |
Yes, I actually just want to not be able to communicate with the other
bridges. I have already this extension name = "sample-1". Freeswitch gets
the first extension the 2nd also trigger it. When the calls finds the match
it suits perfectly but I just want that I do not want to view the bridges
with CS_DESTROY or hangup_after_false if not found.
|
The above text is absolutely incoherent and incomprehensible, so I don't
understand what you are trying to say.
Try setting
<action application="set" data="continue_on_fail=true"/>
on the first extension and see whether that does what you want.
I hope this help.
_______________________________________________
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 |
|
|
|