[Asterisk-Users] chan_capi-cm-0.6 and incoming calls problem
Armin Schindler
armin at melware.de
Mon Jun 5 03:08:53 MST 2006
The call is rejected by Asterisk, so it looks like your dialplan
has no rule for accepting calls to '99546476'.
Armin
On Mon, 5 Jun 2006, Esteban Guana-Jarrin wrote:
> I have a problem receving calls via the ISDN line, using the followin
> components
>
> Asterisk 1.0.9 with asterisk at home
> chan_capi-cm-0.6
> AVM Fritz card
> datalink protocol = point to multimode
>
> I can make calls out with no problems so the issue is only incoming calls.
>
> When I make the call from an external line to the ISDN line connected to
> asterisk, I get a busy signal after about 5 seconds. I have read previous
> posts from the list and I made sure I have the settings in my capi.conf and
> extensions.conf according to all the suggestions and as shown below,
>
> Capi.conf:
>
> [general]
> nationalprefix=0
> internationalprefix=00
> rxgain=0.8
> txgain=0.8
> ulaw=yes ;set this, if you live in u-law world instead of a-law
>
> [ISDN1] ;this example interface gets name 'ISDN1' and may be any
> ;name not starting with 'g' or 'contr'.
>
> isdnmode=msn ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
> ;when using NT-mode, ptp should be set in any case
> msn=0299546476
> incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * == any
> controller=1 ;capi controller number to use
> group=2 ;dialout group
> context=capi-in ;context for incoming calls
> immediate=yes ;immediate start of pbx with extension 's' if no digits were
> ;received on incoming call (no destination number yet)
> devices=2 ;number of concurrent calls on this controller
> ;(2 makes sense for single BRI, 30 for PRI)
>
> In Extensions.conf
>
> [capi-in]
> exten => s,1,Dial(Sip/123,20)
> exten => s,2,Voicemail(123)
> exten => s,3,Hangup
>
> Also the Capi debug output with verbosity 15, is shown below. I can see that
> after the channel identification message and then the sending complete
> message, a DISCONNECT_IND comes straight after and it does not provide any
> reasons...
>
> CAPI Debugging Enabled
> CONNECT_IND ID=001 #0x03a6 LEN=0037
> Controller/PLCI/NCCI = 0x101
> CIPValue = 0x10
> CalledPartyNumber = <c1>99546476
> CallingPartyNumber = default
> CalledPartySubaddress = default
> CallingPartySubaddress = default
> BC = <80 90 a3>
> LLC = default
> HLC = <91 81>
> AdditionalInfo = default
>
> -- CONNECT_IND (PLCI=0x101,DID=99546476,CID=(null),CIP=0x10,CONTROLLER=0x1)
> > ISDN1: msn='*' DNID='99546476' MSN
> == ISDN1: Incoming call '' -> '99546476'
> INFO_IND ID=001 #0x03a7 LEN=0024
> Controller/PLCI/NCCI = 0x101
> InfoNumber = 0x70
> InfoElement = <c1>99546476
>
> INFO_RESP ID=001 #0x03a7 LEN=0012
> Controller/PLCI/NCCI = 0x101
>
> -- ISDN1: info element CALLED PARTY NUMBER
> > ISDN1: INFO_IND DID digits not used in this state.
> INFO_IND ID=001 #0x03a8 LEN=0016
> Controller/PLCI/NCCI = 0x101
> InfoNumber = 0x18
> InfoElement = <89>
>
> INFO_RESP ID=001 #0x03a8 LEN=0012
> Controller/PLCI/NCCI = 0x101
>
> -- ISDN1: info element CHANNEL IDENTIFICATION 89
> INFO_IND ID=001 #0x03a9 LEN=0016
> Controller/PLCI/NCCI = 0x101
> InfoNumber = 0xa1
> InfoElement = <a1>
>
> INFO_RESP ID=001 #0x03a9 LEN=0012
> Controller/PLCI/NCCI = 0x101
>
> -- ISDN1: info element Sending Complete
> CONNECT_RESP ID=001 #0x03a9 LEN=0032
> Controller/PLCI/NCCI = 0x101
> Reject = 0x1
> BProtocol
> B1protocol = 0x0
> B2protocol = 0x0
> B3protocol = 0x0
> B1configuration = default
> B2configuration = default
> B3configuration = default
> ConnectedNumber = default
> ConnectedSubaddress = default
> LLC = default
> AdditionalInfo
> BChannelinformation = default
> Keypadfacility = default
> Useruserdata = default
> Facilitydataarray = default
>
> DISCONNECT_IND ID=001 #0x03aa LEN=0014
> Controller/PLCI/NCCI = 0x101
> Reason = 0x0
>
> DISCONNECT_RESP ID=001 #0x03aa LEN=0012
> Controller/PLCI/NCCI = 0x101
>
> == ISDN1: CAPI Hangingup
> == ISDN1: Interface cleanup PLCI=0x101
>
> I will apreciate your assistance
>
> Esteban
>
> _________________________________________________________________
> New year, new job there's more than 100,00 jobs at SEEK
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=752315885&_r=Jan05_tagline&_m=EXT
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list