Hi there,
I have been using Asterisk 1.2.7 with a (somehwhat) older Version of
visdn from the arch Repository.
While this basically worked, I randomly got Kernel segfaults during
incomming calls.
Thats why I tried to upgrade.
I tried to use the tarball from Tomas Vilda and Asterisk 1.2.10
(basically 1.2.10 from Debian with the 3 additional visdn related
patches asterisk-1.2.5-cap.diff, asterisk-1.2-answer.diff and
asterisk-1.2-disconnect.diff applied).
BTW, what are the asterisk-1.2-answer.diff asterisk-1.2-disconnect.diff
patches for?
Everything seems loads fine, however Im not able to conduct a call.
Here are the symptoms:
With incomming calls (TE Mode) everything seems to work fine, but the
line is disconnected after immediatelly the first Ring.
Here is what I get with debugging enabled (SIP/9613876 is my internal
SIP phone):
-- Executing Dial("VISDN/visdn0/39.I", "SIP/9613876|25") in new stack
-- Called 9613876
-- SIP/9613876-0063c7a0 is ringing
-- visdn_indicate 3
q931 visdn0:CALL[39.I]: chan_visdn.c:343 GET (2 => 3)
q931 visdn0:CALL[39.I]: ALERTING-REQ
q931 visdn0:TEI[0]: message.c:67 GET (21 => 22)
q931 visdn0:CALL[39.I]: Sending message:
q931 -> message type: ALERTING (1)
q931 -> VL IE 0 ===> 30 (Progress Indicator) -- length 2
q931 -> Coding standard = CCITT (0)
q931 -> Location = Private network serving remote user (5)
q931 -> Description = In-band information or appropriate pattern
now available (8)
q931
q931 visdn0:TEI[0]: DLC is awaiting connection: message queued
q931 visdn0:CALL[39.I]: U9_INCOMING_CALL_PROCEEDING ==to==>
U7_CALL_RECEIVED
q931 visdn0:CALL[39.I]: chan_visdn.c:2254 PUT (3 => 2)
-- set timeout = -1
q931 visdn0:TEI[0]: DL-RELEASE-INDICATION
q931 visdn0:CALL[39.I]: input.c:144 GET (2 => 3)
q931 visdn0:CALL[39.I]: call.c:436 Timer T301 stopped
q931 visdn0:CALL[39.I]: call.c:437 Timer T302 stopped
q931 visdn0:CALL[39.I]: call.c:438 Timer T303 stopped
q931 visdn0:CALL[39.I]: call.c:439 Timer T304 stopped
q931 visdn0:CALL[39.I]: call.c:440 Timer T305 stopped
q931 visdn0:CALL[39.I]: call.c:441 Timer T306 stopped
q931 visdn0:CALL[39.I]: call.c:442 Timer T308 stopped
q931 visdn0:CALL[39.I]: call.c:443 Timer T309 stopped
q931 visdn0:CALL[39.I]: call.c:444 Timer T310 stopped
q931 visdn0:CALL[39.I]: call.c:445 Timer T312 stopped
q931 visdn0:CALL[39.I]: call.c:446 Timer T313 stopped
q931 visdn0:CALL[39.I]: call.c:447 Timer T314 stopped
q931 visdn0:CALL[39.I]: call.c:448 Timer T316 stopped
q931 visdn0:CALL[39.I]: call.c:449 Timer T318 stopped
q931 visdn0:CALL[39.I]: call.c:450 Timer T319 stopped
q931 visdn0:CALL[39.I]: call.c:451 Timer T320 stopped
q931 visdn0:CALL[39.I]: call.c:452 Timer T321 stopped
q931 visdn0:CALL[39.I]: call.c:453 Timer T322 stopped
q931 visdn0[B1]: changed state from AVAILABLE to AVAILABLE
q931 visdn0:CALL[39.I]: U7_CALL_RECEIVED ==to==> U0_NULL_STATE
q931 visdn0:CALL[39.I]: call.c:377 PUT (3 => 2)
q931 visdn0:CALL[39.I]: chan_visdn.c:377 GET (2 => 3)
q931 visdn0:CALL[39.I]: input.c:156 PUT (3 => 2)
q931 Releasing message
-- set timeout = -1
-- visdn_q931_release_indication
q931 visdn0:CALL[39.I]: chan_visdn.c:4521 PUT (2 => 1)
-- set timeout = -1
== Spawn extension (isdn, 9613876, 16) exited non-zero on
'VISDN/visdn0/39.I'
-- visdn_hangup VISDN/visdn0/39.I
q931 visdn0:CALL[39.I]: chan_visdn.c:1858 PUT (1 => 0)
q931 visdn0:CALL[39.I]: Freeing call
q931 visdn0:TEI[0]: DLC autorelease timer started
q931 visdn0:TEI[0]: call.c:360 PUT (22 => 21)
-- visdn_hangup VISDN/visdn0/39.I DONE
-- set timeout = 10000
q931 visdn0:TEI[0]: DLC autorelease timer fired
-- set timeout = -1
----8<----------------------------------------------------------------------
With outgoing calls (TE-Mode) I get the following:
-- Executing Dial("SIP/9613876-0063f610",
"VISDN/visdn0/01795345808|60") in new stack
-- Calling visdn0 on VISDN/null
-- Calling on interface 'visdn0'
q931 visdn0:TEI[0]: call.c:305 GET (21 => 22)
q931 visdn0:TEI[0]: call.c:306 HOLD (22 => 23)
q931 visdn0:TEI[0]: DLC autorelease timer stopped
q931 visdn0:CALL[56.O]: call.c:311 GET (1 => 2)
q931 visdn0:CALL[56.O]: chan_visdn.c:811 GET (2 => 3)
q931 visdn0:CALL[56.O]: chan_visdn.c:343 GET (3 => 4)
q931 visdn0:CALL[56.O]: chan_visdn.c:946 PUT (4 => 3)
-- Called visdn0/01795345808
q931 visdn0:CALL[56.O]: SETUP-REQ
q931 visdn0:TEI[0]: message.c:67 GET (22 => 23)
q931 visdn0:CALL[56.O]: Sending message:
q931 -> message type: SETUP (5)
q931 -> VL IE 0 ===> 4 (Bearer Capability) -- length 3
q931 -> Coding Standard = CCITT (0)
q931 -> Information Transfer Capability = Speech (0)
q931 -> Transfer mode = Circuit (0)
q931 -> Information Transfer Rate = 64 kbps (16)
q931 -> User information layer 1 protocol = g.711 a-law (3)
q931 -> VL IE 1 ===> 40 (Display) -- length 11
q931 -> Display = Sven Geggus
q931 -> VL IE 2 ===> 108 (Calling Party Number) -- length 13
q931 -> Type of number = Unknown (0)
q931 -> Numbering plan = Unknown (0)
q931 -> Presentation indicator = Presentation allowed (0)
q931 -> Screening indicator = User provided, not screened (0)
q931 -> Number = 07219613876
q931 -> VL IE 3 ===> 112 (Called Party Number) -- length 12
q931 -> Type of number = Unknown (0)
q931 -> Numbering plan = Unknown (0)
q931 -> Number = 01795345808
q931 -> VL IE 4 ===> 125 (High Layer Compatibility) -- length 2
q931 -> Coding standard = CCITT (0)
q931 -> Characteristics identification = Telephony (1)
q931
q931 visdn0:TEI[0]: DLC is disconnected, requesting connection
q931 visdn0:TEI[0]: DLC is awaiting connection: message queued
q931 visdn0:CALL[56.O]: call.c:397 GET (3 => 4)
q931 visdn0:CALL[56.O]: call.c:1905 Timer T303 started
q931 visdn0:CALL[56.O]: U0_NULL_STATE ==to==> U1_CALL_INITIATED
q931 visdn0:CALL[56.O]: chan_visdn.c:2254 PUT (4 => 3)
-- set timeout = 5000
-- set timeout = 3
q931 visdn0:CALL[56.O]: T303 fired
q931 visdn0:TEI[0]: message.c:67 GET (23 => 24)
q931 visdn0:CALL[56.O]: Sending message:
q931 -> message type: SETUP (5)
q931 -> VL IE 0 ===> 4 (Bearer Capability) -- length 3
q931 -> Coding Standard = CCITT (0)
q931 -> Information Transfer Capability = Speech (0)
q931 -> Transfer mode = Circuit (0)
q931 -> Information Transfer Rate = 64 kbps (16)
q931 -> User information layer 1 protocol = g.711 a-law (3)
q931 -> VL IE 1 ===> 40 (Display) -- length 11
q931 -> Display = Sven Geggus
q931 -> VL IE 2 ===> 108 (Calling Party Number) -- length 13
q931 -> Type of number = Unknown (0)
q931 -> Numbering plan = Unknown (0)
q931 -> Presentation indicator = Presentation allowed (0)
q931 -> Screening indicator = User provided, not screened (0)
q931 -> Number = 07219613876
q931 -> VL IE 3 ===> 112 (Called Party Number) -- length 12
q931 -> Type of number = Unknown (0)
q931 -> Numbering plan = Unknown (0)
q931 -> Number = 01795345808
q931 -> VL IE 4 ===> 125 (High Layer Compatibility) -- length 2
q931 -> Coding standard = CCITT (0)
q931 -> Characteristics identification = Telephony (1)
q931
q931 visdn0:TEI[0]: DLC is awaiting connection: message queued
q931 visdn0:CALL[56.O]: call.c:397 GET (3 => 4)
q931 visdn0:CALL[56.O]: call.c:2788 Timer T303 started
q931 visdn0:CALL[56.O]: call.c:2815 PUT (4 => 3)
-- set timeout = 5001
q931 visdn0:TEI[0]: DL-RELEASE-INDICATION
q931 visdn0:CALL[56.O]: input.c:144 GET (3 => 4)
q931 visdn0:CALL[56.O]: call.c:436 Timer T301 stopped
q931 visdn0:CALL[56.O]: call.c:437 Timer T302 stopped
q931 visdn0:CALL[56.O]: call.c:409 PUT (4 => 3)
q931 visdn0:CALL[56.O]: call.c:438 Timer T303 stopped
q931 visdn0:CALL[56.O]: call.c:439 Timer T304 stopped
q931 visdn0:CALL[56.O]: call.c:440 Timer T305 stopped
q931 visdn0:CALL[56.O]: call.c:441 Timer T306 stopped
q931 visdn0:CALL[56.O]: call.c:442 Timer T308 stopped
q931 visdn0:CALL[56.O]: call.c:443 Timer T309 stopped
q931 visdn0:CALL[56.O]: call.c:444 Timer T310 stopped
q931 visdn0:CALL[56.O]: call.c:445 Timer T312 stopped
q931 visdn0:CALL[56.O]: call.c:446 Timer T313 stopped
q931 visdn0:CALL[56.O]: call.c:447 Timer T314 stopped
q931 visdn0:CALL[56.O]: call.c:448 Timer T316 stopped
q931 visdn0:CALL[56.O]: call.c:449 Timer T318 stopped
q931 visdn0:CALL[56.O]: call.c:450 Timer T319 stopped
q931 visdn0:CALL[56.O]: call.c:451 Timer T320 stopped
q931 visdn0:CALL[56.O]: call.c:452 Timer T321 stopped
q931 visdn0:CALL[56.O]: call.c:453 Timer T322 stopped
q931 visdn0:CALL[56.O]: U1_CALL_INITIATED ==to==> U0_NULL_STATE
q931 visdn0:CALL[56.O]: call.c:377 PUT (3 => 2)
q931 visdn0:CALL[56.O]: chan_visdn.c:377 GET (2 => 3)
q931 visdn0:CALL[56.O]: input.c:156 PUT (3 => 2)
q931 Releasing message
-- set timeout = -1
-- visdn_q931_release_indication
q931 visdn0:CALL[56.O]: chan_visdn.c:4521 PUT (2 => 1)
-- set timeout = -1
-- visdn_hangup VISDN/visdn0/56.O
q931 visdn0:CALL[56.O]: chan_visdn.c:1858 PUT (1 => 0)
q931 visdn0:CALL[56.O]: Freeing call
q931 visdn0:TEI[0]: DLC autorelease timer started
q931 visdn0:TEI[0]: call.c:360 PUT (24 => 23)
-- visdn_hangup VISDN/visdn0/56.O DONE
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/9613876-0063f610", "") in new stack
== Spawn extension (intern, 01795345808, 11) exited non-zero on
'SIP/9613876-0063f610'
-- set timeout = 10000
q931 visdn0:TEI[0]: DLC autorelease timer fired
-- set timeout = -1
----8<----------------------------------------------------------------------
Any hint?
Sven
--
/* Fuck me gently with a chainsaw... */
(David S. Miller in /usr/src/linux/arch/sparc/kernel/ptrace.c)
/me is [EMAIL PROTECTED], http://sven.gegg.us/ on the Web
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers