[asterisk-users] Diva server 4bri and Portuguese BRI

Marco Mouta marco.mouta at gmail.com
Tue Oct 31 05:16:46 MST 2006


Hi Pedro,

pls post your capi.conf! I'm not used with CAPI, but should have something like:

[interfaces]
 incomingmsn=*  ; Here you match MSNs arriving from telco, for debug
let it ' * '
 controller=1
 softdtmf=1
 accountcode=
 context=demo   ;Set this to ext-did that should be the context
TRIXBOX will handle


By the way, Trybox probably has an extensions_custom.conf

In this file try this:

[ext-did-custom]
exten=>_X.,1,Answer
exten=> _X.,n,Noop(Debugging MSNs from Telco: ${EXTEN})
exten=> _X.,n,wait(1)
exten=> _X.,n,playback(tt-monkeys)
exten=>_X.,n,hangup



Hope this helps.

Pls give some feedback


On 10/31/06, Armin Schindler <armin at melware.de> wrote:
> On Tue, 31 Oct 2006, Pedro Silva wrote:
> > Hello,
> >
> > One problem is solved and another appears... :(
> > I cannot receive incoming calls on trixbox. I defined one incoming
> > route (any DID/any CID) and forwading these calls to a SIP extension.
> > With capi and sip debug in "asterisk -r" console i dont detect any
> > incoming activity...
>
> Did you use
>   set verbose 5
>   capi debug
> ?
> If not, you should see anything there. But if you don't see activity with
> this verbose level too, this call is not signaled through capi. In that case
> you should create traces with
>   divactrl ditrace
> (or the trace wizard) to get capi activity too.
>
> Armin
>
> > In xlog console i have the following debug:
> >  0:1898:127 - SIG-R(034) 08 01 0D 05 A1 04 03 80 90 A3 18 01 81 6C 0B
> > 00 83 39 36 33 30 34 35 37 32 33 70 02 81 30 7D 02 91 81
> > Q.931  CR0d SETUP
> > Sending complete
> > Bearer Capability 80 90 a3
> > Channel Id 81
> > Calling Party Number 00 83 '963045723'
> > Called Party Number 81 '0'
> > HLC 91 81
> > 0:1898:127 - SIG-S 0->6 e:805
> > 0:1898:130 - CREATEID ok: context:1f assigned Id:3 freeIds=ec
> > 0:1898:130 - alloc cr in use =4
> > 0:1898:133 - SIG-X(008) 08 01 8D 45 08 02 80 95
> > Q.931  CR8d DISC
> >                        Cause 80 95 'Call rejected'
> > 0:1898:133 - SIG-x(008) 08 01 8D 5A 08 02 80 D8
> > Q.931  CR8d REL_COM
> >                        Cause 80 d8 'Incompatible destination'
> > 0:1898:133 - SIG-S 6->0 e:8c5
> > 0:1898:134 - D-X(012) 00 01 14 16 08 01 8D 5A 08 02 80 D8
> > 0:1898:135 - free cr in use =3
> > 0:1898:135 - DELETEID ok: deleted Id:4 freeIds=ec
> > 0:1898:155 - D-R(004) 00 01 01 16
> >
> > So the problem appears to be "Incompatible destination"... but is
> > problem in asterisk or is before asterisk, on diva card...?
> >
> > Tanks by any possible help!
> > Best regards,
> > PS.
> >
> > 2006/10/29, Pedro Silva <pedromsilva1 at gmail.com>:
> > > Finally this works!!! :)
> > > Tanks to Alberto and Marco by your help!
> > > The problems are:
> > > - the cable was connected to the wong card port... :(
> > > - the card config needs to be: ETSI; TE; Point-to-Point (I thought
> > > that was point-to-multipoint).
> > >
> > > Best regards,
> > > PS.
> > >
> > > 2006/10/29, Pedro Silva <pedromsilva1 at gmail.com>:
> > > > Hello again Alberto!
> > > >
> > > > > Anyway, to get more info, try to open a second shell
> > > > > and run /usr/lib/eicon/divas/xlog
> > > > > then on the first shell redo the telsampl test, then
> > > > > post the output of xlog off the list to my address
> > > > > (alberto at msoft-italia.com)
> > > >
> > > > This is the xlog output:
> > > > 4:1736:074 - CREATEID ok: context:1f assigned Id:6 freeIds=eb
> > > > 4:1736:074 - alloc cr in use =4
> > > > 4:1736:076 - free cr in use =3
> > > > 4:1736:077 - DELETEID ok: deleted Id:6 freeIds=eb
> > > > 4:1736:078 - CREATEID ok: context:1f assigned Id:6 freeIds=eb
> > > > 4:1736:078 - alloc cr in use =4
> > > > 4:1736:080 - free cr in use =3
> > > > 4:1736:080 - DELETEID ok: deleted Id:6 freeIds=eb
> > > > 4:1736:081 - CREATEID ok: context:1f assigned Id:6 freeIds=eb
> > > > 4:1736:081 - alloc cr in use =4
> > > > 4:1736:083 - [1,0] dsp_assign 0016, 0, 2048
> > > > 4:1736:083 - [1,0] CAI[00] 16 00 00 00 00 08
> > > > 4:1736:084 - [1,0] Download 532 requested
> > > > 4:1736:084 - MORE
> > > > 4:1736:085 - SIG-X(029) 08 01 36 05 A1 04 03 80 90 A3 18 01 83
> > > > 1E
> > > > 02 80 83 70 0A 80 39 36 33 30 34 35 37 32 33
> > > > Q.931  CR36 SETUP
> > > > Sending complete
> > > > Bearer Capability 80 90 a3
> > > > Channel Id 83
> > > > Progress Indicator 80 83
> > > > Called Party Number 80 '963045723'
> > > > 4:1736:085 - SIG-S 0->1 e:885
> > > > 4:1736:087 - ACTIVATION_REQ
> > > > 4:1744:147 - L1_DOWN
> > > > 4:1744:150 - SIG-EVENT FFFF 08
> > > >
> > > > 4:1744:150 - SIG-EVENT FFFF 08
> > > >
> > > > 4:1744:150 - EVENT: Call failed in State 'Call initiated'
> > > >                 Link disconnected, Layer-1 error (cable or NT)
> > > > 4:1744:150 - SIG-S 1->0 e:ffff
> > > > 4:1744:151 - [1,0] dsp_release
> > > > 4:1744:155 - free cr in use =3
> > > > 4:1744:156 - DELETEID ok: deleted Id:6 freeIds=eb
> > > >
> > > > I disconnect the rj45 cable from alcatel pbx and connect that to the
> > > > diva card (with alcatel pbx i can make calls normally). The green
> > > > led
> > > > of the diva card is activated when i connect the cable. So i dont
> > > > understand why the message " Link disconnected, Layer-1 error (cable
> > > > or NT)"...
> > > > This debug is th same if the cable is connected to the NT or not.
> > > > Any ideas...? Thanks!
> > > > PS.
> > > >
> > >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>


-- 
Com os melhores cumprimentos,

Marco Mouta


More information about the asterisk-users mailing list