Bastian Schern
2005-Sep-29 04:16 UTC
[Asterisk-Users] chan_cap-cm-0.6 is not working for incomming calls
Hi, I tried to use the version 0.6 of chan_capi-cm for outgoing calls it works perfectly but for incoming calls it will not work: --- snip --- *CLI> capi debug CAPI Debugging Enabled -- CONNECT_IND (PLCI=0x101,DID=97,CID=0179903xxxx,CIP=0x1,CONTROLLER=0x1) == reventix: Incoming call '0179903xxxx' -> '97' -- reventix: info element CALLED PARTY NUMBER -- reventix: info element CHANNEL IDENTIFICATION 89 Urgent handler -- reventix: info element CALLED PARTY NUMBER -- reventix: info element CHANNEL IDENTIFICATION 89 Urgent handler == reventix: CAPI Hangingup == reventix: Interface cleanup PLCI=0x101 Urgent handler --- snap --- --- snip: capi.conf --- [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 ;ulaw=yes [reventix] ;ntmode=yes isdnmode=msn incomingmsn=* controller=1 group=1 ;prefix=0 softdtmf=on relaxdtmf=on accountcodecontext=reventix-incoming holdtype=local ;immediate=yes ;echosquelch=1 ;echocancel=yes echocancelold=yes ;echotail=64 ;bridge=yes ;callgroup=1 ;deflect=1234567 devices=2 --- snap --- Asterisk is located behind a EURACOM PBX. With chan_capi-cm 0.5.4 it worked good. What's going wrong in my configuration? Regards Bastian
Armin Schindler
2005-Sep-29 04:50 UTC
[Asterisk-Users] chan_cap-cm-0.6 is not working for incomming calls
On Thu, 29 Sep 2005, Bastian Schern wrote:> Hi, > > I tried to use the version 0.6 of chan_capi-cm for outgoing calls it works > perfectly but for incoming calls it will not work: > > --- snip --- > *CLI> capi debug > CAPI Debugging Enabled > -- CONNECT_IND (PLCI=0x101,DID=97,CID=0179903xxxx,CIP=0x1,CONTROLLER=0x1) > == reventix: Incoming call '0179903xxxx' -> '97' > -- reventix: info element CALLED PARTY NUMBER > -- reventix: info element CHANNEL IDENTIFICATION 89 > Urgent handler > -- reventix: info element CALLED PARTY NUMBER > -- reventix: info element CHANNEL IDENTIFICATION 89 > Urgent handler > == reventix: CAPI Hangingup > == reventix: Interface cleanup PLCI=0x101 > Urgent handler > --- snap --- > > --- snip: capi.conf --- > [general] > nationalprefix=0 > internationalprefix=00 > rxgain=0.8 > txgain=0.8 > ;ulaw=yes > > [reventix] > ;ntmode=yes > isdnmode=msn > incomingmsn=* > controller=1 > group=1 > ;prefix=0 > softdtmf=on > relaxdtmf=on > accountcode> context=reventix-incoming > holdtype=local > ; immediate=yes > ; echosquelch=1 > ; echocancel=yes > echocancelold=yes > ; echotail=64 > ; bridge=yes > ; callgroup=1 > ; deflect=1234567 > devices=2 > --- snap --- > > Asterisk is located behind a EURACOM PBX. > > With chan_capi-cm 0.5.4 it worked good. What's going wrong in my > configuration?It seems your configuration is correct and your provider is not sending SETUP/SENDING-COMPLETE on incoming call (chan_capi-cm now waits for these elements). Since more people do have this problem, I have added the option of capi.conf 'immediate=yes' to support the old behaviour. This is in CVS of chan_capi-cm now and will be part of version 0.6.1 soon. Armin