Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] send the calls from to servers


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
salah.elharit200 at gm...
Guest





PostPosted: Thu Dec 19, 2013 12:52 pm    Post subject: [asterisk-users] send the calls from to servers Reply with quote

I have this scenario




In the first server 192.168.5.100 I have asterisk installed 1.4.43 and  one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card  the connection of the provider Y  




In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and  one diguim card with 2 ports : the first port is empty the second port  the connection of the provider Y  




My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other






 Thanks and regards
Back to top
EWieling at nyigc.com
Guest





PostPosted: Thu Dec 19, 2013 1:26 pm    Post subject: [asterisk-users] send the calls from to servers Reply with quote

Inbound call hunting is handled by your carrier, not Asterisk.

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit
Sent: Thursday, December 19, 2013 12:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] send the calls from to servers


I have this scenario


In the first server 192.168.5.100 I have asterisk installed 1.4.43 and one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card the connection of the provider Y


In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and one diguim card with 2 ports : the first port is empty the second port the connection of the provider Y


My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other



Thanks and regards

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
salah.elharit200 at gm...
Guest





PostPosted: Thu Dec 19, 2013 1:32 pm    Post subject: [asterisk-users] send the calls from to servers Reply with quote

i ask about outbound calls not inbound round-robin 

best regards



2013/12/19 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>
Quote:
Inbound call hunting is handled by your carrier, not Asterisk.

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Salaheddine Elharit
Sent: Thursday, December 19, 2013 12:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] send the calls from to servers


I have this scenario


In the first server 192.168.5.100 I have asterisk installed 1.4.43 and  one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card  the connection of the provider Y


In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and  one diguim card with 2 ports : the first port is empty the second port  the connection of the provider Y


My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other



 Thanks and regards



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu Dec 19, 2013 5:51 pm    Post subject: [asterisk-users] send the calls from to servers Reply with quote

POTS?


On Thu, Dec 19, 2013 at 1:31 PM, Salaheddine Elharit <salah.elharit200@gmail.com (salah.elharit200@gmail.com)> wrote:
Quote:
i ask about outbound calls not inbound round-robin 

best regards



2013/12/19 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>
Quote:
Inbound call hunting is handled by your carrier, not Asterisk.

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Salaheddine Elharit
Sent: Thursday, December 19, 2013 12:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] send the calls from to servers


I have this scenario


In the first server 192.168.5.100 I have asterisk installed 1.4.43 and  one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card  the connection of the provider Y


In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and  one diguim card with 2 ports : the first port is empty the second port  the connection of the provider Y


My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other



 Thanks and regards



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
EWieling at nyigc.com
Guest





PostPosted: Thu Dec 19, 2013 6:07 pm    Post subject: [asterisk-users] send the calls from to servers Reply with quote

The basic idea is dial using your main outbound dahdi group, then check the value of HANGUPCAUSE, then if appropriate dial out using your secondary dahdi group. This is a standard thing. Check the mailing list archives and voip-info.org

See also the [stdexten] section of extensions.conf.sample

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit
Sent: Thursday, December 19, 2013 1:32 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] send the calls from to servers

i ask about outbound calls not inbound round-robin

best regards


2013/12/19 Eric Wieling <EWieling@nyigc.com>


Inbound call hunting is handled by your carrier, not Asterisk.


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit
Sent: Thursday, December 19, 2013 12:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] send the calls from to servers


I have this scenario


In the first server 192.168.5.100 I have asterisk installed 1.4.43 and one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card the connection of the provider Y


In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and one diguim card with 2 ports : the first port is empty the second port the connection of the provider Y


My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other



Thanks and regards


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
salah.elharit200 at gm...
Guest





PostPosted: Fri Dec 20, 2013 4:34 am    Post subject: [asterisk-users] send the calls from to servers Reply with quote

hello thanks for your response 


i try to switch the provider in the same server without issue
but my problem now i have 2 servers in the same network and with the same configuration


iw want to use the group 2 of the server 1 and group 2 of server 2 for the same calls. and if group 2 of server 1 is down i can continue to use group 2 of server 2 


thanks and regards




[trunkgroups]
trunkgroup => 1,16
spanmap => 1,1,1


[channels]
#include dahdi-channels.conf


context=default
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
rxgain=0.0
txgain=0.0
immediate=yes
echocancel=no
dtmfmode=auto


group=1
switchtype=euroisdn
signalling=pri_cpe
callgroup=1
;pickupgroup=1
immediate=no
channel => 1-15,17-31


group=2
callgroup=2
switchtype=qsig
signalling=pri_net
callerid=5xxxxxxxx
immediate=no
channel => 32-46,48-52




2013/12/19 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>
Quote:

The basic idea is dial using your main outbound dahdi group, then check the value of HANGUPCAUSE, then if appropriate dial out using your secondary dahdi group.   This is a standard thing.  Check the mailing list archives and voip-info.org

See also the [stdexten] section of extensions.conf.sample

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Salaheddine Elharit

Sent: Thursday, December 19, 2013 1:32 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion

Subject: Re: [asterisk-users] send the calls from to servers

i ask about outbound calls not inbound round-robin

best regards


2013/12/19 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>


        Inbound call hunting is handled by your carrier, not Asterisk.


        -----Original Message-----
        From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Salaheddine Elharit
        Sent: Thursday, December 19, 2013 12:52 PM
        To: Asterisk Users Mailing List - Non-Commercial Discussion
        Subject: [asterisk-users] send the calls from to servers


        I have this scenario


        In the first server 192.168.5.100 I have asterisk installed 1.4.43 and  one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card  the connection of the provider Y


        In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and  one diguim card with 2 ports : the first port is empty the second port  the connection of the provider Y


        My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other



         Thanks and regards


        --
        _____________________________________________________________________
        -- Bandwidth and Colocation Provided by http://www.api-digital.com --
        New to Asterisk? Join us for a live introductory webinar every Thurs:
                       http://www.asterisk.org/hello

        asterisk-users mailing list
        To UNSUBSCRIBE or update options visit:
           http://lists.digium.com/mailman/listinfo/asterisk-users




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Back to top
EWieling at nyigc.com
Guest





PostPosted: Fri Dec 20, 2013 10:31 am    Post subject: [asterisk-users] send the calls from to servers Reply with quote

You must write dialplan code to do what you want. Assuming you are not using a GUI with Asterisk, post your dialplan used for outgoing calls.

-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit
Sent: Friday, December 20, 2013 4:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] send the calls from to servers

hello
thanks for your response

i try to switch the provider in the same server without issue but my problem now i have 2 servers in the same network and with the same configuration

iw want to use the group 2 of the server 1 and group 2 of server 2 for the same calls. and if group 2 of server 1 is down i can continue to use group 2 of server 2

thanks and regards


[trunkgroups]
trunkgroup => 1,16
spanmap => 1,1,1

[channels]
#include dahdi-channels.conf

context=default
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
rxgain=0.0
txgain=0.0
immediate=yes
echocancel=no
dtmfmode=auto

group=1
switchtype=euroisdn
signalling=pri_cpe
callgroup=1
;pickupgroup=1
immediate=no
channel => 1-15,17-31

group=2
callgroup=2
switchtype=qsig
signalling=pri_net
callerid=5xxxxxxxx
immediate=no
channel => 32-46,48-52


2013/12/19 Eric Wieling <EWieling@nyigc.com>



The basic idea is dial using your main outbound dahdi group, then check the value of HANGUPCAUSE, then if appropriate dial out using your secondary dahdi group. This is a standard thing. Check the mailing list archives and voip-info.org

See also the [stdexten] section of extensions.conf.sample


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit

Sent: Thursday, December 19, 2013 1:32 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion

Subject: Re: [asterisk-users] send the calls from to servers

i ask about outbound calls not inbound round-robin

best regards


2013/12/19 Eric Wieling <EWieling@nyigc.com>


Inbound call hunting is handled by your carrier, not Asterisk.


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit
Sent: Thursday, December 19, 2013 12:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] send the calls from to servers


I have this scenario


In the first server 192.168.5.100 I have asterisk installed 1.4.43 and one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card the connection of the provider Y


In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and one diguim card with 2 ports : the first port is empty the second port the connection of the provider Y


My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other



Thanks and regards


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
EWieling at nyigc.com
Guest





PostPosted: Fri Dec 20, 2013 11:04 am    Post subject: [asterisk-users] send the calls from to servers Reply with quote

You should be asking Aheeva these questions.

Here is an untested sample dialplan which could be adapted. If you need more info you should read the Asterisk Book.

Exten => _1NXXNXXXXXX,1,Dial(DAHDI/g1/${EXTEN})
Exten => same,n,GotoIf($["${DIALSTATUS" != "ANSWER" && ($["${DIALSTATUS" != "BUSY"]?failover)
Exten => same,n,Hangup
Exten => same,n(failover),Dial(SIP/otherserver/${EXTEN})
Exten => same,n,Hangup


"otherserver" would be the peer entry in sip.conf for your other server.


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit
Sent: Friday, December 20, 2013 10:51 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] send the calls from to servers

i attached file my dialplan


2013/12/20 Salaheddine Elharit <salah.elharit200@gmail.com>


in attached file my dialplan

thanks and regards





2013/12/20 Eric Wieling <EWieling@nyigc.com>


You must write dialplan code to do what you want. Assuming you are not using a GUI with Asterisk, post your dialplan used for outgoing calls.


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit

Sent: Friday, December 20, 2013 4:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] send the calls from to servers

hello
thanks for your response

i try to switch the provider in the same server without issue but my problem now i have 2 servers in the same network and with the same configuration

iw want to use the group 2 of the server 1 and group 2 of server 2 for the same calls. and if group 2 of server 1 is down i can continue to use group 2 of server 2

thanks and regards


[trunkgroups]
trunkgroup => 1,16
spanmap => 1,1,1

[channels]
#include dahdi-channels.conf

context=default
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
rxgain=0.0
txgain=0.0
immediate=yes
echocancel=no
dtmfmode=auto

group=1
switchtype=euroisdn
signalling=pri_cpe
callgroup=1
;pickupgroup=1
immediate=no
channel => 1-15,17-31

group=2
callgroup=2
switchtype=qsig
signalling=pri_net
callerid=5xxxxxxxx
immediate=no
channel => 32-46,48-52


2013/12/19 Eric Wieling <EWieling@nyigc.com>



The basic idea is dial using your main outbound dahdi group, then check the value of HANGUPCAUSE, then if appropriate dial out using your secondary dahdi group. This is a standard thing. Check the mailing list archives and voip-info.org

See also the [stdexten] section of extensions.conf.sample


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit

Sent: Thursday, December 19, 2013 1:32 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion

Subject: Re: [asterisk-users] send the calls from to servers

i ask about outbound calls not inbound round-robin

best regards


2013/12/19 Eric Wieling <EWieling@nyigc.com>


Inbound call hunting is handled by your carrier, not Asterisk.


-----Original Message-----
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Salaheddine Elharit
Sent: Thursday, December 19, 2013 12:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] send the calls from to servers


I have this scenario


In the first server 192.168.5.100 I have asterisk installed 1.4.43 and one diguim card with 2 ports: in the first port connection for the provider X : the second port of diguim card the connection of the provider Y


In the second server (the same configuration) 192.168.5.200 asterisk installed 1.4.43 and one diguim card with 2 ports : the first port is empty the second port the connection of the provider Y


My question how can I do in order to send the calls of the second providers from the port 2 server 1 and port 2 server 2 ()if one of them is down I continue to send the calls from the other



Thanks and regards


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users





--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk 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