hi, I've been running a pure sip asterisk box for a while now with no problems, and i've recently added an isdn2e line from bt in the uk. everything is hooked up and i've got it ringing my sip extensions, but the logs don't quite look perfect and i can't see any description of what i should consider to be normal behaviour. would someone be able to look this over and tell me if the (callgroup=0) and fallback to extension 's' issue is a problem, or just asterisk being very verbose... -- started pbx on channel (callgroup=0)! == Starting CAPI[contr1/368466]/33 at isdn,368466,1 failed so falling back to exten 's' -- Called 101 -- Called 102 -- SIP/101-1b74 is ringing -- SIP/102-b2b1 is ringing (extensions.conf) [isdn] exten=> s,1,Dial(SIP/101&SIP/102,30,tr) exten=> s,2,capiCD(020712341234) --also am i correct in thinking that this capiCD line will bounce the 'third' call on my 2 channel line to the number above? i don't need to include anything else (except what is below? - do i even need that??) [capi.conf] [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [interfaces] msn=50 incomingmsn=* controller=1 softdtmf=1 accountcodecontext=isdn ;echosquelch=1 ;echocancel=yes ;echotail=64 ;callgroup=1 deflect=020712341234 devices=2 thanks for any advice you can offer. r
On Sat, 27 Nov 2004 12:17:45 +0000, Robbie Hughes <spam@dynsysgroup.com> wrote:> > -- started pbx on channel (callgroup=0)! > == Starting CAPI[contr1/368466]/33 at isdn,368466,1 failed so falling > back to exten 's' > -- Called 101 > -- Called 102 > -- SIP/101-1b74 is ringing > -- SIP/102-b2b1 is ringing > > (extensions.conf) > > [isdn] > exten=> s,1,Dial(SIP/101&SIP/102,30,tr) > exten=> s,2,capiCD(020712341234) >To fix this warning change your extensions.conf to [isdn] exten=> 368466,1,Dial(SIP/101&SIP/102,30,tr) exten=> 368466,2,capiCD(020712341234) 368466 is the msn that the call is arriving on. Regards Jason PS I think Call Deflection is a service you have to order from BT
Dear list, I am starting to setup an asterisk pbx, using a Fritz ISDN card through chan_capi (0.3.5). The underlying OS is SUSE 9.2; I installed asterisk with the RPMs supplied on the DVD. While I can dial out (I had successful outside calls), through the ISDN card, so far I could not answer a phone call on the card. My capi.conf file is quite fantasyless: ; ; CAPI config ; ; [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [interfaces] msn=221591030 incomingmsn=221591030 controller=1 devices=2 softdtmf=1 callgroup=1 context=from-chan_capi ;accountcode;echosquelch=1 ;echocancel=yes ;echotail=64 ;deflect=02-fastweb !! Now if I try from one SIP extension to call my self (on 0221591030) , I can obtain the 'ringing' of the office number. But I was not able to see Asterisk answering the call. There is a second ISDN physical phone connected, as well as a Zyxel ISDN router (with two analog phones attached). Everything rings but the internal SIP extension... After some fiddling I did activate capi debugging; here is what prints out on the CLI during an attempt: gamma-stargate*CLI> capi info Contr1: 2 B channels total, 2 B channels free. gamma-stargate*CLI> reload Jan 5 16:52:40 NOTICE[1110690736]: indications.c:397 ast_unregister_indication_country: Removed default indication country 'it' -- CONNECT_CONF ID=002 #0x0041 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 -- INFO_IND ID=002 #0x17cc LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x800d InfoElement = default -- INFO_IND ID=002 #0x17cd LEN=0016 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x18 InfoElement = <89> -- CONNECT_IND ID=002 #0x17ce LEN=0049 Controller/PLCI/NCCI = 0x201 CIPValue = 0x10 CalledPartyNumber = <a1>221591030 CallingPartyNumber = <21 81>221591030 CalledPartySubaddress = default CallingPartySubaddress = default BC = <80 90 a3> LLC = default HLC = <91 81> AdditionalInfo = default Jan 5 16:52:57 NOTICE[1088080816]: chan_capi.c:1932 capi_handle_msg: CONNECT_IND ID=002 #0x17ce LEN=0049 Controller/PLCI/NCCI = 0x201 CIPValue = 0x10 CalledPartyNumber = <a1>221591030 CallingPartyNumber = <21 81>221591030 CalledPartySubaddress = default CallingPartySubaddress = default BC = <80 90 a3> LLC = default HLC = <91 81> AdditionalInfo = default Jan 5 16:52:57 ERROR[1088080816]: chan_capi.c:2051 capi_handle_msg: did not find device for msn = 221591030 -- INFO_IND ID=002 #0x17cf LEN=0025 Controller/PLCI/NCCI = 0x201 InfoNumber = 0x70 InfoElement = <a1>221591030 Jan 5 16:52:57 ERROR[1088080816]: chan_capi.c:1198 find_pipe: unable to find a pipe for PLCI = 0x201 MN = 0x17cf Jan 5 16:52:57 NOTICE[1088080816]: chan_capi.c:1302 pipe_msg: INFO_IND ID=002 #0x17cf LEN=0025 Controller/PLCI/NCCI = 0x201 InfoNumber = 0x70 InfoElement = <a1>221591030 -- INFO_IND ID=002 #0x17d0 LEN=0016 Controller/PLCI/NCCI = 0x201 InfoNumber = 0x18 InfoElement = <8a> Jan 5 16:52:57 ERROR[1088080816]: chan_capi.c:1198 find_pipe: unable to find a pipe for PLCI = 0x201 MN = 0x17d0 Jan 5 16:52:57 NOTICE[1088080816]: chan_capi.c:1302 pipe_msg: INFO_IND ID=002 #0x17d0 LEN=0016 Controller/PLCI/NCCI = 0x201 InfoNumber = 0x18 InfoElement = <8a> -- DISCONNECT_IND ID=002 #0x17d3 LEN=0014 Controller/PLCI/NCCI = 0x201 Reason = 0x0 Jan 5 16:52:57 ERROR[1088080816]: chan_capi.c:1198 find_pipe: unable to find a pipe for PLCI = 0x201 MN = 0x17d3 -- INFO_IND ID=002 #0x17d4 LEN=0015 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x8001 InfoElement = default -- DISCONNECT_CONF ID=002 #0x0042 LEN=0014 Controller/PLCI/NCCI = 0x101 Info = 0x0 -- DISCONNECT_IND ID=002 #0x17d5 LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x3400 gamma-stargate*CLI> Unfortunately I do not understand where the problem is. The context inside extension.conf that I would like to obtain the call is the following: ; *** INBOUND CONTEXT: DIAL INTERNAL PHONES [from-chan_capi] ; reach the internal dialplan context! include => incoming include => nba_plan ; *** INCOMING CONTEXT: FROM FRITZ! CARD [incoming] ; context to receive calls from chapi_chan; use NB&A Dial Plan exten => s,1,Answer() exten => s,2,Dial(SIP/2000,20) exten => s,3,Hangup() Any help appreciated, thanks, Aldo