/etc/asterisk/visdn.conf
-------------------------------START--------------------
[general]
[global]
network_role = private
;tones_option = yes
outbound_called_ton = unknown
;force_outbound_cli =
;force_outbound_cli_ton = no
;clir_mode = default_on
cli_rewriting = No
national_prefix = 0
international_prefix = 09
network_specific_prefix =
subscriber_prefix =
abbreviated_prefix =
overlap_sending = No
overlap_receiving = No
autorelease_dlc = 10
call_bumping = No
;echocancel = Yes
;echocancel_taps = 128
[huntgroup:telco]
mode = sequential
members = visdn0
[visdn0]
network_role = private
context = from-pstn
tones_option = no
outbound_called_ton = unknown
force_outbound_cli =
force_outbound_cli_ton = no
clip_default_name =
clip_default_number =
clip_numbers = _X.
clir_mode = default_on
overlap_sending = No
overlap_receiving = No
;echocancel = Yes
;echocancel_taps = 128
-----------------------------END---------------------------
/usr/local/etc/visdn/device-pci-0000\:02\:0c.0
<netdev visdn0>
protocol lapd
role TE
tei dynamic
</netdev>
<port st0>
attribute role TE
<chan D>
connectmodule netdev visdn0
</chan>
<chan E>
connectmodule netdev visdn0 echo
</chan>
</port>
-------------------------------END--------------------
Entry in AMP for Custom Trunk
VISDN/huntgroup:telco/$OUTNUM$,30,rT
------------------------------END---------------------
I followed the INSTALL file verbatim but also had to apply
asterisk-1.2-cap.diff patch to run as non-root user (asterisk)
which the INSTALL file does not mention!
I also had to manually setup the libraries for q931 as follows:
-rw-r--r-- 1 asterisk asterisk 933978 Feb 20 05:54 libq931.a
-rw-r--r-- 1 asterisk asterisk 791 Feb 20 05:54 libq931.la
-rw-r--r-- 1 asterisk asterisk 792 Feb 20 05:54 libq931.lai
lrwxrwxrwx 1 root root 16 Feb 20 05:55 libq931.so ->
libq931.so.0.0.0
lrwxrwxrwx 1 root root 16 Feb 20 05:56 libq931.so.0 ->
libq931.so.0.0.0
-rwxr-xr-x 1 asterisk asterisk 536555 Feb 20 05:54 libq931.so.0.0.0
Added chown -R asterisk:asterisk /dev/visdn to amportal to give asterisk rights.
------------------------------------------END-------------------------------------
I thinks that was all as it took some hair-pulling to get it right.
Hope this helps someone!
I will do this from scratch with [EMAIL PROTECTED] and see if it works.
Regards Allan Gee
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers