2009/6/17 Oguzhan Kayhan <oguzh...@bilkent.edu.tr> > Hi, > I have 2 trunks connected to my asterisk installation. > One is a inbound connection between ericsson pbx and the other is thru a > voip service. > > I am using 4 digit numbers both in ericsson and asterisk.. > And also i have full real prefix for that numbers.. > As all 290XXXX are real numbers and if smbody dials 290XXXX from outside > XXXX starts to ring without a problem. > > Now.. My problem is, from asterisk side, both ericsson and trunk are > outside trunks.. > So.. if i dont enter any Caller ID for an extension, 4 digit caller > id(internal CID) is sent to both trunks.. This is waht i want for ericsson > trunk but not the other one.. > So, how can i modify CID for a single trunk, so if i dial ericsson i can > use 4 digit one, and if i dial other trunk i can add smthing like 290 to > all outgoing CID data.. > > > > Hello, you can try to do a Set(${Callerid(num)}=290XXX) before call if you are using asterisk 1.2 the $var is different, search wiki. Tell us if it works for you. Also your provider need to acept your number, so be sure he is. Have a good day.
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users