[Asterisk-Users] CAPI - displaying individual MSN
Hi, I'm currently using chan_capi-cm-0.6, with the following capi.conf: [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 language=de [ISDN1] msn=8304490 incomingmsn=8304490 isdnmode=msn group=1 controller=1 softdtmf=1 context=demo echosquelch=1 echocancel=yes echotail=64 callgroup=1 devices=2 Each user has a different numer, e.g. 83044910, 83044911, 83044912 and so on. This number should appear on the display of the called party, but how do I configure this? With the above configuration the display always shows 8304490. I've tried to change the number in the dialplan, but this doesn't change anything: exten = _90[23456789].,1,SetCIDNum(83044912) exten = _90[23456789].,2,Dial(Capi/g1/${EXTEN:1},30,tr) If I remove the mns line in the capi.conf or set msn=* or msn=830449* Asterisk isn't able to open the CAPI channel. Does anyone have a hint for me? If yes - THANK YOU ;-) Stefan ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] CAPI - displaying individual MSN
Stefan Günther schrieb: With the above configuration the display always shows 8304490. I've tried to change the number in the dialplan, but this doesn't change anything: exten = _90[23456789].,1,SetCIDNum(83044912) Try to use SetCallerID instead of SetCIDNum and see if it helps. exten = _90[23456789].,2,Dial(Capi/g1/${EXTEN:1},30,tr) -- Best regards Peer Oliver Schmidt PGP Key ID: 0x83E1C2EA ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] CAPI - displaying individual MSN
Hi! msn=8304490 incomingmsn=8304490 Each user has a different numer, e.g. 83044910, 83044911, 83044912 and so on. This number should appear on the display of the called party, but how do I configure this? With the above configuration the display always shows 8304490. I've tried to change the number in the dialplan, but this doesn't change anything: exten = _90[23456789].,1,SetCIDNum(83044912) exten = _90[23456789].,2,Dial(Capi/g1/${EXTEN:1},30,tr) If I remove the mns line in the capi.conf or set msn=* or msn=830449* Asterisk isn't able to open the CAPI channel. You need to modify incomingmsn= and not msn= for this to work as expected. Also be aware that often these two settings require different values for the same meaning, e.g. you might have to add the area prefix for the msn= setting (40 for Hamburg, 89 for München etc). If however your Asterisk is behind a PBX then your incoming MSN might only have to be 910, 911 and 912. The above applies also to your SetCIDNum statement, it must match a valid (!) MSN. Cheers, Philipp ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] CAPI - displaying individual MSN
On Tue, 18 Oct 2005, Stefan Günther wrote: .. Each user has a different numer, e.g. 83044910, 83044911, 83044912 and so on. This number should appear on the display of the called party, but how do I configure this? With the above configuration the display always shows 8304490. I've tried to change the number in the dialplan, but this doesn't change anything: exten = _90[23456789].,1,SetCIDNum(83044912) exten = _90[23456789].,2,Dial(Capi/g1/${EXTEN:1},30,tr) If I remove the mns line in the capi.conf or set msn=* or msn=830449* Asterisk isn't able to open the CAPI channel. msn= does not exist anymore, it has no effect. Use incomingmsn=* to specify which MSN shall be handled by Astreisk. Are you sure you have PtMP (MSN) connection? When you have numbers like 83044910, 83044911, 83044912,... and the display shows 8304490, then it looks like a PtP connection with base number 830449-X. If thats the case, you should - switch to isdnmode=did - SetCIDNum(12), instead of SetCIDNum(83044912) Armin ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users