[Asterisk-Users] MISDN callerid
Stefan Gofferje
stefan at gofferje.homelinux.org
Sat Aug 13 05:43:16 MST 2005
Michiel van Baak schrieb:
>>I have a cologne chip card which is connected directly to the ntba.
>>Outgoing and incoming calls work fine, but incoming calls from ntba have
>>the wrong callerid (first 0 is missing). I'm using current jolly misdn
>>drivers and chan_misdn-14_04_05 with asterisk stable.
> I think this is normal behavior for ISDN lines. My guess
> it's the telco not sending the 0.
The callerid is tranmitted completely different. Adding zeros or plusses
is a matter of the equipment (phone).
> I have the same thing on AVM Fritz with chan_capi and with
> the QuadBRI with qozap and chan_zap. I simply add the 0 to
> national numbers (based on length of numbers without leading
> 0) or a + to international numbers. This fixed all later
> lookup functionality in my dialplan.
For chan_capi - capi.conf:
[general]
nationalprefix=0
internationalprefix=00
For HFC-cards (bristuff / ZAPHFC) - zapata.conf:
[channels]
pridialplan=local
prilocaldialplan=local
For MISDN: no idea... look into the docs or use ZAPHFC :-).
Changing the CID in the dialplan is really ugly :-).
Besides, Michiel, I strongly recommend chan_capi-cm! It has more
functions than chan_capi. You can e.g. send any hangupcause you want
back to the network e.g. 021 "call rejected" >:-) ...
chan_capi-cm -> http://sourceforge.net/projects/chan-capi/
cause codes -> http://www.telos-systems.com/?/techtalk/cause.htm
--
(o_ Stefan Gofferje | SCLT
//\ Reg'd Linux User #247167 | VCP #2263
V_/_ Heckler & Koch - the original point and click interface
More information about the asterisk-users
mailing list