[asterisk-users] local channels

Alex Balashov abalashov at evaristesys.com
Mon Nov 9 14:42:57 CST 2009


I think the problem is that the way this works - if I'm not mistaken - 
is that the attribute after the first delimeter in the channel string 
is a trunk group and not a channel.

In other words, DAHDI/1 refers to circuit 1, not B-channel 1 of 
circuit 1.  B-channel 1 would be DAHDI/1/1.

Jerry Geis wrote:

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


-- 
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671



More information about the asterisk-users mailing list