I am using the AMI to dispatch (2) calls to Local/my_priority at my_context where: [my_context] exten => my_priority,1,Answer() exten => my_priority,n,Dial(${LOCAL_DIAL}) and LOCAL_DIAL has the actual phone number to dial. The first call goes through just fine and I see DAHDI/1/XXXX being called. The second call I see DAHDI/2/XXXX and a message about everyone is busy on congested. I presume I can have more than one local channel active? My AMI channel line is: Channel: Local/my_priority at my_context for both calls. I have a Variable with the LOCAL_DIAL set. I am using DAHDI 2.2.0 with libpri 1.4.10.2 and asterisk 1.4.26.2 With a PRI connection. All normal calls to phones work fine. When I make my (2) local calls all 23 lines are idle. Is there something I am missing? Why would I not be able to make 2 local channel calls at the same time? Jerry
Jerry Geis wrote:> I am using the AMI to dispatch (2) calls to Local/my_priority at my_context > where: > [my_context] > exten => my_priority,1,Answer() > exten => my_priority,n,Dial(${LOCAL_DIAL}) > > and LOCAL_DIAL has the actual phone number to dial. > > The first call goes through just fine and I see DAHDI/1/XXXX being > called. The second call I see > DAHDI/2/XXXX and a message about everyone is busy on congested. > > I presume I can have more than one local channel active? My AMI channel > line is: > Channel: Local/my_priority at my_context for both calls. I have a Variable > with the LOCAL_DIAL set.That is correct. It sounds like your need to make sure you're using the same trunk group within DAHDI over and over: Dial(DAHDI/1/${LOCAL_DIAL}) -- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671
> > Jerry Geis wrote: > >/ I am using the AMI to dispatch (2) calls to Local/my_priority at my_context <http://lists.digium.com/mailman/listinfo/asterisk-users> > />/ where: > />/ [my_context] > />/ exten => my_priority,1,Answer() > />/ exten => my_priority,n,Dial(${LOCAL_DIAL}) > />/ > />/ and LOCAL_DIAL has the actual phone number to dial. > />/ > />/ The first call goes through just fine and I see DAHDI/1/XXXX being > />/ called. The second call I see > />/ DAHDI/2/XXXX and a message about everyone is busy on congested. > />/ > />/ I presume I can have more than one local channel active? My AMI channel > />/ line is: > />/ Channel: Local/my_priority at my_context <http://lists.digium.com/mailman/listinfo/asterisk-users> for both calls. I have a Variable > />/ with the LOCAL_DIAL set. > / > That is correct. > > It sounds like your need to make sure you're using the same trunk > group within DAHDI over and over: > > Dial(DAHDI/1/${LOCAL_DIAL}) >Alex, My Dial() command is Dial($LOCAL_DIAL) and for the first call it is DAHDI/1/XXXX and for the second call it is DAHDI/2/XXX. My LOCAL_DIAL has the complete dial command DAHDI/xx/YYYY So I am using line 1 and line 2 of the PRI connection. I dont see why the second call is saying - everyone busy or congested at this time. These are the only 2 calls active. One on line 1 and one on line 2. Only 2 of the 23 lines available am I using. All 23 lines are in the same group. How do I tell why it thinks its busy? Thanks, Jerry
> > >/ My Dial() command is Dial($LOCAL_DIAL) > / > Perhaps you should be using: > > Dial(${LOCAL_DIAL}) >Steve, Thanks I tried that also and same result. Jerry
LOCAL_DIAL is populated???? - exten => s,1,Verbose(call ${LOCAL_DIAL}) - exten => s,2,Dial(${LOCAL_DIAL}) -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jerry Geis Sent: Monday, November 09, 2009 3:17 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] local channels> > >/ My Dial() command is Dial($LOCAL_DIAL) > / > Perhaps you should be using: > > Dial(${LOCAL_DIAL}) >Steve, Thanks I tried that also and same result. Jerry _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users