Hello Do you set your callerid in the context outgoing?
[outgoing] exten => _X.,1,Set(CALLERID(num)=4663000) exten => _X.,n,Dial(.............. On Mon, May 9, 2011 at 4:45 AM, mahesh katta <[email protected]>wrote: > Sir , > > this is not working > > > On Mon, May 9, 2011 at 1:52 PM, A J Stiles > <[email protected]>wrote: > >> On Monday 09 May 2011, mahesh katta wrote: >> > Hi, >> > THIS IS IN DUBAI. >> > >> > I am having PRI line with 100 DID's (00-99) and when we call to any >> > landline or mobile number then it shows us our board number or pilot >> number >> > (i.e 4663000 means 00).. >> >> In the context through which outgoing calls are placed, you need a step >> which >> sets the caller ID number. For instance, part of our dialplan maps >> external >> phone numbers with the local part 707060 to 707072 to internal extensions >> 301 >> to 312 respectively. Our E1 provider also requires us to include the STD >> code, minus the leading zero, for the town we are in -- and will silently >> anonymise the call if we try to send a caller ID that does not belong to >> us. >> >> So for outgoing calls, we have something like >> >> [ts-outgoing] >> exten => _0., 1, Set(localno=7070$[${CALLERID(num)}-240]) >> exten => _0., 2, Set(CALLERID(num)=${STD}${localno}) >> >> >> -- >> AJS >> >> Answers come *after* questions. >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > > -- > Best Regards, > > Mahesh Katta > *BUZZ**WORKS* Business Services Private Limited > BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI > 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri > (E) Mumbai 400069 > GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 > Web http://www.buzzworks.com > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
