[Asterisk-Users] ISDN Dialout

Stefan Sowa asterisk at postfix.ath.cx
Mon Jan 3 15:32:33 MST 2005


Stefan Sowa wrote:
> exten => s,2,Dial(CAPI/3231)
> Jan  3 21:54:25 WARNING[-1251943504]: chan_capi.c:653 capi_call: Destination 3231 requres a real destination
>     -- Couldn't call 3231
>   == Everyone is busy/congested at this time

ok, there is missing a destination. The documentation says:


Enjoying early B3 connects (inband call progress, tones and announcements)
==========================================================================
early B3 is now configurable in the dialstring :)
if you prefix the destination number with a 'b' early B3 will always be used, also if the call fails
because the number is unprovisioned, etc ...
if you prefix it with a 'B' early B3 will only be used on successful calls, giving you ring indication,etc...

dont use indications in the Dial command, your local exchange will do that for you: 
exten => s,1,Dial(CAPI/12345678:B${EXTEN},30)           (early B3 on success)
exten => s,1,Dial(CAPI/12345678:b${EXTEN},30)           (always early B3)
exten => s,1,Dial(CAPI/12345678:${EXTEN},30,r)          (no early B3, fake ring indication)

exten => s,1,Dial(CAPI/12345678:b${EXTEN},30,r)         (always early B3, fake indicatons if the exchange
                                                        does not give us indications)
exten => s,1,Dial(CAPI/12345678:B${EXTEN},30,r)         (early B3 on success, fake indicatons if the exchange
                                                        does not give us indications)

you can totally turn B3 off in the Makefile at buildtime (-DNEVER_EVER_EARLY_B3_CONNECTS).
For normal PBX use you would use the "b" option, always early B3.
---------------

(I've checked the Makefile too.)

But it doesn't work:
[telekomout]
exten => s,1,Playback(my-isdnleitung)
exten => s,2,Dial(CAPI/3231:b) ; (B doesn't work too.)

    -- Executing Dial("Zap/2-1", "CAPI/3231:b") in new stack
    -- creating pipe for PLCI=-1
    -- Called 3231:b
    -- CAPI[contr1/3231]/1 is making progress passing it to Zap/2-1

i can't hear a dialtone.

This are my modules:
Module                  Size  Used by
mISDN_dtmf              9576  0 
avmfritz               23308  0 
mISDN_isac             16000  1 avmfritz
mISDN_capi            102912  1 
mISDN_l2               43968  0 
mISDN_l1               12296  0 
mISDN_core             73760  7 mISDN_dtmf,avmfritz,mISDN_isac,mISDN_capi,mISDN_l2,mISDN_l1
capi                   18496  4 
zaphfc                 13076  3 
zaptel                225412  11 zaphfc
capifs                  5832  2 capi

I tried to load the l3udss1 module, but no success.

The CAPI debug says:
[quote]
  == CAPI Call CAPI[contr1/3231]/2 with B3    -- creating pipe for PLCI=-1
    -- Called 3231:b
    -- CONNECT_CONF ID=001 #0x0008 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- CONNECT_CONF ID=001 #0x0008 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

  == received CONNECT_CONF PLCI = 0x101 INFO = 0
    -- INFO_IND ID=001 #0x0009 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x800d
  InfoElement                     = default

    -- INFO_IND ID=001 #0x0009 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x800d
  InfoElement                     = default

    -- INFO_IND ID=001 #0x000b LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

    -- INFO_IND ID=001 #0x000b LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

    -- CAPI[contr1/3231]/2 is making progress passing it to Zap/2-1
    -- Channel 0/2, span 1 got hangup
    -- CAPI Hangingup
       > activehangingup
    -- DISCONNECT_CONF ID=001 #0x0009 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- DISCONNECT_CONF ID=001 #0x0009 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- DISCONNECT_IND ID=001 #0x000c LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x0

  == DISCONNECT_IND PLCI=0x101 REASON=0
    -- removed pipe for PLCI = 0x101
  == Spawn extension (telekomout, s, 2) exited non-zero on 'Zap/2-1'
    -- Hungup 'Zap/2-1'
[/quote]


i get no tone, but a silent line. There is something going out, but i can't hear anything and it's not possible to dial.

help is welcome ;-)

regards
Stefan



More information about the asterisk-users mailing list