FAQ chan mISDN

From mISDN.org

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:13, 10 July 2006
Crich (Talk | contribs)

← Previous diff
Revision as of 07:38, 14 July 2006
Crich (Talk | contribs)

Next diff →
Line 58: Line 58:
It is important to set the localdialplan=2 in the misdn.conf, also set the presentation=2 and screening=0 this should do the trick. It is important to set the localdialplan=2 in the misdn.conf, also set the presentation=2 and screening=0 this should do the trick.
 +
 +
 +'''Why do i get a 0 or 00 prefixed in my dad, called party number?'''
 +
 +You have probably a ptp Line and your provider is sending you the number in the national or international format. chan_misdn adds in these cases the defined nationalprefix or internationalprefix. You can change these prefixes to your local prefixes. you can also ommit these prefixes by just defining:
 +
 +nationalprefix=
 +internationalprefix=
 +
 +This will tell chan_misdn not to add anything to the dad number. If you do not define the prefix options they will default to 0/00.

Revision as of 07:38, 14 July 2006

Why can't i configure my NT Port in PTP (Point To Point) Mode ?

mISDN is a very flexible Layer Management System. Since mISDN came from the isdn4linux guys, who only had a TE Stack, the whole TE Stack lives in the Kernel Modules: mISDN_l1. mISDN_l2 and l3udss1. The NT Stack is new, and because new things may be buggy, they have decided to implement the NT stack in the Userspace, so it is implemented in mISDNuser. When all the work has been finished the NT Stack can be moved into a kernel Module. This means: you can configure if a mISDN port is NT or TE by providing the module parameters. The PTP Setting is a L2 Setting, which must be setted in User Space, so in mISDNuser. You can only do this from within chan_misdn, therefore you need to set the PTP Option additionally in the misdn.conf for each port, which needs to be PTP: e.g.:

ports=1ptp,2,3ptp

Hint: In the 0.3.0 Version of chan_misdn, you don't need to set this option anymore, chan_misdn will then parse /etc/misdn-init.conf and find out which ports need to be PTP

What was the dialstring of chan_misdn again ?

Dial( mISDN/<port>/<number>/<options>) name - is a port group name, port group names are the section names in the misdn.conf port - is a isdn port

number - is clear options - additional options, which allow to modify the outgoing channel behaviour. Please see further info about these in the README provided with chan_misdn

e.g.: Dial(mISDN/g:extern/1234) or Dial(mISDN/2/321)

Why can't i make proper group calls on NT Port Groups?

It makes not much sense to group multiple NT Ports, if you plan to connect phones to them. The problem is, that chan_misdn does not know on which Port which phone is connected to, so what should chan_misdn do if you try to make a group call on NT Ports (like dial(mISDN/g:NTPorts/111) ? chan_misdn could for example try to dial on the first port (if theres a free channel), then it needed to wait for a timeout, and try on the second port and so on.. but that would take quite long, because chan_misdn needed to wait for timeouts each time. Also multiple phones with the same number could be connected on different ports .. There are numerous other issues with grouping NT Ports (for phones).

So the easiest way is to define a Phone location, not only by its number but also by the isdnport where it's connected to. So if you want to call a phone on port 3 with number 1 just do dial(mISDN/3/1)


How can i dial-in into my box running chan_misdn with a data call (ppp)?


Dialin works reliable only in the 0.3.0 branch of chan_misdn. You'll need the application app_pipe, which can be gathered at http://www.beronet.com/downloads/apps/app_bundle.tar.gz, unpack and install it. Then do something like that in your dialplan:

exten => 123,1,Pipe(/usr/sbin/pppd|sync|notty|noauth|192.168.1.10:192.168.1.11)

add more pppd options to the arguments as you wish. The above example works to dialin without a password. The most crucial options are: sync + notty !

It is also important to tell chan_misdn explicitly to use hdlc coding/decoding for the bchannel. In the 0.3.x branch you can easily do that by setting the option "hdlc=yes" in the misdn.conf for the specific port.

Asterisk stops responding and my syslog is filled with rport queue overflow messages

We have added a configureable jitterbuffer in 0.3.0. You'll probably need to enable a bit buffering for better performance. Without buffer the voiceframes are sent directly to Asterisk, they might block there and lock mISDN therefore! Before (0.2.x) we had a static not configureable jitterbuffer, so it worked a bit better.

Just add these lines to your general section:

jitterbuffer=4000 jitterbuffer_upper_threshold=0


I don't hier a dialtone when i Off Hook my ISDN Phone, what's wrong ?

chan_misdn supports the asterisk indication tone zone settings since 0.3.0-rc8 or so.. that means you need to configure the file /etc/asterisk/indications.conf, this file needs to be there!


Why does the L1 goes DOWN on my PMP Isdn Link? Or why do i get No free chan even after group call from chan_misdn if dialing out on my PMP Link?

Answer: The telco shuts down the L1 after a while, thats normal, he wants to save power costs. chan_misdn checks in groupcalls if the L1 is UP if not it takes the next port, that's why we can't call out on that group if every L1 is down. You can avoid that problem either by making a call directly on a port like "dial(mISDN/1/1234)" instead of the group call "dial(mISDN/g:out/1234)". Or you can set the pmp_l1_check=no option for that group in the misdn.conf file.

How do i activate CLIP/No Screening with chan_misdn ?

It is important to set the localdialplan=2 in the misdn.conf, also set the presentation=2 and screening=0 this should do the trick.


Why do i get a 0 or 00 prefixed in my dad, called party number?

You have probably a ptp Line and your provider is sending you the number in the national or international format. chan_misdn adds in these cases the defined nationalprefix or internationalprefix. You can change these prefixes to your local prefixes. you can also ommit these prefixes by just defining:

nationalprefix= internationalprefix=

This will tell chan_misdn not to add anything to the dad number. If you do not define the prefix options they will default to 0/00.

Personal tools
Toolbox