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
On Wed, Feb 16, 2005 at 08:58:41PM +0100, Robert Rozman wrote:> 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 ?Try to Answer the call first. -- Tho/\/\as
asterisk-users-request@lists.digium.com is believed to have said:>On Wed, Feb 16, 2005 at 08:58:41PM +0100, Robert Rozman wrote: >> Hi, >> >> I'm trying to get capiECT working. I'd like to transfer call toanother 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 (1stargument>> to capiECT), but incoming call gets constant sound and obviously loses >> connection. But capi channel is freed. When I lift handset of 400extension,>> asterisk s starts to anounce number that was sent as callerid ... >> >> Any help, hint or working example for capiECT ? > >Try to Answer the call first. > >-- >Tho/\/\asI have the same problem.. I have actually tried to pass calls to non ISDN 'receivers', eg GSM cellphones. This makes me wonder if I understand your hint; is this what you are suggesting? [outbound-capi-local] exten => _4XX,1,NoOp(Transferring to local PBX ISDN number ${EXTEN} on msn CAPI/${CALLERIDNUM}) exten => _4XX,2,Answer() ; <----- ADDED LINE exten => _4XX,3,capiHOLD exten => _4XX,4,capiECT,${CALLERIDNUM:1}:${EXTEN} Thanks, Aldo
On Thu, Feb 17, 2005 at 11:52:16PM +0100, Aldo Bergamini wrote: ...cut> > This makes me wonder if I understand your hint; is this what you are > suggesting? > > [outbound-capi-local] > exten => _4XX,1,NoOp(Transferring to local PBX ISDN number ${EXTEN} on > msn CAPI/${CALLERIDNUM}) > > exten => _4XX,2,Answer() ; <----- ADDED LINE > > exten => _4XX,3,capiHOLD > exten => _4XX,4,capiECT,${CALLERIDNUM:1}:${EXTEN}According to the README from chan_capi source, Yes! Have a look: app_capiECT.c explicit call transfer of the holded call (must put call on hold first!) example: exten => s,1,Answer exten => s,2,capiHOLD exten => s,3,capiECT,55:50 will ECT the call to 50 using 55 as the callerid/outgoing msn -- Tho/\/\as