[asterisk-r2] Error on ztcfg using libopenr2
Norman Schmidt
norman at omegatecnologia.com
Tue Mar 17 10:53:19 CDT 2009
http://pastebin.com/m403adb6b
> ----- Mensagem Original -----
> Assunto: Re: [asterisk-r2] Error on ztcfg using libopenr2
> De: Moises Silva <moises.silva at gmail.com>
> Para: "Norman Schmidt"
<norman at omegatecnologia.com>,asterisk-r2 at lists.digium.com
> Data: 17/03/2009 12:42
>
>
> <br />
> Norman Schmidt Jr<br />
> <br />
> Omega | Ditel - Soluções que geram produtividade<br />
> <br />
> Santa Maria e Interior RS: (55) 3025.2000<br />
> Porto Alegre e Metropolitana RS: (51) 4009.7500<br />
> Caxias do Sul e Serra RS: (54) 3533.4343<br />
> Email: <a class="blue"
href="javascript:top.main.popup('/office/modules/email/send.php?mail_to=norman at omegatecnologia.com','780','580')">norman at omegatecnologia.com</a><br
/>
> <br />
> <br />
> <blockquote style="border-style: none none none solid; border-color:
-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(34, 67,
127); border-width: 0pt 0pt 0pt 2px; margin: 0px 0px 0px 5px; padding: 0px
0px 0px 5px;"><font face="verdana" size="2">----- Mensagem Original -----<br
/>
> <strong>Assunto: </strong>Re: [asterisk-r2] Error on ztcfg using
libopenr2<br />
> <strong>De: </strong>Moises Silva <moises.silva at gmail.com><br
/>
> <strong> Para: </strong>"Norman Schmidt"
<norman at omegatecnologia.com>,asterisk-r2 at lists.digium.com<br />
> <strong>Data: </strong>17/03/2009 12:42<br />
> </font><br />
> <br />
> pastebin.com the output of 'cat /proc/zaptel/*'<br />
> <br />
> On Tue, Mar 17, 2009 at 11:25 AM, Norman Schmidt<br />
> <norman at omegatecnologia.com> wrote:<br />
> > Hello friends,<br />
> ><br />
> > I compiled zaptel 1.4.12.1, libpri-1.4.9, openr2 1.1.0, Asterisk
1.4.21.2,<br />
> > using the 1.4.21 openR2 patch on Asterisk. Im trying to configure a
test<br />
> > server for openr2 using a 2xE1 digium board with a cross E1 cable:<br
/>
> ><br />
> > My zaptel.conf:<br />
> > span=1,1,0,cas,hdb3<br />
> > span=2,0,0,cas,hdb3<br />
> > cas=1-15:1101<br />
> > cas=17-31:1101<br />
> > cas=32-46:1101<br />
> > cas=48-62:1101<br />
> ><br />
> > My zapata.conf:<br />
> > [channels]<br />
> > usecallerid=yes<br />
> > callwaiting=yes<br />
> > usecallingpres=yes<br />
> > callwaitingcallerid=yes<br />
> > threewaycalling=yes<br />
> > transfer=yes<br />
> > canpark=yes<br />
> > cancallforward=yes<br />
> > callreturn=yes<br />
> > echocancel=yes<br />
> > echotrainning=yes<br />
> > echocancelwhenbridged=yes<br />
> > signalling=mfcr2<br />
> > mfcr2_variant=br<br />
> > mfcr2_get_ani_first=no<br />
> > mfcr2_max_ani=20<br />
> > mfcr2_max_dnis=20<br />
> > mfcr2_category=national_subscriber<br />
> > mfcr2_logdir=span1<br />
> > mfcr2_logging=all<br />
> > group=1<br />
> > callgroup=1<br />
> > pickupgroup=1<br />
> > callerid=asreceived<br />
> > context=from-pstn<br />
> > channel => 1-15,17-31<br />
> ><br />
> > The zaptel and board modules are loaded, the board got its IRQ,
everything<br />
> > seems fine on dmesg (modules output), but when I try to run ztcfg
-vvvvvf,<br />
> > it bombs out with "ZT_SPANCONFIG failed on span 1: Invalid
argument (22)".<br />
> ><br />
> > I tried to use r2test creating a testr2.conf :<br />
> > variant=br<br />
> > caller=no<br />
> > maxani=10<br />
> > maxdnis=4<br />
> > channel=1-15<br />
> ><br />
> > and:<br />
> > r2test -c testr2.conf<br />
> ><br />
> > also ends in a "SYSTEM CALL FAILED" error:<br />
> ><br />
> > found R2 variant = br<br />
> > found MAX ANI= 10<br />
> > found MAX DNIS= 4<br />
> > found channel range = 1-15<br />
> > failed to create R2 channel 1: System call failed<br />
> > Aborting test.<br />
> ><br />
> > Did I compiled something wrong? I followed "The OpenR2 Guide
– January<br />
> > 2009 - Version 0.1" from Moisés Silva to do it.<br />
> ><br />
> ><br />
> ><br />
> > _______________________________________________<br />
> > --Bandwidth and Colocation Provided by
http://www.api-digital.com--<br />
> ><br />
> > asterisk-r2 mailing list<br />
> > To UNSUBSCRIBE or update options visit:<br />
> > http://lists.digium.com/mailman/listinfo/asterisk-r2<br />
> <br />
> <br />
> <br />
> -- <br />
> "I do not agree with what you have to say, but I’ll defend to
the<br />
> death your right to say it." Voltaire<br />
> </blockquote>pastebin.com the output of 'cat /proc/zaptel/*'
>
> On Tue, Mar 17, 2009 at 11:25 AM, Norman Schmidt
> <norman at omegatecnologia.com> wrote:
> > Hello friends,
> >
> > I compiled zaptel 1.4.12.1, libpri-1.4.9, openr2 1.1.0, Asterisk
1.4.21.2,
> > using the 1.4.21 openR2 patch on Asterisk. Im trying to configure a test
> > server for openr2 using a 2xE1 digium board with a cross E1 cable:
> >
> > My zaptel.conf:
> > span=1,1,0,cas,hdb3
> > span=2,0,0,cas,hdb3
> > cas=1-15:1101
> > cas=17-31:1101
> > cas=32-46:1101
> > cas=48-62:1101
> >
> > My zapata.conf:
> > [channels]
> > usecallerid=yes
> > callwaiting=yes
> > usecallingpres=yes
> > callwaitingcallerid=yes
> > threewaycalling=yes
> > transfer=yes
> > canpark=yes
> > cancallforward=yes
> > callreturn=yes
> > echocancel=yes
> > echotrainning=yes
> > echocancelwhenbridged=yes
> > signalling=mfcr2
> > mfcr2_variant=br
> > mfcr2_get_ani_first=no
> > mfcr2_max_ani=20
> > mfcr2_max_dnis=20
> > mfcr2_category=national_subscriber
> > mfcr2_logdir=span1
> > mfcr2_logging=all
> > group=1
> > callgroup=1
> > pickupgroup=1
> > callerid=asreceived
> > context=from-pstn
> > channel => 1-15,17-31
> >
> > The zaptel and board modules are loaded, the board got its IRQ,
everything
> > seems fine on dmesg (modules output), but when I try to run ztcfg
-vvvvvf,
> > it bombs out with "ZT_SPANCONFIG failed on span 1: Invalid argument
(22)".
> >
> > I tried to use r2test creating a testr2.conf :
> > variant=br
> > caller=no
> > maxani=10
> > maxdnis=4
> > channel=1-15
> >
> > and:
> > r2test -c testr2.conf
> >
> > also ends in a "SYSTEM CALL FAILED" error:
> >
> > found R2 variant = br
> > found MAX ANI= 10
> > found MAX DNIS= 4
> > found channel range = 1-15
> > failed to create R2 channel 1: System call failed
> > Aborting test.
> >
> > Did I compiled something wrong? I followed "The OpenR2 Guide – January
> > 2009 - Version 0.1" from Moisés Silva to do it.
> >
> >
> >
> > _______________________________________________
> > --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