Hi all,
So after some research it seems it's time for me to go sleep :-]. So my
cable are not plug on the good port ...
Sorry for this subject and thanks to all who have help me.
I send you my config if some person wants to use it for helping to
configure.
For the ppp connexion i have testing mISDN with chan_capi and app_pipe
but no success. I don't know what debug can i send you for help me.
Another point, i have this failed on my dmesg :
register_layer: register_sysfs failed -17 st(00000100) inst(40000100)
register_layer: register_sysfs failed -17 st(00000200) inst(40000200)
register_layer: register_sysfs failed -17 st(00000300) inst(40000300)
register_layer: register_sysfs failed -17 st(00000400) inst(40000400)
Is it a problem ?
Thanks.
Sylvain
--
Sylvain BOILY
Proformatique - 67 rue Voltaire - 92800 Puteaux
Tel. : 01 41 38 99 64 - Fax. : 01 41 38 99 70
Email : [EMAIL PROTECTED] - http://proformatique.com/
"Vers un monde plus libre"
------------------------------------
Proformatique est membre de l'ASS2L
http://www.ass2L.org
Server with port 1 on TE mode and port 2 on NT mode.
CONFIG on first server for misdn.conf :
[general]
misdn_init=/etc/mISDN.conf
tracefile=/var/log/asterisk/misdn.log
debug=0
append_digits2exten=yes
bridging=yes
[default]
language=fr
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0
dialplan=0
hdlc=no
pmp_l1_check=yes
echocancel=yes
senddtmf=yes
[TEports]
context=from-extern
ports=1,2
msns=*
CONFIG for mISDN in /etc/
<?xml version="1.0"?>
<!--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: BN2S0, BN4S0, BN8S0
Card Attributes: ulaw=(yes|no), dtmf=(yes|no), pcm_slave=(yes|no),
ignore_pcm_frameclock=(yes|no), rxclock=(yes|no),
crystalclock=(yes|no), watchdog=(yes|no)
Port Attributes: mode=(te|nt), link=(ptp|ptmp), master-clock=(yes|no),
capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: BN2E1
Card Attributes: ulaw=(yes|no), dtmf=(yes|no), pcm_slave=(yes|no),
ignore_pcm_frameclock=(yes|no), rxclock=(yes|no),
crystalclock=(yes|no), watchdog=(yes|no)
Port Attributes: mode=(te|nt), link=(ptp|ptmp), optical=(yes|no), los=(yes|no),
ais=(yes|no), slip=(yes|no), nocrc4=(yes|no), capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: hfcmulti, avmfritz, w6692pci
Port Attributes: mode=(te|nt), link=(ptp|ptmp), capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Module: hfcmulti
Options: poll=<number>, pcm=<number>, debug=<number>, timer=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Module: mISDN_dsp
Options: debug=<number>, options=<number>, poll=<number>,
dtmfthreshold=<number>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<mISDNconf>
<module poll="128" debug="0" timer="no">hfcmulti</module>
<module debug="0" options="0">mISDN_dsp</module>
<devnode user="root" group="dialout" mode="0660">mISDN</devnode>
<card type="BN4S0" dtmf="no">
<port mode="te" link="ptmp" capi="no">1</port>
<port mode="nt" link="ptmp">2</port>
<port mode="te" link="ptmp">3</port>
<port mode="te" link="ptmp">4</port>
</card>
</mISDNconf>
Asterisk Version 1.2.23
mISDN version 1.1.5
Distribution debian ETCH
Kernel 2.6.18-4-686
Card : Digium B410P with second port who have jumper set on NT mode
Cable : Straight Cable on TE port and on NT port to other TE port.
Dialplan very basic :
[default]
[from-extern]
exten => 0730,1,Answer()
exten =>
0730,n,Pipe(/usr/sbin/pppd|mru|800|mtu|800|notty|noauth|192.168.1.10:192.168.1.11)
exten => 0730,n,Hangup()
exten => 0731,1,Dial(mISDN/2/0730)
exten => 0731,n,Hangup()
On second server :
Dialplan very basic on second :
[default]
[from-extern]
exten => 0730,1,Answer()
exten => 0730,n,Playback(hello-world)
exten => 0730,n,Hangup()
misdn.conf for channel
[general]
misdn_init=/etc/mISDN.conf
tracefile=/var/log/asterisk/misdn.log
debug=0
append_digits2exten=yes
bridging=yes
[default]
language=fr
nationalprefix=0
internationalprefix=00
rxgain=0
txgain=0
dialplan=0
hdlc=no
pmp_l1_check=yes
echocancel=yes
senddtmf=yes
[TEports]
context=from-extern
ports=1,2
msns=*
mISDN.conf in /etc
<?xml version="1.0"?>
<!--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: BN2S0, BN4S0, BN8S0
Card Attributes: ulaw=(yes|no), dtmf=(yes|no), pcm_slave=(yes|no),
ignore_pcm_frameclock=(yes|no), rxclock=(yes|no),
crystalclock=(yes|no), watchdog=(yes|no)
Port Attributes: mode=(te|nt), link=(ptp|ptmp), master-clock=(yes|no),
capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: BN2E1
Card Attributes: ulaw=(yes|no), dtmf=(yes|no), pcm_slave=(yes|no),
ignore_pcm_frameclock=(yes|no), rxclock=(yes|no),
crystalclock=(yes|no), watchdog=(yes|no)
Port Attributes: mode=(te|nt), link=(ptp|ptmp), optical=(yes|no), los=(yes|no),
ais=(yes|no), slip=(yes|no), nocrc4=(yes|no), capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: hfcmulti, avmfritz, w6692pci
Port Attributes: mode=(te|nt), link=(ptp|ptmp), capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Module: hfcmulti
Options: poll=<number>, pcm=<number>, debug=<number>, timer=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Module: mISDN_dsp
Options: debug=<number>, options=<number>, poll=<number>,
dtmfthreshold=<number>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<mISDNconf>
<module poll="128" debug="0" timer="no">hfcmulti</module>
<module debug="0" options="0">mISDN_dsp</module>
<devnode user="root" group="dialout" mode="0660">mISDN</devnode>
<card type="BN4S0">
<port mode="te" link="ptmp" capi="no">1</port>
<port mode="te" link="ptmp">2</port>
<port mode="te" link="ptmp">3</port>
<port mode="te" link="ptmp">4</port>
</card>
</mISDNconf>
_______________________________________________
Misdn-asterisk mailing list
[email protected]
http://lists.beronet.com/cgi-bin/mailman/listinfo/misdn-asterisk