On Fri, January 6, 2006 9:41, Francesco Peeters (Asterisk) said:
<SNIP>
>>
>
> Just a quick update...
>
> As far as I can tell, visdn_configurator works fine and asterisk seems to
> start as well...
>
> Next step is to try and configure the trunk and do some in- and outbound
> dialling! ;-)
>
> If all works, I'll write an [EMAIL PROTECTED] how-to for vISDN...
>
> --
Another quick update...
It still doesn't work in Asterisk...
First checked the channels:
CLI> show visdn channels
Interface: visdn0
B1: AVAILABLE
B2: AVAILABLE
Interface: visdn1
B1: AVAILABLE
B2: AVAILABLE
I then did
CLI> debug visdn generic
vISDN debugging enabled
CLI> debug visdn q921
vISDN q.921 debugging enabled
CLI> debug visdn q931
vISDN q.931 debugging enabled
And dialed an outside line. The CLI at one point lists:
-- Executing Dial("IAX2/2101-2", "VISDN/visdn0/0650283210") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
But I haven't seen *any* visdn (debug) messages.
I then did a reload to confirm there were no errors:
*CLI> visdn reload
== Parsing '/etc/asterisk/visdn.conf': Found
And no further messages than that.
My /etc/asterisk/visdn.conf (adapted from the sample in the Arch tree):
less /etc/asterisk/visdn.conf
;
; vISDN configuration file for Asterisk
;
; This sample visdn.conf implements bidirectional passthru between two ports
; on a quadBRI board configured in TE mode and two ports on the same board
; configured in NT mode.
;
[general]
[global]
network_role = private
tones_option = yes
outbound_called_ton = unknown
force_outbound_cli = no
force_outbound_cli_ton = no
clir_mode = default_off
overlap_sending = Yes
overlap_receiving = No
cli_rewriting = No
national_prefix = 0
international_prefix = 00
network_specific_prefix =
subscriber_prefix =
abbreviated_prefix =
autorelease_dlc = 10
; ---------------------------
; visdn0 is configured in TE mode and is connected to the
; TELCO lines. Incoming calls will be directed to visdn_telco_in context
;
[visdn0]
network_role = private
context = from-pstn
outbound_called_ton = unknown
force_outbound_cli = no
force_outbound_cli_ton = no
overlap_receiving = No
; ---------------------------
; visdn1 is configured in NT mode and is connected to the
; PBX. Incoming calls will be directed to visdn_pbx_in context.
; Note that clip_numbers contain a wildcard, meaning that any CLI coming
; from the PBX is accepted and passed to the network.
; clip_default_number should contain the TELCO line number, a valid MSN or
; any random number if the PBX does correctly transmit CLI presentation for
; every call.
[visdn1]
network_role = private
context = from-internal
tones_option = yes
outbound_called_ton = unknown
force_outbound_cli = no
force_outbound_cli_ton = no
clir_mode = default_off
clip_default_number = 9999
clip_numbers = _X.
(END)
I checked the state of the TE card using:
while true; do cat /sys/bus/pci/devices/0000\:00\:08.0/st0/l1_state ;
sleep .1; done
It is F3 and remains F3 until I dial inbound... When I do so, the
interface comes up (F7) and the CLI DOES show visdn data:
q931 visdn0:TEI[0]: Received message:
q931 <- call reference = 94.I (len 1)
q931 <- message_type = SETUP (5)
q931 visdn0:TEI[0]: DLC autorelease timer stopped
q931 <- SO IE 0 ===> 161 (Sending Complete)
q931 <- VL IE 1 ===> 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 2 ===> 24 (Channel Identification) -- length 1
q931 <- Interface id = Implicit (0)
q931 <- Interface type = Basic (0)
q931 <- Pref/Excl = Preferred (0)
q931 <- D channel ident = Is not D channel (0)
q931 <- Coding standard = CCITT (0)
q931 <- VL IE 3 ===> 108 (Calling Party Number) -- length 11
q931 <- Type of number = National (2)
q931 <- Numbering plan = ISDN Telephony (1)
q931 <- Presentation indicator = Presentation allowed (0)
q931 <- Screening indicator = User provided, verified and passed (1)
q931 <- Number = 123456789
q931 <- VL IE 4 ===> 112 (Called Party Number) -- length 10
q931 <- Type of number = National (2)
q931 <- Numbering plan = ISDN Telephony (1)
q931 <- Number = 987654321
q931 <- VL IE 5 ===> 125 (High Layer Compatibility) -- length 2
q931
q931 visdn0:CALL[94.I]: Got SETUP
q931 visdn0:CALL[94.I]: Requested channel B2 available
q931 visdn0:CALL[94.I]: U0_NULL_STATE ==to==> U6_CALL_PRESENT
etc.
I do not see any response from asterisk though. (And yes, the DID *is*
present in the context 'from-pstn', as defined for visdn0 in the
/etc/asterisk/visdn.conf file)
Any suggestions would be appreciated...
--
F Peeters
PIII 450 - 1 GB - * 1.2 - BRIstuff 0.3.0 Pre 1 - Florz patch
2 Sweex HFC-PCI modes=2 sync_slave=2 timer_card=0
Cologne HFC-S pins #52, #54, #55 connected in parallel for synching.
AMD Duron 1GHz - 1GB - * 1.2.1
2 Sweex HFC-PCI cards
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers