Bialal,<br><br>what hw you are using and what is the h/w files. ?<br clear="all"><font face="Verdana, sans-serif"><font size="2"><font color="#000000"></font></font></font><br>
<br><br><div class="gmail_quote">On Tue, Oct 18, 2011 at 5:23 PM, bilal ghayyad <span dir="ltr"><<a href="mailto:bilmar_gh@yahoo.com">bilmar_gh@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dears;<br>
<br>
We contacted the Telecom provider and they confirmed multiple times that the DID service is enabled, but again still the caller id does not appear as we need (it is always appearing as the primary number). I tried to set the CALLERDID(num) to be 40, 1040, 5631040 and 065631040 without any result.<br>
<br>
Where could be the problem?<br>
<br>
Maybe I have to use CALLERID(ANI)? Well, how it should be written exactly?<br>
<br>
What other things I have to do or I can try to resolve the problem?<br>
<br>
Regards<br>
<font color="#888888">Bilal<br>
</font><div class="im"><br>
---------------<br>
><br>
> Hi<br>
><br>
> try to add this<br>
><br>
> exten => _90ZXXXXXXXX,1,Set(CALLERPRES()=allowed)<br>
> exten => _90ZXXXXXXXX,n,Set(CALLERID(num)=5631040)<br>
><br>
> if you get the same result that is means that you don't<br>
> have permission from<br>
> your provider<br>
><br>
><br>
> kind regards<br>
><br>
> 2011/9/26 C F <<a href="mailto:shmaltz@gmail.com">shmaltz@gmail.com</a>><br>
><br>
> > Confirm with your provider that allow you to set<br>
> caller id on outbound.<br>
> ><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>><br>
> > wrote:<br>
> > > Dear;<br>
> > ><br>
> > > By the way, the asterisk version is: 1.8.4.2<br>
> > ><br>
</div><div class="im">> > > Yes I tried Set(CALLERID(num)=5631040) as shown<br>
> in the below dialing, and<br>
> > no success. Also I tried Set(CALLERID(num)=1040) and I<br>
> tried<br>
> > Set(CALLERID(num)=065631040) as the city code is 06<br>
> and when we call any<br>
> > mobile, it is appearing 065631040, but all of this did<br>
> not work.<br>
> > ><br>
</div><div class="im">> > > Do I have to use SetCallerPres? What is the<br>
> value?<br>
> > ><br>
</div><div class="im">> > > The E1 is located in Jordan and it is PRI with 30<br>
> channels. Is there any<br>
> > thing need to be set other than Set(CALLERID(num)? I<br>
> am afraid that I have<br>
> > to set a specific value for SetCallerPress !<br>
> > ><br>
</div><div><div></div><div class="h5">> > > Well, I have also a question: What should I set<br>
> the callerid when I am<br>
> > configuring the IP Phone in the sip.conf?<br>
> > ><br>
> > > By the way: what is the difference between using<br>
> > Set(CALLERID(num)=5631040) and the callerid in the<br>
> sip.conf?<br>
> > ><br>
> > > Kindly find below my dialing plan:<br>
> > ><br>
> > > exten =><br>
> _90ZXXXXXXXX,1,Set(CALLERID(num)=5631040)<br>
> > > exten =><br>
> ><br>
> _90ZXXXXXXXX,2,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav)<br>
> > > exten =><br>
> _90ZXXXXXXXX,3,Dial(${PSTNTRUNK}/${EXTEN:1})<br>
> > > exten =><br>
> _90ZXXXXXXXX,4,Playback(vm-nobodyavail)<br>
> > > exten => _90ZXXXXXXXX,5,Hangup()<br>
> > > exten => _90ZXXXXXXXX,104,Congestion() ; if no<br>
> 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<br>
> 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<br>
> telecom starts<br>
> > >> from 1030 and end by 1059, now whenever we<br>
> place a call, the<br>
> > >> destination see the number 5631030. I gave<br>
> the phone<br>
> > >> extension 1040, and when I call, still the<br>
> destination see<br>
> > >> the number is 5631030?<br>
> > >> ><br>
> > >> > Kindly find below the configuration of<br>
> the extension<br>
> > >> 1040, please what I have also to configure so<br>
> when this<br>
> > >> extension make a call, the destination see it<br>
> 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>
</div></div><div><div></div><div class="h5">--<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>