[asterisk-r2] Elastix-1.5 Open R2

Moises Silva moises.silva at gmail.com
Wed Apr 1 15:58:51 CDT 2009


if this really were a loop you would see an outgoing call along with
the incoming call, in your logs I only see the outgoing call which is
hangup because the other side refuses to accept the call.

On Wed, Apr 1, 2009 at 4:38 PM, "ROQUÉ, Francisco Emiliano"
<froque at 3tech.com.ar> wrote:
> Thacks for all replies...Sorry for posting in Spanish...
>
> I´m using a loopback test (pins 1-->4  and 2--->5) for my TE121P with E1
> line... the call outgoing transforms in one incoming call.... (IVR and
> then QUEUE)... but It does not work yet...
>
> Debugging one call, i see:
>
>
> [Apr  1 17:06:11] VERBOSE[15399] logger.c:     -- Executing
> [s at macro-dialout-trunk:26] Dial("SIP/303-08a2fe30",
> "dahdi/g1/111111111222222333333|300|") in new stack
> [Apr  1 17:06:11] NOTICE[15399] app_dial.c: Hey! chan SIP/303-08a2fe30's
> context='macro-dialout-trunk', and exten='s'
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: no MFC/R2 category
> specified for chan DAHDI/1-1, using default National Subscriber
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: Chan 1 - Attempting to make
> call (ANI=7777, DNIS=111111111222222333333, category=National Subscriber)
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: Chan 1 - CAS Tx >> [SEIZE] 0x00
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x01
> [Apr  1 17:06:11] VERBOSE[15399] logger.c:     -- Called
> g1/111111111222222333333
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: bits changed in chan 1
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: Chan 1 - Bits changed from
> 0x08 to 0x00
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: Chan 1 - CAS Rx << [FORCED
> RELEASE] 0x00
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: Chan 1 - Disconnection
> before seize ack detected![Apr  1 17:06:11] NOTICE[15399] chan_dahdi.c:
> Chan 1 - Far end disconnected. Reason: Forced Release
> [Apr  1 17:06:11] NOTICE[15399] chan_dahdi.c: MFC/R2 call disconnected
> on chan 1
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: disconnecting MFC/R2 call
> on chan 1
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: Chan 1 - CAS Tx >> [CLEAR
> FORWARD] 0x08
> [Apr  1 17:06:11] DEBUG[15399] chan_dahdi.c: Chan 1 - CAS Raw Tx >> 0x09
> [Apr  1 17:06:11] VERBOSE[15399] logger.c:     -- Hungup 'DAHDI/1-1'
>
>
>
> The configuration files are:
>
> /etc/dahdi/system.conf
>
> span=1,1,0,cas,hdb3
>
> cas=1-15:1101
> dchan=16
> cas=17-31:1101
>
>
> loadzone        = us
> defaultzone     = us
>
>
> /etc/asterisk/chan_dahdi.conf:
>
> [channels]
> context=from-pstn
> rxwink=300              ; Atlas seems to use long (250ms) winks
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=no
> faxdetect=incoming
> echotraining=800
> rxgain=0.0
> txgain=0.0
> callgroup=1
> pickupgroup=1
> language=es
> signalling=mfcr2
> group=1
> mfcr2_variant=ar
> mfcr2_max_ani=10
> mfcr2_max_dnis=4
> mfcr2_logging=all
> channel=1-15
> channel=17-31
>
> immediate=no
>
> Versions:
>
> libopenr2-1.1.0-1
>
> Elastix: 1.5.9
>
> CentOS: 5.1
>
> dahdi-2.1.0.4-5
>
>
> Someone can help me?
>
> Regards
>
> --
> Ing Francisco Roqué
> 3Tech SRL
> Plaza Paso Nº92, EP B
> Buenos Aires, Argentina.
> Tel. +54 11 5252 8727
>     +54 221 4255116
> www.3tech.com.ar
>
>
>
> Gerardo Barajas wrote:
>> Sorry for posting in Spanish
>>
>> Samuel Goldwyn  - "I don't think anyone should write their
>> autobiography until after they're dead."
>>
>> 2009/4/1 Gerardo Barajas <gerardo.barajas at gmail.com
>> <mailto:gerardo.barajas at gmail.com>>
>>
>>     Dado que Elastix 1.5 trae dahdi y libopenr2, pues la marcacion es:
>>     dahdil/g0/${EXTEN}, o algo asi :P
>>
>>     Bob Hope  - "You know you are getting old when the candles cost
>>     more than the cake."
>>
>>     2009/4/1 "ROQUÉ, Francisco Emiliano" <froque at 3tech.com.ar
>>     <mailto:froque at 3tech.com.ar>>
>>
>>         Moisés, te hago una consulta.
>>         Estoy usando Elastix 1.5, el cuál trae soporte nativo para la
>>         señalización R2 justamente con openr2. La consulta es la
>>         siguiente:
>>         como sería la sintaxis del comando Dial() usando esta librería?...
>>         Antes con Unicall, hacía un Dial sobre Unicall/g0/${EXTEN}....
>>         como
>>         sería ahora con openr2?
>>
>>         Ya tengo configurada la placa TE121P, veo los canales con
>>         mfcr2 show
>>         channels desde la consola de asterisk en estado idle... pero no
>>         encuentro documentación ni mucha ayuda acerca de como crear los
>>         troncales y rutas salientes con esta libreria...
>>
>>         Desde ya muchas gracias
>>
>>         Saludos, Francisco
>>
>>         --
>>         Ing Francisco Roqué
>>         3Tech SRL
>>         Plaza Paso Nº92, EP B
>>         Buenos Aires, Argentina.
>>         Tel. +54 11 5252 8727
>>             +54 221 4255116
>>         www.3tech.com.ar <http://www.3tech.com.ar>
>>
>>
>>         _______________________________________________
>>         --Bandwidth and Colocation Provided by
>>         http://www.api-digital.com--
>>
>>         asterisk-r2 mailing list
>>         To UNSUBSCRIBE or update options visit:
>>           http://lists.digium.com/mailman/listinfo/asterisk-r2
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-r2 mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-r2
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>



-- 
"I do not agree with what you have to say, but I’ll defend to the
death your right to say it." Voltaire



More information about the asterisk-r2 mailing list