Cedric Fontaine
2005-Oct-08 07:27 UTC
[Asterisk-Users] No incoming calls from chan_capi 0.6
Hello, I'm trying to use the version 0.6 of chan_capi-cm for outgoing calls it works perfectly but for incoming calls it doesn't work. I tried to set an extension to dial my from-pstn context and it works. So I think there's a problem with my capi.conf or something... Here's a debug when calling -- CONNECT_IND (PLCI=0x101,DID=9100,CID=46720XXXX,CIP=0x4,CONTROLLER=0x1) Urgent handler == numeris1: Incoming call '046720XXXX' -> '9100' Urgent handler -- numeris1: info element PI 84 83 Urgent handler -- numeris1: info element CALLED PARTY NUMBER Urgent handler -- numeris1: info element CHANNEL IDENTIFICATION 89 Urgent handler -- numeris1: info element Sending Complete Urgent handler == numeris1: CAPI Hangingup Urgent handler == numeris1: Interface cleanup PLCI=0x101 Urgent handler -- CONNECT_IND (PLCI=0x101,DID=9100,CID=46720XXXX,CIP=0x4,CONTROLLER=0x1) Urgent handler == numeris1: Incoming call '046720XXXX' -> '9100' Urgent handler -- numeris1: info element PI 84 83 Urgent handler -- numeris1: info element CALLED PARTY NUMBER Urgent handler -- numeris1: info element CHANNEL IDENTIFICATION 89 Urgent handler -- numeris1: info element Sending Complete Urgent handler == numeris1: CAPI Hangingup Urgent handler == numeris1: Interface cleanup PLCI=0x101 Urgent handler And here is my capi.conf [numeris1] ;ntmode=yes isdnmode=msn incomingmsn=* controller=1 group=1 ;prefix=0 softdtmf=on relaxdtmf=on accountcodecontext=entrant holdtype=local immediate=yes echocancelold=yes devices=2 Cedric Fontaine
Armin Schindler
2005-Oct-08 07:33 UTC
[Asterisk-Users] No incoming calls from chan_capi 0.6
On Sat, 8 Oct 2005, Cedric Fontaine wrote:> Hello, > > I'm trying to use the version 0.6 of chan_capi-cm for outgoing calls it > works perfectly but for incoming calls it doesn't work. > > I tried to set an extension to dial my from-pstn context and it works. > So I think there's a problem with my capi.conf or something...Please increase verbosity (set verbose 5) and switch on debugging (capi debug). Then you should see what's happening. Armin> Here's a debug when calling > -- CONNECT_IND > (PLCI=0x101,DID=9100,CID=46720XXXX,CIP=0x4,CONTROLLER=0x1) > Urgent handler > == numeris1: Incoming call '046720XXXX' -> '9100' > Urgent handler > -- numeris1: info element PI 84 83 > Urgent handler > -- numeris1: info element CALLED PARTY NUMBER > Urgent handler > -- numeris1: info element CHANNEL IDENTIFICATION 89 > Urgent handler > -- numeris1: info element Sending Complete > Urgent handler > == numeris1: CAPI Hangingup > Urgent handler > == numeris1: Interface cleanup PLCI=0x101 > Urgent handler > -- CONNECT_IND > (PLCI=0x101,DID=9100,CID=46720XXXX,CIP=0x4,CONTROLLER=0x1) > Urgent handler > == numeris1: Incoming call '046720XXXX' -> '9100' > Urgent handler > -- numeris1: info element PI 84 83 > Urgent handler > -- numeris1: info element CALLED PARTY NUMBER > Urgent handler > -- numeris1: info element CHANNEL IDENTIFICATION 89 > Urgent handler > -- numeris1: info element Sending Complete > Urgent handler > == numeris1: CAPI Hangingup > Urgent handler > == numeris1: Interface cleanup PLCI=0x101 > Urgent handler > > And here is my capi.conf > [numeris1] > ;ntmode=yes > isdnmode=msn > incomingmsn=* > controller=1 > group=1 > ;prefix=0 > softdtmf=on > relaxdtmf=on > accountcode> context=entrant > holdtype=local > immediate=yes > echocancelold=yes > devices=2 > > Cedric Fontaine > > > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Cedric Fontaine
2005-Oct-12 23:58 UTC
[Asterisk-Users] No incoming calls from chan_capi 0.6
Armin Schindler wrote:> On Sat, 8 Oct 2005, Cedric Fontaine wrote:> [logfiles] > console => notice,warning,error > I don't mean the capi.conf. Do you have an extension in context 'entrant' > that matches 9100 ?So I added it in the logger.conf and you were right... There was a problem with matching 9100... So it works now ! Cedric