Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Multiple gateways: Priority the first bridge with prefix


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





PostPosted: Mon Jul 27, 2009 1:46 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with quote

Hi FS Users,

I just want to try multiple gateways. It works actually like this...

<action application= "bridge" data="sofia/sip/51@222.333.444.555 |
sofia/sip/63@111.222.333.3333"/>

But I test call like 5133333 at 222.333.444.555, it also calls the
second bridge 111.222.333.333.

It there any way to determine which prefix will call to a bridge
specified.

E.g.

for bridge 1: with prefix of 51 the call with run to 222.333.444.555 not
at the second bridge and vice versa. Please help..
--
View this message in context: http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674260p24674260.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
darklion11 at yahoo.com
Guest





PostPosted: Mon Jul 27, 2009 1:47 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with quote

Hi FS Users,

I just want to try multiple gateways. It works actually like this...

<action application= "bridge" data="sofia/sip/51@222.333.444.555 |
sofia/sip/63@111.222.333.3333"/>

But I test call like 5133333 at 222.333.444.555, it also calls the
second bridge 111.222.333.333.

It there any way to determine which prefix will call to a bridge
specified.

E.g.

for bridge 1: with prefix of 51 the call with run to 222.333.444.555 not
at the second bridge and vice versa. Please help..
--
View this message in context: http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674280p24674280.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
darklion11 at yahoo.com
Guest





PostPosted: Mon Jul 27, 2009 1:47 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with quote

Hi FS Users,

I just want to try multiple gateways. It works actually like this...

<action application= "bridge" data="sofia/sip/51@222.333.444.555 |
sofia/sip/63@111.222.333.3333"/>

But I test call like 5133333 at 222.333.444.555, it also calls the
second bridge 111.222.333.333.

It there any way to determine which prefix will call to a bridge
specified.

E.g.

for bridge 1: with prefix of 51 the call with run to 222.333.444.555 not
at the second bridge and vice versa. Please help..
--
View this message in context: http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674279p24674279.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
darklion11 at yahoo.com
Guest





PostPosted: Mon Jul 27, 2009 1:55 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with quote

Hi FS Users,

I just want to try multiple gateways. It works actually like this...

<action application= "bridge" data="sofia/sip/51@222.333.444.555 |
sofia/sip/63@111.222.333.3333"/>

But I test call like 5133333 at 222.333.444.555, it also calls the
second bridge 111.222.333.333.

It there any way to determine which prefix will call to a bridge
specified.

E.g.

for bridge 1: with prefix of 51 the call with run to 222.333.444.555 not
at the second bridge and vice versa. Please help..
--
View this message in context: http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674381p24674381.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
gcd at i.ph
Guest





PostPosted: Mon Jul 27, 2009 2:10 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with quote

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:
Quote:

Hi FS Users,

    I just want to try multiple gateways. It works actually like this...

   <action application= "bridge" data="sofia/sip/51@222.333.444.555 |
sofia/sip/63@111.222.333.3333"/>

   But I test call like 5133333 at 222.333.444.555, it also calls the
second bridge 111.222.333.333.

  It there any way to determine which prefix will call to a bridge
specified.

   E.g.

   for bridge 1: with prefix of 51 the call with run to 222.333.444.555 not
at the second bridge and vice versa. Please help..
--

View this message in context: http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674280p24674280.html

Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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


Back to top
darklion11 at yahoo.com
Guest





PostPosted: Mon Jul 27, 2009 3:01 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with quote

Not working just the same both of them are running

Nandy Dagondon wrote:
Quote:

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> wrote:

Quote:

Hi FS Users,

I just want to try multiple gateways. It works actually like this...

<action application= "bridge" data="sofia/sip/51@222.333.444.555 |
sofia/sip/63@111.222.333.3333"/>

But I test call like 5133333 at 222.333.444.555, it also calls the
second bridge 111.222.333.333.

It there any way to determine which prefix will call to a bridge
specified.

E.g.

for bridge 1: with prefix of 51 the call with run to 222.333.444.555
not
at the second bridge and vice versa. Please help..
--
View this message in context:
http://www.nabble.com/Multiple-gateways%3A-Priority-the-first-bridge-with-prefix-tp24674280p24674280.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


_______________________________________________
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-tp24674260p24675073.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





PostPosted: Mon Jul 27, 2009 3:24 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with quote

Edmar Cruz <darklion11@yahoo.com> wrote:
Quote:

Not working just the same both of them are running

Do you have them as separate extensions in the dial plan?


_______________________________________________
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
gcd at i.ph
Guest





PostPosted: Mon Jul 27, 2009 3:51 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with 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 (jason@jasonjgw.net)> wrote:
Quote:
Edmar Cruz <darklion11@yahoo.com (darklion11@yahoo.com)> wrote:

Quote:
Not working just the same both of them are running


Do you have them as separate extensions in the dial plan?



_______________________________________________
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


Back to top
darklion11 at yahoo.com
Guest





PostPosted: Mon Jul 27, 2009 8:26 pm    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with 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.

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:

Quote:
Edmar Cruz <darklion11@yahoo.com> wrote:
Quote:

Not working just the same both of them are running

Do you have them as separate extensions in the dial plan?


_______________________________________________
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



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





PostPosted: Tue Jul 28, 2009 12:32 am    Post subject: [Freeswitch-users] Multiple gateways: Priority the first bri Reply with quote

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