Confirm with your provider that allow you to set caller id on outbound.
On Sun, Sep 25, 2011 at 1:59 PM, bilal ghayyad <[email protected]> wrote: > Dear; > > By the way, the asterisk version is: 1.8.4.2 > > Yes I tried Set(CALLERID(num)=5631040) as shown in the below dialing, and no > success. Also I tried Set(CALLERID(num)=1040) and I tried > Set(CALLERID(num)=065631040) as the city code is 06 and when we call any > mobile, it is appearing 065631040, but all of this did not work. > > Do I have to use SetCallerPres? What is the value? > > The E1 is located in Jordan and it is PRI with 30 channels. Is there any > thing need to be set other than Set(CALLERID(num)? I am afraid that I have to > set a specific value for SetCallerPress ! > > Well, I have also a question: What should I set the callerid when I am > configuring the IP Phone in the sip.conf? > > By the way: what is the difference between using Set(CALLERID(num)=5631040) > and the callerid in the sip.conf? > > Kindly find below my dialing plan: > > exten => _90ZXXXXXXXX,1,Set(CALLERID(num)=5631040) > exten => > _90ZXXXXXXXX,2,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav) > exten => _90ZXXXXXXXX,3,Dial(${PSTNTRUNK}/${EXTEN:1}) > exten => _90ZXXXXXXXX,4,Playback(vm-nobodyavail) > exten => _90ZXXXXXXXX,5,Hangup() > exten => _90ZXXXXXXXX,104,Congestion() ; if no channel available > exten => _90ZXXXXXXXX,105,Hangup() > > > ----------------------- > > >> >> Set(CALLERID(num)=5631040) >> add this before the Dial command. >> >> On Sat, Sep 24, 2011 at 4:03 PM, bilal ghayyad <[email protected]> >> wrote: >> > Hi All; >> > >> > The DID range that we took from the telecom starts >> from 1030 and end by 1059, now whenever we place a call, the >> destination see the number 5631030. I gave the phone >> extension 1040, and when I call, still the destination see >> the number is 5631030? >> > >> > Kindly find below the configuration of the extension >> 1040, please what I have also to configure so when this >> extension make a call, the destination see it 5631040? >> > >> > [1040] >> > type=friend >> > host= dynamic >> > callerid=1040 >> > disallow=all >> > allow=alaw >> > allow=ulaw >> > allow=g729 >> > context=External >> > dtmfmode=auto >> > nat=no >> > qualify=no >> > canreinvite=yes >> > username=1040 >> > secret=******* >> > >> > Regards >> > Bilal > > > -- > _____________________________________________________________________ > -- 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
