[asterisk-r2] dialling with dadhi - R2

Moises Jacobo moy at tonalaonline.net
Thu Jul 9 11:35:57 CDT 2009


is this  you want??
in your extension.conf

Dial(DAHDI/G1/${EXTEN:1})

g: select the lowest-numbered non-busy DAHDI channel
   (aka. ascending sequential hunt group).
G: select the highest-numbered non-busy DAHDI channel
    (aka. descending sequential hunt group).
r: use a round-robin search, starting at the next highest channel than last
    time (aka. ascending rotary hunt group).
R: use a round-robin search, starting at the next lowest channel than last
    time (aka. descending rotary hunt group).


El 09/07/09 11:30, Joao Gomes Pereira escribió:
> I think my problem is the same as your's.
> How can i force the calls to go through the upper channels?
>
> Como dividiste para que saque por los canales bajos y NO saque por los 
> canales altos?
>
> Thanks
> Regards
> Joao Pereira
>
> Joao Gomes Pereira escreveu:
>   
>> Hello to all
>> Im already receiving calls with R2 chan_dahdi, but I cannot place calls.
>> Here is my config:
>>
>> chan_dahdi -------------------------------
>>
>> [channels]
>> language=en
>> context=incomingr2
>> signalling=mfcr2
>> mfcr2_variant=ar
>> switchtype=national
>> mfcr2_get_ani_first=no
>> mfcr2_max_ani=20
>> mfcr2_max_dnis=9
>> mfcr2_category=national_subscriber
>> group=1
>> channel =>1-15,17-31
>>
>>
>>
>> system.conf -------------------------
>> span=1,1,0,cas,hdb3
>> cas=1-15:1101
>> dchan=16
>> cas=17-31:1101
>>
>>
>> Here is the error:----------------------------------------
>>     -- Executing [912300906 at default:1] Dial("SIP/212-087211a8", 
>> "DAHDI/g1/912300906") in new stack
>>     -- Called g1/912300906
>> WARNING[10474]: chan_dahdi.c:1304 dahdi_r2_write_log: Chan 1 - Seize 
>> Timeout Expired!
>>  ERROR[10474]: chan_dahdi.c:1307 dahdi_r2_write_log: Chan 1 - Protocol 
>> error. Reason = Seize Timeout, R2 State = Seize Transmitted, MF state = 
>> MF Engine Off, MF Group = Forward MF init, CAS = 0x08
>> DNIS = 912300906, ANI = 212, MF = 0x20
>>  ERROR[10474]: chan_dahdi.c:1058 dahdi_r2_on_protocol_error: MFC/R2 
>> protocol error on chan 1: Seize Timeout
>>  ERROR[10474]: chan_dahdi.c:1307 dahdi_r2_write_log: Chan 1 - Cannot 
>> disconnect call when we dont have a call to disconnect
>>  NOTICE[10474]: chan_dahdi.c:1089 dahdi_r2_disconnect_call: Bad! failed 
>> to disconnect call on channel 1 with reason Normal Clearing, hope for 
>> the best!
>>     -- Hungup 'DAHDI/1-1'
>>   == Everyone is busy/congested at this time (1:0/0/1)
>>   == Auto fallthrough, channel 'SIP/212-087211a8' status is 'CHANUNAVAIL'
>>
>>
>>
>>
>> What could be the problem?
>> Thanks
>> Regards
>> Joao Pereira
>>
>>
>>
>>     
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20090709/ccec8093/attachment.htm 


More information about the asterisk-r2 mailing list