I've having a big problem after having upgraded to 1.2.4 and chan_capi-cm 0.6.4

When making outgoing calls I don't seem to have any control over the CLI that is presented to the called party -- it can be any one of the MSNs allocated to the line, allocated on what seems to be a random basis.

This is on a BT Business Highway line (which is essentially an ISDN2e line with two built-in analog ports), configured with 8MSNs alongside the single the "master" digital telephone number for the line.

With a much older version of chan_capi-cm (0.5.4 I think) and Asterisk 1.0.9 it was always the "master" number that was presented, and that is actually what I want.

Obviously the format of capi.conf has changed between these two versions of chan_capi-cm, so maybe I'm doing something wrong. Any suggestions would be appreciated.

Here's my capi.conf (actual numbers changed to protect the innocent!)

[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
;ulaw=yes        ;set this, if you live in u-law world instead of a-law

[123456]
; Master number for line - i.e. number for line before MSNs were allocated
; and which still works and still accepts incoming calls.
isdnmode=msn
msn=01234123456
;incomingmsn=*
incomingmsn=123456
controller=1
softdtmf=1
accountcode=
context=isdn-in
echosquelch=1
echocancel=yes
;echotail=64
;callgroup=1
;deflect=12345678
devices=2

[123457]
;first MSN
msn=01234123457
;incomingmsn=*
incomingmsn=123457
isdnmode=msn
controller=1
softdtmf=1
accountcode=
context=isdn-in
echosquelch=1
echocancel=yes
;echotail=64
;callgroup=1
;deflect=12345678
devices=2

{repeated for next 7 MSNs}


And in extensions.conf I have:

[globals]
ISDN1=CAPI/123456


[mysip]

;GET OUTSIDE LINE (ISDN1 - dial 9)
ignorepat => 9
exten => exten => _9.,1,Dial(${ISDN1}/${EXTEN:1}/b)
exten => _9.,2,Playback(busy)
exten => _9.,3,Hangup

*****

I've tried using ISDN1=CAPI/contr1 but it makes no difference.
I've tried leaving out the isdnmode=msn but it makes no difference
I've tried entering 01234123456 as the msn= line on all of the msn entries in capi.conf but it makes no difference either.

And now I'm out of ideas and any help would be appreciated.

Thanks,

Faris.

p.s. sorry if this message is HTML. I've switched to using Thunderbird and it is confusing the heck out of me. It claims this is a plain text message but it doesn't look like plain text to me from this end!


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to