[Asterisk-Users] capiECT problem

Robert Rozman rozman at fri.uni-lj.si
Wed Feb 16 12:58:41 MST 2005


Hi,

I'm trying to get capiECT working. I'd like to transfer call to another ISDN
router connected extension and free channel from router to Asterisk.

I get incoming call on CAPI and would liek to transfer it to dialed local
extension - 400 in this case:

[outbound-capi-local]
exten => _4XX,1,NoOp(Transferring to local PBX ISDN number ${EXTEN} on msn
CAPI/${CALLERIDNUM})
exten => _4XX,2,capiHOLD
exten => _4XX,3,capiECT,${CALLERIDNUM:1}:${EXTEN}


When I dial 400, another extension rings, shows right callerid (1st argument
to capiECT), but incoming call gets constant sound and obviously loses
connection. But capi channel is freed. When I lift handset of 400 extension,
asterisk s starts to anounce number that was sent as callerid ...

Any help, hint or working example for capiECT ?

Thanks in advance,

regards,

Rob.


Follows console session:

   -- Executing NoOp("CAPI[contr1/7104370]/3", "Transferring to local PBX
ISDN number 400 on msn CAPI/0037103780") in new stack
    -- Executing capiHOLD("CAPI[contr1/7104370]/3", "") in new stack
    -- Executing capiECT("CAPI[contr1/7104370]/3", "037103780:400") in new
stack
    -- creating pipe for PLCI=-1
       > sent CONNECT_REQ MN =0x658
    -- Playing 'digits/0' (language 'en')
    -- Playing 'digits/3' (language 'en')
    -- Playing 'digits/7' (language 'en')
    -- Playing 'digits/1' (language 'en')
    -- Playing 'digits/0' (language 'en')
    -- Playing 'digits/3' (language 'en')
    -- Playing 'digits/7' (language 'en')
    -- Playing 'digits/8' (language 'en')
    -- Playing 'digits/0' (language 'en')
    -- Executing Hangup("CAPI[contr1/7104370]/3", "") in new stack
  == Spawn extension (aa_1, h, 1) exited non-zero on
'CAPI[contr1/7104370]/3'
    -- CAPI Hangingup
       > sent DISCONNECT_REQ PLCI=0x201
    -- removed pipe for PLCI = 0x201




More information about the asterisk-users mailing list