Re: [asterisk-users] tdm outgoing

2009-10-07 Thread Tzafrir Cohen
On Wed, Oct 07, 2009 at 01:24:01PM +0300, B.Masoud @ SH wrote:
> Thanks,
> 
> What if I want to group a TDM2400 into 3 groups, r0/0 to r0/7 , r1/8 to
> r1/15 , r2/16 to r2/23
> How to do that?

DAHDI channel numbers are 1-based and not 0-based. HEnce you should
probably use 1-8, 9-16 and 17-24

group = 0
...
channel => 1-8
...
group = 1
...
channel => 9-16
...
group = 2
...
channel => 17-24

Alternatively, for Asterisk >= 1.6.1:

[channells]
; Global settings go here.
echocancel = yes

; The name is arbitrary and ignored. Just don't use a reserved one
[firsts]
group = 0
dahdichan = 1-8

[seconds]
group = 1
dahdichan = 9-16

[thirds]
group = 2
dahdichan = 17-24

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-07 Thread B.Masoud @ SH
Thanks,

What if I want to group a TDM2400 into 3 groups, r0/0 to r0/7 , r1/8 to
r1/15 , r2/16 to r2/23
How to do that?

Thanks.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Philipp
Kempgen
Sent: Monday, October 05, 2009 10:05 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] tdm outgoing

B.Masoud @ SH schrieb:

> I have defined the card g0 to have 24 channels, but
> every time I try to call, if all ports are off the call always go to the
> first port, how can I balance the calls over all ports???

http://www.voip-info.org/wiki/view/Asterisk+ZAP+channels#DialingaGroup

Dial(Dahdi/r0/...)


Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-05 Thread Philipp Kempgen
B.Masoud @ SH schrieb:

> I have defined the card g0 to have 24 channels, but
> every time I try to call, if all ports are off the call always go to the
> first port, how can I balance the calls over all ports???

http://www.voip-info.org/wiki/view/Asterisk+ZAP+channels#DialingaGroup

Dial(Dahdi/r0/...)


Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-05 Thread B.Masoud @ SH
Thanks,
I made the zone, and now call disconnect works ok!

i have one last problem, I have defined the card g0 to have 24 channels, but
every time I try to call, if all ports are off the call always go to the
first port, how can I balance the calls over all ports???

Any suggestions appreciated.

Thanks all for the help.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ioan Indreias
Sent: Monday, October 05, 2009 5:43 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] tdm outgoing

>
> I cant find Zapata.cfg

You have a DAHDI installation thus you have to find chan_dahdi.conf.
it should be located under /etc/asterisk

Regarding the configuration for tones you have to check indications.conf
file

Best regards,
Nini

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-05 Thread Ira
At 02:47 AM 10/5/2009, you wrote:

TDM04. The original 4 channel card with 4 red cards installed.

>Are you series???
>My card is FXO TDM2400, I am sure its designed to forward calls to pstn!!!
>
>
>
>At 04:32 PM 10/4/2009, you wrote:
> >Hi
> >I installed TDM24 card, made ZAP (DAHDI) trunk, and set outbound all calls
> >to that trunk, I am getting all circuits are busy now, do I have to do
> >something specific?? I am using elastix.
>
>
>Sometimes you can't make a call on DAHDI until a call has been
>received. At least I can't.
>
>Ira


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-05 Thread Ioan Indreias
>
> I cant find Zapata.cfg

You have a DAHDI installation thus you have to find chan_dahdi.conf.
it should be located under /etc/asterisk

Regarding the configuration for tones you have to check indications.conf file

Best regards,
Nini

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-05 Thread B.Masoud @ SH
Man, thanks a lot!
I just changed the name to g0 instead of DGTDM24 and it worked!!

I would like to know where I can set the configuration for line tones( dial
tone, call and busy tone) and where I can change different setting for
polarity / current disconnect etc.. of the line?

I cant find Zapata.cfg

Thanks again!

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ioan Indreias
Sent: Monday, October 05, 2009 1:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] tdm outgoing

>> DAHDI/DGTDM24/966505103250

This (DGTDM24) is strange. Could you provide the setup of the DAHDI trunk?
You should have something like DAHDI/g0/96 or DAHDI/10/96

Here are more info on this subject:
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg226642.html

HTH,
Ioan (Nini) Indreias
www.modulo.ro

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-05 Thread Ioan Indreias
>> DAHDI/DGTDM24/966505103250

This (DGTDM24) is strange. Could you provide the setup of the DAHDI trunk?
You should have something like DAHDI/g0/96 or DAHDI/10/96

Here are more info on this subject:
http://www.mail-archive.com/asterisk-users@lists.digium.com/msg226642.html

HTH,
Ioan (Nini) Indreias
www.modulo.ro

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-05 Thread B.Masoud @ SH
Are you series???
My card is FXO TDM2400, I am sure its designed to forward calls to pstn!!!


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ira
Sent: Monday, October 05, 2009 5:07 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] tdm outgoing

At 04:32 PM 10/4/2009, you wrote:
>Hi
>I installed TDM24 card, made ZAP (DAHDI) trunk, and set outbound all calls
>to that trunk, I am getting all circuits are busy now, do I have to do
>something specific?? I am using elastix.


Sometimes you can't make a call on DAHDI until a call has been 
received. At least I can't.

Ira


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-05 Thread B.Masoud @ SH
ba098",
"TRUNKOUTCID=") in new stack
-- Executing [...@macro-outbound-callerid:9] GotoIf("SIP/100-08fba098",
"1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [...@macro-outbound-callerid:12] ExecIf("SIP/100-08fba098",
"0|Set|CALLERID(all)=") in new stack
-- Executing [...@macro-outbound-callerid:13] GotoIf("SIP/100-08fba098",
"1?exit") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing [...@macro-outbound-callerid:11]
MacroExit("SIP/100-08fba098", "") in new stack
-- Executing [...@macro-dialout-trunk:12] ExecIf("SIP/100-08fba098",
"0|AGI|fixlocalprefix") in new stack
-- Executing [...@macro-dialout-trunk:13] Set("SIP/100-08fba098",
"OUTNUM=966505103250") in new stack
-- Executing [...@macro-dialout-trunk:14] Set("SIP/100-08fba098",
"custom=DAHDI/DGTDM24") in new stack
-- Executing [...@macro-dialout-trunk:15] ExecIf("SIP/100-08fba098",
"0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
-- Executing [...@macro-dialout-trunk:16] Macro("SIP/100-08fba098",
"dialout-trunk-predial-hook|") in new stack
-- Executing [...@macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/100-08fba098", "") in new stack
-- Executing [...@macro-dialout-trunk:17] GotoIf("SIP/100-08fba098",
"0?bypass|1") in new stack
-- Executing [...@macro-dialout-trunk:18] GotoIf("SIP/100-08fba098",
"0?customtrunk") in new stack
-- Executing [...@macro-dialout-trunk:19] Dial("SIP/100-08fba098",
"DAHDI/DGTDM24/966505103250|300|") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
-- Executing [...@macro-dialout-trunk:20] Goto("SIP/100-08fba098",
"s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-chanunav...@macro-dialout-trunk:1]
GotoIf("SIP/100-08fba098", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
-- Executing [s-chanunav...@macro-dialout-trunk:3]
NoOp("SIP/100-08fba098", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause:
0) - failing through to other trunks") in new stack
-- Executing [966505103...@from-internal:5] Macro("SIP/100-08fba098",
"outisbusy|") in new stack
-- Executing [...@macro-outisbusy:1] Playback("SIP/100-08fba098",
"all-circuits-busy-now|noanswer") in new stack
--  Playing 'all-circuits-busy-now' (language 'en')
-- Executing [...@macro-outisbusy:2] Playback("SIP/100-08fba098",
"pls-try-call-later|noanswer") in new stack
--  Playing 'pls-try-call-later' (language 'en')
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on
'SIP/100-08fba098' in macro 'outisbusy'
  == Spawn extension (from-internal, 966505103250, 5) exited non-zero on
'SIP/100-08fba098'
-- Executing [...@from-internal:1] Macro("SIP/100-08fba098", "hangupcall")
in new stack
-- Executing [...@macro-hangupcall:1] ResetCDR("SIP/100-08fba098", "w") in
new stack
-- Executing [...@macro-hangupcall:2] NoCDR("SIP/100-08fba098", "") in new
stack
-- Executing [...@macro-hangupcall:3] GotoIf("SIP/100-08fba098",
"1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [...@macro-hangupcall:6] GotoIf("SIP/100-08fba098",
"1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [...@macro-hangupcall:9] GotoIf("SIP/100-08fba098",
"1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [...@macro-hangupcall:11] Hangup("SIP/100-08fba098", "") in
new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on
'SIP/100-08fba098' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/100-08fba098'
elastix*CLI>


please let me know what is wrong???

Thanks.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Paul Hales
Sent: Monday, October 05, 2009 2:38 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] tdm outgoing


Is inbound working?

Can you see action on the CLI when you send a call to the lines attached
to the card?

PaulH


B.Masoud @ SH wrote:
> Hi
> I installed TDM24 card, made ZAP (DAHDI) trunk, and set outbound all calls
> to that trunk, I am getting all circuits are busy now, do I have to do
> something specific?? I am using elastix.
>
> Thanks.
>
>
>
> ___
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> 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 --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-04 Thread Tzafrir Cohen
On Mon, Oct 05, 2009 at 10:37:52AM +1100, Paul Hales wrote:
> 
> Is inbound working?

Considering he has no channel of type 'ZAP' and he uses Zaptel: no.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-04 Thread Ira
At 04:32 PM 10/4/2009, you wrote:
>Hi
>I installed TDM24 card, made ZAP (DAHDI) trunk, and set outbound all calls
>to that trunk, I am getting all circuits are busy now, do I have to do
>something specific?? I am using elastix.


Sometimes you can't make a call on DAHDI until a call has been 
received. At least I can't.

Ira


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] tdm outgoing

2009-10-04 Thread Paul Hales

Is inbound working?

Can you see action on the CLI when you send a call to the lines attached
to the card?

PaulH


B.Masoud @ SH wrote:
> Hi
> I installed TDM24 card, made ZAP (DAHDI) trunk, and set outbound all calls
> to that trunk, I am getting all circuits are busy now, do I have to do
> something specific?? I am using elastix.
>
> Thanks.
>
>
>
> ___
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> 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 --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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


[asterisk-users] tdm outgoing

2009-10-04 Thread B.Masoud @ SH
Hi
I installed TDM24 card, made ZAP (DAHDI) trunk, and set outbound all calls
to that trunk, I am getting all circuits are busy now, do I have to do
something specific?? I am using elastix.

Thanks.



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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