<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
is this&nbsp; you want??<br>
in your extension.conf <br>
<br>
Dial(DAHDI/G1/${EXTEN:1})<br>
<br>
g: select the lowest-numbered non-busy DAHDI channel<br>
&nbsp;&nbsp; (aka. ascending sequential hunt group).<br>
G: select the highest-numbered non-busy DAHDI channel<br>
&nbsp;&nbsp;&nbsp; (aka. descending sequential hunt group).<br>
r: use a round-robin search, starting at the next highest channel than
last<br>
&nbsp;&nbsp;&nbsp; time (aka. ascending rotary hunt group).<br>
R: use a round-robin search, starting at the next lowest channel than
last<br>
&nbsp;&nbsp;&nbsp; time (aka. descending rotary hunt group).<br>
<br>
<br>
El 09/07/09 11:30, Joao Gomes Pereira escribi&oacute;:
<blockquote cite="mid:4A561B39.3090006@startel.pt" type="cite">
  <pre wrap="">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:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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 =&gt;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@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



    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>