On 11/25/05, <b class="gmail_sendername">Denny Schierz</b> &lt;<a href="mailto:linuxmail@4lin.net">linuxmail@4lin.net</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>Is there anybody, who has asterisk 1.2 with misdn running?<br><br>can anybody help?<br><br>
</blockquote></div><br>
Hi Denny,<br>
<br>
I have it running. One card is in TE mode and it is connected to
outside line and one card is working in NT mode and I have Siemens ISDN
base station connected to it.<br>
It works fine although I have to restart asterisk from time to time
because it reports : app_dial.c:1011 dial_exec_full: Unable to create
channel of type 'mISDN' (cause 0 - Unknown)<br>
<br>
I have added following lines to misdn.conf:<br>
&nbsp;<br>
[outside]<br>
ports=1<br>
context=outside<br>
msns=*<br>
<br>
[inside]<br>
ports=2<br>
context=inside<br>
msns=*<br>
<br>
Please note : ports are not the same as B-channels, you have two
B-channels per port, also ports=2 does not mean that you have two ports
- it means port number two.<br>
<br>
In extensions.conf I have (numbers are changed to protect the innocent :-) ) :<br>
<br>
[outside]<br>
exten =&gt; 555123123,1,Dial(mISDN/g:inside/123,20)<br>
[inside]<br>
exten =&gt; _X.,1,DIAL(mISDN/g:outside/${EXTEN},20)<br>
<br>
<br>
So basically, if someone calls you on 555123123 call gets routed to
your local phone that responds to MSN number 123 and if you want to
call someone you just dial the number.<br>
(I have internal calls solved inside wireless phones/base station so I did not need it in Asterisk.)<br>
<br>
As mISDN is concerned this is my /etc/modprobe.d/capi<br>
<br>
alias /dev/capi20 hfcpci<br>
alias char-major-68-0 hfcpci<br>
<br>
install hfcpci /sbin/modprobe capi; \<br>
/sbin/modprobe mISDN_core debug=7; \<br>
/sbin/modprobe mISDN_l1; \<br>
/sbin/modprobe mISDN_l2; \<br>
/sbin/modprobe l3udss1; \<br>
/sbin/modprobe mISDN_capi; \<br>
/sbin/modprobe mISDN_x25dte; \<br>
/sbin/modprobe --ignore-install hfcpci layermask=0xf,0x3 protocol=2,0x12 type=0x01,0x01 debug=7,7; \<br>
/sbin/modprobe mISDN_dsp<br>
<br>
remove hfcpci /sbin/modprobe -r mISDN_dsp; \<br>
/sbin/modprobe -r --ignore-remove hfcpci; \<br>
/sbin/modprobe -r mISDN_x25dte; \<br>
/sbin/modprobe -r mISDN_capi; \<br>
/sbin/modprobe -r l3udss1; \<br>
/sbin/modprobe -r mISDN_l2; \<br>
/sbin/modprobe -r mISDN_l1; \<br>
/sbin/modprobe -r mISDN_core; \<br>
/sbin/modprobe -r capi<br>
<br>
So simple modprobe hfcpci loads all necessary modules. Be sure that
your system does not load wrong modules (like hisax, c4, b1, b1pci,
b1dma, ....) during system start-up.<br>
&nbsp;<br>
Also, be sure to include 100 ohm terminators on your crossover cable.
It doesn't work without them no matter how short or long the cable is
(at least it didn't work for me).<br>
<br>
Hope this can help you a little.<br>
<br>
Regards,<br>
<br>
Ivo.<br>
<br>
<br>