Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] multiple gateways not working?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dome at tel.co.th
Guest





PostPosted: Fri Jun 26, 2009 1:15 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

May be need
<action application="set" data="hangup_after_bridge=false"/>
before first bridge


Dome C.
2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>


Is this correct for multiple gateways? When I try this the first gateway
works but the second gateway does not work?


What is the solution for this can u help me?


Thanks

--
View this message in context: http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.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
Back to top
jason at jasonjgw.net
Guest





PostPosted: Fri Jun 26, 2009 1:32 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

Dome Charoenyost <dome@tel.co.th> wrote:
Quote:
May be need
<action application="set" data="hangup_after_bridge=false"/>
before first bridge

and also, reading this wiki page may help
http://wiki.freeswitch.org/wiki/Freeswitch_IVR_Originate
(see the discussion of multiple destinations)


_______________________________________________
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: Fri Jun 26, 2009 1:34 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

<include>
<extension name="multiple">
<condition field="destination_number" expression="^(\d+)$">
<action application="set" data="gate_site_id=1"/>
<action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
<action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
<action application="set" data="hangup_after_bridge=false"/>
<action application="bridge" data="sofia/default/$1@116.80.80.101"/>
</condition>

<condition field="destination_number" expression="^(\d+)$">
<action application="set" data="gate_site_id=1"/>
<action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
<action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>

<action application="bridge" data="sofia/default/$1@116.80.80.102"/>
</condition>

</extension>
</include>

I try what you said still not working...


Dome Charoenyost wrote:
Quote:

May be need
<action application="set" data="hangup_after_bridge=false"/>
before first bridge


Dome C.
2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>


Is this correct for multiple gateways? When I try this the first gateway
works but the second gateway does not work?


What is the solution for this can u help me?


Thanks

--
View this message in context:
http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.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-not-working--tp24215324p24215631.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
dome at tel.co.th
Guest





PostPosted: Fri Jun 26, 2009 1:46 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

Please try
<include>
<extension name="multiple">
<condition field="destination_number" expression="^(\d+)$">
<action application="set" data="gate_site_id=1"/>
<action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
<action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
<action application="set" data="hangup_after_bridge=false"/>
<action application="bridge" data="sofia/default/$1@116.80.80.101"/>
<action application="bridge" data="sofia/default/$1@116.80.80.102"/>
</condition>

</extension>
</include>

2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
    <action application="set" data="hangup_after_bridge=false"/>
     <action application="bridge" data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>

     <action application="bridge" data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>

I try what you said still not working...


Dome Charoenyost wrote:
Quote:

May be need
<action application="set" data="hangup_after_bridge=false"/>
before first bridge


Dome C.
2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>


Is this correct for multiple gateways? When I try this the first gateway
works but the second gateway does not work?


What is the solution for this can u help me?


Thanks

--
View this message in context:
http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.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-not-working--tp24215324p24215631.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
Back to top
gcd at i.ph
Guest





PostPosted: Fri Jun 26, 2009 1:49 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

you can combine the 2 gateways into one bridge app. pls see http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridgecall

/nandy

On Fri, Jun 26, 2009 at 1:48 PM, Edmar Cruz <darklion11@yahoo.com (darklion11@yahoo.com)> wrote:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.101 (1@116.80.80.101)"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.102 (1@116.80.80.102)"/>
   </condition>

 </extension>
</include>


Is this correct for multiple gateways? When I try this the first gateway
works but the second gateway does not work?


What is the solution for this can u help me?


Thanks

--
View this message in context: http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.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
dome at tel.co.th
Guest





PostPosted: Fri Jun 26, 2009 1:49 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

Or Try pipe
<action application="bridge" data="sofia/default/$1@116.80.80.101 |
sofia/default/$1@116.80.80.102"/>
if you want to ring all. Try comma
<action application="bridge" data="sofia/default/$1@116.80.80.101 ,
sofia/default/$1@116.80.80.102"/>


2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
    <action application="set" data="hangup_after_bridge=false"/>
     <action application="bridge" data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>

     <action application="bridge" data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>

I try what you said still not working...


Dome Charoenyost wrote:
Quote:

May be need
<action application="set" data="hangup_after_bridge=false"/>
before first bridge


Dome C.
2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge" data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>


Is this correct for multiple gateways? When I try this the first gateway
works but the second gateway does not work?


What is the solution for this can u help me?


Thanks

--
View this message in context:
http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.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-not-working--tp24215324p24215631.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
Back to top
darklion11 at yahoo.com
Guest





PostPosted: Fri Jun 26, 2009 2:06 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

Yup your suggestions works... But I want my to have a prefix for the second
bridge

<condition field="destination_number" expression="^63819(\d+)$">



Dome Charoenyost wrote:
Quote:

Or Try pipe
<action application="bridge" data="sofia/default/$1@116.80.80.101 |
sofia/default/$1@116.80.80.102"/>
if you want to ring all. Try comma
<action application="bridge" data="sofia/default/$1@116.80.80.101 ,
sofia/default/$1@116.80.80.102"/>


2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
    <action application="set" data="hangup_after_bridge=false"/>
     <action application="bridge" data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>

     <action application="bridge" data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>

I try what you said still not working...


Dome Charoenyost wrote:
Quote:

May be need
<action application="set" data="hangup_after_bridge=false"/>
before first bridge


Dome C.
2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge"
data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge"
data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>


Is this correct for multiple gateways? When I try this the first
gateway
works but the second gateway does not work?


What is the solution for this can u help me?


Thanks

--
View this message in context:
http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.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-not-working--tp24215324p24215631.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-not-working--tp24215324p24215893.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
harmeet at litatel.com
Guest





PostPosted: Fri Jun 26, 2009 7:12 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

Just add the prefix like -
 
<action application="bridge" data="sofia/default/$1@116.80.80.101 (1@116.80.80.101) |
sofia/default/63819$1@116.80.80.102 (1@116.80.80.102)"/>

BTW: Never give your real prefix. Anybody can use it to send traffic to your trunk with that prefix and eat away your balance.
 
On Fri, Jun 26, 2009 at 3:05 AM, Edmar Cruz <darklion11@yahoo.com (darklion11@yahoo.com)> wrote:
Quote:

Yup your suggestions works... But I want my to have a prefix for the second
bridge

<condition field="destination_number" expression="^63819(\d+)$">




Dome Charoenyost wrote:
Quote:

Or Try pipe
 <action application="bridge" data="sofia/default/$1@116.80.80.101 (1@116.80.80.101) |
sofia/default/$1@116.80.80.102 (1@116.80.80.102)"/>
if you want to ring all. Try comma
 <action application="bridge" data="sofia/default/$1@116.80.80.101 (1@116.80.80.101) ,
sofia/default/$1@116.80.80.102 (1@116.80.80.102)"/>


2009/6/26 Edmar Cruz <darklion11@yahoo.com (darklion11@yahoo.com)>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
    <action application="set" data="hangup_after_bridge=false"/>
     <action application="bridge" data="sofia/default/$1@116.80.80.101 (1@116.80.80.101)"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>

     <action application="bridge" data="sofia/default/$1@116.80.80.102 (1@116.80.80.102)"/>
   </condition>

 </extension>
</include>

I try what you said still not working...


Dome Charoenyost wrote:
Quote:

May be need
<action application="set" data="hangup_after_bridge=false"/>
before first bridge


Dome C.
2009/6/26 Edmar Cruz <darklion11@yahoo.com (darklion11@yahoo.com)>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge"
data="sofia/default/$1@116.80.80.101 (1@116.80.80.101)"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge"
data="sofia/default/$1@116.80.80.102 (1@116.80.80.102)"/>
   </condition>

 </extension>
</include>


Is this correct for multiple gateways? When I try this the first
gateway
works but the second gateway does not work?


What is the solution for this can u help me?


Thanks

--
View this message in context:
http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.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


_______________________________________________
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



--
View this message in context:
http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215631.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


_______________________________________________
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





--
View this message in context: http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215893.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
dome at tel.co.th
Guest





PostPosted: Fri Jun 26, 2009 10:28 am    Post subject: [Freeswitch-users] multiple gateways not working? Reply with quote

2009/6/26 Harmeet Singh <harmeet@litatel.com>:
Quote:
Just add the prefix like -

<action application="bridge" data="sofia/default/$1@116.80.80.101 |
sofia/default/63819$1@116.80.80.102"/>

BTW: Never give your real prefix. Anybody can use it to send traffic to your
trunk with that prefix and eat away your balance.
ACL can help :)

Quote:

On Fri, Jun 26, 2009 at 3:05 AM, Edmar Cruz <darklion11@yahoo.com> wrote:
Quote:

Yup your suggestions works... But I want my to have a prefix for the
second
bridge

<condition field="destination_number" expression="^63819(\d+)$">



Dome Charoenyost wrote:
Quote:

Or Try pipe
 <action application="bridge" data="sofia/default/$1@116.80.80.101 |
sofia/default/$1@116.80.80.102"/>
if you want to ring all. Try comma
 <action application="bridge" data="sofia/default/$1@116.80.80.101 ,
sofia/default/$1@116.80.80.102"/>


2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
    <action application="set" data="hangup_after_bridge=false"/>
     <action application="bridge"
data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>

     <action application="bridge"
data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>

I try what you said still not working...


Dome Charoenyost wrote:
Quote:

May be need
<action application="set" data="hangup_after_bridge=false"/>
before first bridge


Dome C.
2009/6/26 Edmar Cruz <darklion11@yahoo.com>:
Quote:

<include>
 <extension name="multiple">
   <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge"
data="sofia/default/$1@116.80.80.101"/>
   </condition>

    <condition field="destination_number" expression="^(\d+)$">
     <action application="set" data="gate_site_id=1"/>
     <action application="set"
data="effective_caller_id_name=${effective_caller_id_name}"/>
     <action application="set"
data="effective_caller_id_number=${effective_caller_id_number}"/>
     <action application="transfer" data="$ XML default"/>-->
     <action application="bridge"
data="sofia/default/$1@116.80.80.102"/>
   </condition>

 </extension>
</include>


Is this correct for multiple gateways? When I try this the first
gateway
works but the second gateway does not work?


What is the solution for this can u help me?


Thanks

--
View this message in context:

http://www.nabble.com/multiple-gateways-not-working--tp24215324p24215324.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-not-working--tp24215324p24215631.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-not-working--tp24215324p24215893.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



_______________________________________________
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