Klaus Darilion
2006-May-16 12:27 UTC
[Asterisk-Users] chan_capi-cm and dialing without number
Hi! Is it possible to bridge a call (incoming call leg is from the PBX, outgoing call leg is to the PSTN) without even dialing a number. Thus, the dial tone received from the PSTN should be forwarded to the PBX, and the overlap digits received from the PBX should be forwarded to the PSTN. I tried the following, but it does not work. Is there a workaround? [frompbx] exten => s,1,Dial(CAPI/g1//b,90) thanks klaus
Klaus Darilion
2006-May-16 12:47 UTC
[Asterisk-Users] chan_capi-cm and dialing without number
Klaus Darilion wrote:> Hi! > > Is it possible to bridge a call (incoming call leg is from the PBX, > outgoing call leg is to the PSTN) without even dialing a number. Thus, > the dial tone received from the PSTN should be forwarded to the PBX, and > the overlap digits received from the PBX should be forwarded to the PSTN. > > I tried the following, but it does not work. Is there a workaround? > > [frompbx] > exten => s,1,Dial(CAPI/g1//b,90)update: this works (i had a typo and use B isntead of b). But the problem is that each digit received is sent twice to the net: Does someone have any hints? thanks klaus -- Executing Goto("CAPI/ISDN4/-34", "fromfax|s|1") in new stack -- Goto (fromfax,s,1) -- Executing Dial("CAPI/ISDN4/-34", "CAPI/g1//b|90") in new stack -- Called g1//b -- CAPI/ISDN2/-35 is making progress passing it to CAPI/ISDN4/-34 == ISDN2: Setting up echo canceller (PLCI=0x302, function=1, options=4, tail=64) == ISDN4: Setting up echo canceller (PLCI=0x104, function=1, options=4, tail=64) -- ISDN2: Echo canceller successfully set up (PLCI=0x302) -- ISDN4: Echo canceller successfully set up (PLCI=0x104) -- ISDN4: Updated channel name: CAPI/ISDN4/0-36 -- ISDN2: Updated channel name: CAPI/ISDN2/0-37 -- ISDN2: Updated channel name: CAPI/ISDN2/00-38 -- ISDN4: Updated channel name: CAPI/ISDN4/00-39 -- ISDN2: Updated channel name: CAPI/ISDN2/000-3a -- ISDN2: Updated channel name: CAPI/ISDN2/0000-3b -- ISDN4: Updated channel name: CAPI/ISDN4/004-3c -- ISDN2: Updated channel name: CAPI/ISDN2/00004-3d -- ISDN2: Updated channel name: CAPI/ISDN2/000044-3e -- ISDN4: Updated channel name: CAPI/ISDN4/0043-3f -- ISDN2: Updated channel name: CAPI/ISDN2/0000443-40 -- ISDN2: Updated channel name: CAPI/ISDN2/00004433-41 -- ISDN4: Updated channel name: CAPI/ISDN4/00437-42 -- ISDN2: Updated channel name: CAPI/ISDN2/000044337-43 -- ISDN2: Updated channel name: CAPI/ISDN2/0000443377-44 -- ISDN4: Updated channel name: CAPI/ISDN4/004372-45 -- ISDN2: Updated channel name: CAPI/ISDN2/00004433772-46 -- ISDN2: Updated channel name: CAPI/ISDN2/000044337722-47
Armin Schindler
2006-May-16 12:54 UTC
[Asterisk-Users] chan_capi-cm and dialing without number
On Tue, 16 May 2006, Klaus Darilion wrote:> Hi! > > Is it possible to bridge a call (incoming call leg is from the PBX, outgoing > call leg is to the PSTN) without even dialing a number. Thus, the dial tone > received from the PSTN should be forwarded to the PBX, and the overlap digits > received from the PBX should be forwarded to the PSTN.Yes, this is possible. I use that all the time.> I tried the following, but it does not work. Is there a workaround? > > [frompbx] > exten => s,1,Dial(CAPI/g1//b,90)That is correct. I use options /bo , but that should not make any difference in that case. At least that example must provide a dialtone to you and the possibility to dial your digits. What exactly does not work? Armin