[Asterisk-Users] Chan_capi on builds 7955>8320 strangeness
gw at adcomcorp.com
gw at adcomcorp.com
Fri Jan 27 01:21:27 MST 2006
/etc/init.d/asterisk stop
Stopping Asterisk PBX: .
censys:/usr/src/asterisk-8632# cd ..
censys:/usr/src# asterisk -vvvvvc
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk SVN-trunk-r8620, Copyright (C) 1999 - 2006 Digium, Inc. and
others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for
details.
This is free software, with components licensed under the GNU General
Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'show license' for details.
========================================================================
=
== Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader loading preload modules:
>>>>CLIP
[chan_capi.so] => (Common ISDN API for Asterisk)
== Parsing '/etc/asterisk/capi.conf': Found
== This box has 1 capi controller(s).
-- CAPI/contr1 supports DTMF
-- CAPI/contr1 supports echo cancellation
-- CAPI/contr1 supports line interconnect
-- CAPI/contr1 supports supplementary services
> supplementary services : 0x0000010f
> HOLD/RETRIEVE
> TERMINAL PORTABILITY
> ECT
> 3PTY
> MWI
== Reading config for ISDNL1
-- capi_pvt ISDNL1-pseudo-D (5912211,capi-in-5912211,0,2) (1,4,64)
-- capi_pvt ISDNL1 (5912211,capi-in-5912211,0,2) (1,4,64)
-- capi_pvt ISDNL1 (5912211,capi-in-5912211,0,2) (1,4,64)
== Reading config for ISDNL2
-- capi_pvt ISDNL2-pseudo-D (6930821,capi-in-6930821,0,2) (0,0,64)
-- capi_pvt ISDNL2 (6930821,capi-in-6930821,0,2) (0,0,64)
-- capi_pvt ISDNL2 (6930821,capi-in-6930821,0,2) (0,0,64)
-- listening on contr1 CIPmask = 0x1fff03ff
== Registered channel type 'CAPI' (Common ISDN API Driver (cm-0.6.3) )
== Registered application 'capiCommand'
== Registered custom function VANITYNUMBER
>>>>CLIP
Asterisk Ready.
*CLI> capi debug CAPI Debugging Enabled
*CLI> -- Saved useragent
"PolycomSoundPointIP-SPIP_601-UA/1.6.3.0067" for peer 364
-- Executing Set("SIP/366-11b2",
"CALLFILENAME=/var/spool/asterisk/monitor/outgoing/9145912211/Out-200601
18-030458-9145912211_ADCOM Office_19145912211") in new stack
-- Executing SetCallerID("SIP/366-11b2", "9145912211") in new stack
-- Executing Monitor("SIP/366-11b2",
"wav|/var/spool/asterisk/monitor/outgoing/9145912211/Out-20060118-030458
-9145912211_ADCOM Office_19145912211") in new stack
-- Executing Dial("SIP/366-11b2", "IAX2/llllllllll/19145912211") in
new stack
-- Called llllllllll/19145912211
-- Call accepted by 208.139.204.232 (format ulaw)
-- Format for call is ulaw
-- IAX2/teliaxcsi-8 is making progress passing it to SIP/366-11b2
-- Saved useragent "Aastra 480i Cordless/1.3.0.1080 Brcm
Callctrl/1.5 MxSF/v3.2.6.26" for peer 347
-- Saved useragent "Aastra 480i Cordless/1.3.0.1080 Brcm
Callctrl/1.5 MxSF/v3.2.6.26" for peer 345
-- Saved useragent "Aastra 480i Cordless/1.3.0.1080 Brcm
Callctrl/1.5 MxSF/v3.2.6.26" for peer 361
-- Saved useragent "Aastra 480i Cordless/1.3.0.1080 Brcm
Callctrl/1.5 MxSF/v3.2.6.26" for peer 363
-- Hungup 'IAX2/teliaxcsi-8'
== Spawn extension (cisco-teliaxoutcsi, 19145912211, 4) exited
non-zero on 'SIP/366-11b2'
-- Saved useragent "PolycomSoundPointIP-SPIP_601-UA/1.6.3.0067" for
peer 365
-- Saved useragent "PolycomSoundPointIP-SPIP_600-UA/1.6.3.0067" for
peer 330
-- Executing Set("SIP/366-5e8d",
"CALLFILENAME=/var/spool/asterisk/monitor/outgoing/9145912211/Out-200601
18-030510-9145912211_ADCOM Office_19145912211") in new stack
-- Executing SetCallerID("SIP/366-5e8d", "9145912211") in new stack
-- Executing Monitor("SIP/366-5e8d",
"wav|/var/spool/asterisk/monitor/outgoing/9145912211/Out-20060118-030510
-9145912211_ADCOM Office_19145912211") in new stack
-- Executing Dial("SIP/366-5e8d",
"IAX2/censys at teliaxcsi/19145912211") in new stack
-- Called censys at teliaxcsi/19145912211
-- Call accepted by 208.139.204.232 (format ulaw)
-- Format for call is ulaw
Jan 17 22:05:11 WARNING[8571]: chan_iax2.c:7525 socket_read: Received
mini frame before first full voice frame
-- IAX2/teliaxcsi-9 is making progress passing it to SIP/366-5e8d
CONNECT_IND ID=001 #0x0001 LEN=0050
Controller/PLCI/NCCI = 0x201
CIPValue = 0x1
CalledPartyNumber = <c1>5912211
CallingPartyNumber = <21 81>9145912211
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a2>
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
-- CONNECT_IND
(PLCI=0x201,DID=5912211,CID=9145912211,CIP=0x1,CONTROLLER=0x1)
> ISDNL2: msn='6930821' DNID='5912211' MSN
> ISDNL2: msn='6930821' DNID='5912211' MSN
> ISDNL1: msn='5912211' DNID='5912211' MSN
== ISDNL1: Incoming call '19145912211' -> '5912211'
INFO_IND ID=001 #0x0002 LEN=0023
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x70
InfoElement = <c1>5912211
INFO_RESP ID=001 #0x0002 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDNL1: info element CALLED PARTY NUMBER
> ISDNL1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x0003 LEN=0025
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x28
InfoElement = 9145912211
INFO_RESP ID=001 #0x0003 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDNL1: info element DSP
INFO_IND ID=001 #0x0004 LEN=0016
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=001 #0x0004 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDNL1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x0005 LEN=0015
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x8005
InfoElement = default
INFO_RESP ID=001 #0x0005 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDNL1: info element SETUP
-- ISDNL1: CAPI/ISDNL1/5912211-0: 5912211 matches in context
capi-in-5912211
-- Executing Set("CAPI/ISDNL1/5912211-0", "IncomingCID=""
<19145912211>") in new stack
-- Executing Set("CAPI/ISDNL1/5912211-0", "IncomingLine=9145912211")
in new stack
-- Executing Set("CAPI/ISDNL1/5912211-0", "CALLERID(name)=IN 2211")
in new stack
-- Executing GotoIf("CAPI/ISDNL1/5912211-0", "1?5:6") in new stack
-- Goto (capi-in-5912211,5912211,5)
-- Executing Set("CAPI/ISDNL1/5912211-0",
"CALLERID(num)=9145912211") in new stack
-- Executing GotoIf("CAPI/ISDNL1/5912211-0", "1?16") in new stack
-- Goto (capi-in-5912211,5912211,16)
-- Executing Goto("CAPI/ISDNL1/5912211-0", "adcomincoming|s|1") in
new stack
-- Goto (adcomincoming,s,1)
-- Executing LookupCIDName("CAPI/ISDNL1/5912211-0", "") in new stack
-- Changed Caller*ID name to ADCOM Ardlsey
-- Executing Set("CAPI/ISDNL1/5912211-0",
"CALLFILENAME=/var/spool/asterisk/monitor/incoming/9145912211/In-2006011
8-030511-9145912211_ADCOM Ardlsey_s") in new stack
== Started pbx on channel CAPI/ISDNL1/5912211-0
> CAPI devicestate requested for ISDNL1/5912211
-- Executing Monitor("CAPI/ISDNL1/5912211-0",
"wav|/var/spool/asterisk/monitor/incoming/9145912211/In-20060118-030511-
9145912211_ADCOM Ardlsey_s") in new stack
-- Executing GotoIf("CAPI/ISDNL1/5912211-0", "0?9:5") in new stack
-- Goto (adcomincoming,s,5)
-- Executing GotoIfTime("CAPI/ISDNL1/5912211-0",
"20:01-7:59|mon-sun|*|*?9") in new stack
-- IAX2/teliaxcsi-9 is ringing
INFO_IND ID=001 #0x0006 LEN=0015
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x804d
InfoElement = default
INFO_RESP ID=001 #0x0006 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDNL1: info element RELEASE
DISCONNECT_IND ID=001 #0x0007 LEN=0014
Controller/PLCI/NCCI = 0x201
Reason = 0x3490
DISCONNECT_RESP ID=001 #0x0007 LEN=0012
Controller/PLCI/NCCI = 0x201
> CAPI INFO 0x3490: Normal call clearing
-- Hungup 'IAX2/teliaxcsi-9'
== Spawn extension (cisco-teliaxoutcsi, 19145912211, 4) exited
non-zero on 'SIP/366-5e8d'
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Armin
Schindler
Sent: Friday, January 27, 2006 2:24 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Chan_capi on builds 7955>8320 strangeness
On Fri, 27 Jan 2006 gw at adcomcorp.com wrote:
> Hello All,
> I am having an odd problem with Armin's chan-capi_cm on builds higher
> than 7955.
>
> It would seem that this happens on anything higher than 7955.
>
> What is happening is the isdn is ringing, then asterisk does a goto-if
> and just hangs.
>
> Asterisk itself is ok, but the isdn then rings out or busys out on the
> other side.
>
> Outgoing works fine, this only seems to effect incoming.
>
> I updated to chan-capi_cm 0.6.3 but there is no change.
>
> Noticed this when trying to update for the timebomb bug.
>
> I think it is somehow related to the dial command but I'm not certain.
>
> Has anyone else experienced such oddness?
Can you please create a log (set verbose 5, capi debug)?
Armin
_______________________________________________
--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