Hello Armin,

I also tried setting the Callerid per Call with the syntax described in the
README file
Dial(CAPI/g1/myMSN1,${EXTEN:1}) but this fails when dialing with "CAPI INFO
0x349c: Invalid number format"

where did you read this?

http://cvs.sourceforge.net/viewcvs.py/chan-capi/chan_capi/README?view=markup

with chan_capi-cm-0.6, you can just set the callerid (SetCallerID()). The msn= setting is not used any more and the dialstring above is not correct. With new chan_capi from CVS-HEAD on sourceforge, you can also set another MSN than the callerid.

I now have found this solution (stkn on IRC pointet me that way)
exten => _9.,1,SetCallerPres(allowed)
exten => _9.,2,SetCallerid(614890)
exten => _9.,3,Dial(CAPI/g1/${EXTEN:1})

This actually does the Job - if this is not the most appropriate approach, please point me to a better direction :9

regards

Oliver

--
Diese Nachricht wurde digital unterschrieben
oliwel's public key: http://www.oliwel.de/oliwel.crt
Basiszertifikat: http://www.ldv.ei.tum.de/page72

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

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

Reply via email to