[eside-ghost] Asterisk no es capaz de utilizar el interfaz rdsi (en realidad Zefe no es capaz de...)

Fernando de Urien y Muñiz zefe en rigel.deusto.es
Mar Nov 25 13:25:18 CET 2008


Iepa!

Aquí sigo a la carga…

Tengo una instalación bastante funcional de Asterisk pero solo a nivel
interno. La verdad es que me compilé el asterisk-gui y es una gozada.
Simplifica casi todos los escenarios de llamada que tenía en mente. Todavía
le veo algunas cosas un poco chapucerillas pero sin duda es una gozada.

 

Al grano! El caso es que tengo compilado el driver misdn y to el rollo, al
iniciar la utilidad de configuración, me la detecta como:

 

<mISDNconf>

        <module poll="128" debug="0" timer="no">hfcmulti</module>

        <module debug="0" options="0">mISDN_dsp</module>

        <devnode user="root" group="root" mode="644">mISDN</devnode>

        <card type="hfcpci">

                <port mode="te" link="ptmp">1</port>

        </card>

</mISDNconf>

 

 

Incluso el gui me la detecta y soy capaz de crear un trunk con ella y
meterla en el dialplan.

El caso, es que no soy capaz de meter llamadas en ella.

 

Si tengo el cable de la rdsi desconectado, me dice que efectivamente está
desconectado (esto está bien porque me asegura que al menos asterisk la
detecta) (bueno, supongo yo que es bueno)(VER TRAZA 1)

 


Tirando de la consola

 

 

nts-asterisk*CLI> misdn show stacks

BEGIN STACK_LIST:

  * Port 1 Type TE Prot. PMP L2Link DOWN L1Link:DOWN Blocked:0  Debug:2

 

 

Sin embargo, con el cable conectado, tampoco rula diciéndome que no hay
canales libres… puff, un líoooo (VER TRAZA 2) y eso que asterisk sí que ve
que hay un enlace levantado…

 

nts-asterisk*CLI> misdn show stacks

BEGIN STACK_LIST:

  * Port 1 Type TE Prot. PMP L2Link DOWN L1Link:UP Blocked:0  Debug:2

 

 

¿se os ocurre algo? ¿qué estoy hacienda mal? Porque seguro que estoy
haciendo mal… :-)

 

Cenquius!!

 

Zefe

 

 

TRAZA 1

    -- Executing [1-dial en macro-trunkdial-failover-0.3:1]
Dial("SIP/6000-082431f8", "mISDN/g:trunk_m1/944762877") in new stack

P[ 0]  --> Group Call group: trunk_m1

P[ 1] Port down PMP

[Nov 25 12:48:44] WARNING[12786]: chan_misdn.c:3231 misdn_request: Could not
Dial out on group 'trunk_m1'.

        Either the L2 and L1 on all of these ports where DOWN (see 'show
application misdn_check_l2l1')

        Or there was no free channel on none of the ports

 

[Nov 25 12:48:44] WARNING[12786]: app_dial.c:1242 dial_exec_full: Unable to
create channel of type 'mISDN' (cause 0 - Unknown)

  == Everyone is busy/congested at this time (1:0/0/1)

    -- Executing [1-dial en macro-trunkdial-failover-0.3:2]
GotoIf("SIP/6000-082431f8", "0 > 0 ?1-CHANUNAVAIL|1:1-out|1") in new stack

    -- Goto (macro-trunkdial-failover-0.3,1-out,1)

    -- Executing [1-out en macro-trunkdial-failover-0.3:1]
Hangup("SIP/6000-082431f8", "") in new stack

  == Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited
non-zero on 'SIP/6000-082431f8' in macro 'trunkdial-failover-0.3'

  == Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited
non-zero on 'SIP/6000-082431f8'

 

 

 

TRAZA 2

 

    -- Executing [1-dial en macro-trunkdial-failover-0.3:1]
Dial("SIP/6001-082431f8", "mISDN/g:trunk_m1/944762877") in new stack

P[ 0]  --> Group Call group: trunk_m1

P[ 0]  --> * NEW CHANNEL dad:944762877 oad:(null)

P[ 1] read_config: Getting Config

P[ 1]  --> TON: Unknown

P[ 1]  --> LTON: Unknown

P[ 1]  --> CTON: Unknown

P[ 1] * CALL: g:trunk_m1/944762877

P[ 1]  --> * dad:0944762877 tech:mISDN/0-u5 ctx:DID_trunk_m1

P[ 1]  --> pres: -1 screen: -1

P[ 1]  --> pres: 0

P[ 1]  --> PRES: Allowed (0x0)

P[ 1]  --> SCREEN: Unscreened (0x0)

P[ 1] NO OPTS GIVEN

P[ 1] I SEND:SETUP oad: dad:944762877 pid:7

P[ 1]  --> channel:0 mode:TE cause:16 ocause:16 rad: cad:

P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0

P[ 1]  --> * SEND: State Dialing pid:7

    -- Called g:trunk_m1/944762877

P[ 1]  --> queue_hangup

P[ 1] * RELEASING CHANNEL pid:7 ctx:DID_trunk_m1 dad:944762877
oad:0944762877 state: CALLING

P[ 1] empty_chan_in_stack: cannot empty channel 255

  == Everyone is busy/congested at this time (1:0/0/1)

    -- Executing [1-dial en macro-trunkdial-failover-0.3:2]
GotoIf("SIP/6001-082431f8", "0 > 0 ?1-CHANUNAVAIL|1:1-out|1") in new stack

    -- Goto (macro-trunkdial-failover-0.3,1-out,1)

    -- Executing [1-out en macro-trunkdial-failover-0.3:1]
Hangup("SIP/6001-082431f8", "") in new stack

  == Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited
non-zero on 'SIP/6001-082431f8' in macro 'trunkdial-failover-0.3'

  == Spawn extension (macro-trunkdial-failover-0.3, 1-out, 1) exited
non-zero on 'SIP/6001-082431f8'

 

 

 

 

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: https://listas.deusto.es/mailman/private/eside-ghost/attachments/20081125/514f149a/attachment-0001.htm 


Más información sobre la lista de distribución eside-ghost