<div dir="ltr"><div>Hi</div>
<div> </div>
<div>try to add this </div>
<div> </div>
<div>exten => _90ZXXXXXXXX,1,Set(CALLERPRES()=allowed)<br>exten => _90ZXXXXXXXX,n,Set(CALLERID(num)=5631040)</div>
<div> </div>
<div><span style="FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: FR; mso-bidi-language: AR-SA" lang="EN-GB">if you get the same result that is means that you don't have permission from your provider</span></div>
<div> </div>
<div> </div>
<div>kind regards<br><br></div>
<div class="gmail_quote">2011/9/26 C F <span dir="ltr"><<a href="mailto:shmaltz@gmail.com">shmaltz@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Confirm with your provider that allow you to set caller id on outbound.<br>
<div>
<div></div>
<div class="h5"><br><br>On Sun, Sep 25, 2011 at 1:59 PM, bilal ghayyad <<a href="mailto:bilmar_gh@yahoo.com">bilmar_gh@yahoo.com</a>> wrote:<br>> Dear;<br>><br>> By the way, the asterisk version is: 1.8.4.2<br>
><br>> 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.<br>
><br>> Do I have to use SetCallerPres? What is the value?<br>><br>> 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 !<br>
><br>> Well, I have also a question: What should I set the callerid when I am configuring the IP Phone in the sip.conf?<br>><br>> By the way: what is the difference between using Set(CALLERID(num)=5631040) and the callerid in the sip.conf?<br>
><br>> Kindly find below my dialing plan:<br>><br>> exten => _90ZXXXXXXXX,1,Set(CALLERID(num)=5631040)<br>> exten => _90ZXXXXXXXX,2,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav)<br>
> exten => _90ZXXXXXXXX,3,Dial(${PSTNTRUNK}/${EXTEN:1})<br>> exten => _90ZXXXXXXXX,4,Playback(vm-nobodyavail)<br>> exten => _90ZXXXXXXXX,5,Hangup()<br>> exten => _90ZXXXXXXXX,104,Congestion() ; if no channel available<br>
> exten => _90ZXXXXXXXX,105,Hangup()<br>><br>><br>> -----------------------<br>><br>><br>>><br>>> Set(CALLERID(num)=5631040)<br>>> add this before the Dial command.<br>>><br>>> On Sat, Sep 24, 2011 at 4:03 PM, bilal ghayyad <<a href="mailto:bilmar_gh@yahoo.com">bilmar_gh@yahoo.com</a>><br>
>> wrote:<br>>> > Hi All;<br>>> ><br>>> > The DID range that we took from the telecom starts<br>>> from 1030 and end by 1059, now whenever we place a call, the<br>>> destination see the number 5631030. I gave the phone<br>
>> extension 1040, and when I call, still the destination see<br>>> the number is 5631030?<br>>> ><br>>> > Kindly find below the configuration of the extension<br>>> 1040, please what I have also to configure so when this<br>
>> extension make a call, the destination see it 5631040?<br>>> ><br>>> > [1040]<br>>> > type=friend<br>>> > host= dynamic<br>>> > callerid=1040<br>>> > disallow=all<br>
>> > allow=alaw<br>>> > allow=ulaw<br>>> > allow=g729<br>>> > context=External<br>>> > dtmfmode=auto<br>>> > nat=no<br>>> > qualify=no<br>>> > canreinvite=yes<br>
>> > username=1040<br>>> > secret=*******<br>>> ><br>>> > Regards<br>>> > Bilal<br>><br>><br>> --<br>> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></div></blockquote></div><br></div>