[Asterisk-Users] chan_capi-cm 0.6.4 random outgoing MSN problem

Peter Braidwood Peter at braidwood.co.uk
Thu Feb 23 09:21:37 MST 2006


I have ISDN2 and 10 MSN numbers and also have just upgraded to 1.2.4 and
chan_capi-cm and have this working completely perfectly

Capi.conf

[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=en

[ISDN1]
isdnmode=msn
incomingmsn=*
controller=1
softdtmf=1
accountcode=
context=from-isdn
group=1
devices=2

bit of extensions.conf, I dial 9 for an outside line

[pstn]

exten => _9./321,1,Dial(CAPI/g1/01234567890:${EXTEN:1})
exten => _9./322,1,Dial(CAPI/g1/01234567891:${EXTEN:1})
exten => _9./323,1,Dial(CAPI/g1/01234567892:${EXTEN:1})
exten => _9./324,1,Dial(CAPI/g1/01234567893:${EXTEN:1})
exten => _9./326,1,Dial(CAPI/g1/01234567894:${EXTEN:1})
exten => _9./327,1,Dial(CAPI/g1/01234567895:${EXTEN:1})
exten => _9./328,1,Dial(CAPI/g1/01234567896:${EXTEN:1})
exten => _9./350,1,Dial(CAPI/g1/01234567897:${EXTEN:1})
exten => _9./351,1,Dial(CAPI/g1/01234567898:${EXTEN:1})
exten => _9./352,1,Dial(CAPI/g1/01234567899:${EXTEN:1})

So when extension 326 dials out the cli that is presented would be
01234567894

Contact me off list if you want any further help.

Peter Braidwood


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Faris
Raouf
Sent: 23 February 2006 13:24
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] chan_capi-cm 0.6.4 random outgoing MSN problem

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

________________________________________________________________________
This email has been scanned for all viruses by the Star Internet Virus
Screen.
The service is provided in partnership with MessageLabs, the email
security company.
For more information on a higher level of virus protection visit
www.star.net.uk
________________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the asterisk-users mailing list