On Mon, Jan 09, 2006 at 03:50:55PM +0100, Armin Schindler wrote:
> On Mon, 9 Jan 2006, Louis-David Mitterrand wrote:
> > 
> > I am now using a cross cable and the green led lights up on the Diva
> > port when plugging the phone in.
> > 
> > When dialing from the phone I get no debug or trace at the asterisk
> > console, only a "not possible" message on the phone display and busy
> > tone. Is there some configuration to do on the phone itself?
> 
> No, the phone does not need special settings. Does the phone have own power 
> supply? If not, then it will not work, because devices on the NT-mode card 
> must provide own power.

The Gigaset SX440isdn has its own power supply.

> > When dialing from asterisk I get this:
> > 
> >     CAPI Debugging Enabled
> >                > CAPI INFO 0x3302: Protocol error layer 2
> 
> The line/protocol still seem to be set up wrong.
> Can you provide a mlog for in/out calls?

Here is the mlog with an attempt to Dial(CAPI/DIVA2/146472131):

        [C:4] 22:0167:202 - D-X(003) 02 01 7F
        [C:4] 22:0168:202 - D-X(003) 02 01 7F
        [C:4] 22:0169:202 - D-X(003) 02 01 7F
        [C:4] 22:0170:202 - D-X(003) 02 01 7F
        [C:4] 22:0171:201 - MDL-ERROR(G)
        [C:4] 22:0171:202 - SIG-EVENT FFFF 0A

        [C:4] 22:0172:202 - D-X(003) 02 01 7F
        [C:4] 22:0173:202 - D-X(003) 02 01 7F
        [C:4] 22:0174:202 - D-X(003) 02 01 7F
        [C:4] 22:0175:202 - D-X(003) 02 01 7F
        [C:4] 22:0176:201 - MDL-ERROR(G)
        [C:4] 22:0176:202 - SIG-EVENT FFFF 0A

        [C:4] 22:0177:202 - D-X(003) 02 01 7F
        [C:4] 22:0178:202 - D-X(003) 02 01 7F
        [C:4] 22:0179:202 - D-X(003) 02 01 7F
        [C:4] 22:0180:202 - D-X(003) 02 01 7F
        [C:4] 22:0181:201 - MDL-ERROR(G)
        [C:4] 22:0181:202 - SIG-EVENT FFFF 0A

        [C:4] 22:0182:202 - D-X(003) 02 01 7F
        [C:4] 22:0183:201 - D-X(003) 02 01 7F
        [C:4] 22:0183:846 - CREATEID ok: context:1f assigned Id:5 freeIds=ec
        [C:4] 22:0183:847 - alloc cr in use =3
        [C:4] 22:0183:848 - [20] N-ASSIGN REQ Id:NL_ID, Ch:00
        [C:4] 22:0183:848 - CREATEID ok: context:3f assigned Id:6 freeIds=eb
        [C:4] 22:0183:848 - B2Assign  01 -- -- -- -- -- -- -- -- -- -- -- -- -- 
-- --
        [C:4] 22:0183:848 - B2Assign 1 Sig=05 d_id=01
        [C:4] 22:0183:848 - Assign L2:2 L3:4 free:2389/2400 l:160 d:25480 
fc:16000/15500
        [C:4] 22:0183:848 - Layer 2 Transparent
        [C:4] 22:0183:849 - [21] N-RC=ASSIGN_OK Id:06, Ch:00
        [C:4] 22:0183:850 - [1,0] dsp_assign 0016, 0, 160
        [C:4] 22:0183:850 - [1,0] CAI[00] 16 00 00 00 a0 00
        [C:4] 22:0183:850 - [1,0] Download 512 requested
        [C:4] 22:0183:851 - MORE
        [C:4] 22:0183:851 - SIG-X(043) 08 01 11 05 A1 04 03 80 90 A3 18 01 81 
1E 02 80 83 6C 0C 00 80 30 31 34 36 34 37 32 31 33 30 70 0A 80 31 34 36 34 37 
32 31 33 31
                                                 Q.931  CR11 SETUP
                                                                Sending complete
                                                                Bearer 
Capability 80 90 a3
                                                                Channel Id 81
                                                                Progress 
Indicator 80 83
                                                                Calling Party 
Number 00 80 '0146472130'
                                                                Called Party 
Number 80 '146472131'
        [C:4] 22:0183:852 - SIG-S 0->1 e:885
        [C:4] 22:0184:202 - D-X(003) 02 01 7F
        [C:4] 22:0185:202 - D-X(003) 02 01 7F
        [C:4] 22:0186:201 - MDL-ERROR(G)
        [C:4] 22:0186:202 - SIG-EVENT FFFF 0A

        [C:4] 22:0186:202 - SIG-EVENT FFFF 0A

        [C:4] 22:0186:203 - EVENT: Call failed in State 'Call initiated'
                                                 Link disconnected, TEI error
        [C:4] 22:0186:203 - SIG-S 1->0 e:ffff
        [C:4] 22:0186:204 - [1,0] dsp_release
        [C:4] 22:0186:207 - [22] N-REMOVE REQ Id:06, Ch:00
        [C:4] 22:0186:208 - B2Release  01 05 -- -- -- -- -- -- -- -- -- -- -- 
-- -- --
        [C:4] 22:0186:208 - B2Release 1, free:2391, nomsg:0
        [C:4] 22:0186:208 - Release - Layer 2 Transparent
        [C:4] 22:0186:208 - DELETEID ok: deleted Id:6 freeIds=eb
        [C:4] 22:0186:208 - [23] N-RC=OK Id:06, Ch:00
        [C:4] 22:0186:209 - free cr in use =2
        [C:4] 22:0186:209 - DELETEID ok: deleted Id:5 freeIds=ec
        [C:4] 22:0187:202 - D-X(003) 02 01 7F
        [C:4] 22:0188:202 - D-X(003) 02 01 7F
        [C:4] 22:0189:202 - D-X(003) 02 01 7F
        [C:4] 22:0190:202 - D-X(003) 02 01 7F
        [C:4] 22:0191:201 - MDL-ERROR(G)
        [C:4] 22:0191:202 - SIG-EVENT FFFF 0A


> > I'm not quite sure I got the syntax right for isdn phones in NT mode.
> 
> The syntax for dial() is the same like for TE-mode.

OK.

> > By the way, when two phones are plugged in a Diva port with a Y-plug how
> > does one dial each phone separately?
> 
> I never tested PtMP with NT-mode and I don't know if this will work.
> 
> > Do they have an "address"?
> 
> They have phone numbers! 

Got that finally. I programmed the MSN into the gigaset handset
(146472131) and added it to the dial string, with no effect.

Many thanks for your help,
_______________________________________________
--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

Reply via email to