[asterisk-users] DID and how the caller id will appear
bilal ghayyad
bilmar_gh at yahoo.com
Tue Oct 18 06:53:34 CDT 2011
Dears;
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.
Where could be the problem?
Maybe I have to use CALLERID(ANI)? Well, how it should be written exactly?
What other things I have to do or I can try to resolve the problem?
Regards
Bilal
---------------
>
> Hi
>
> try to add this
>
> exten => _90ZXXXXXXXX,1,Set(CALLERPRES()=allowed)
> exten => _90ZXXXXXXXX,n,Set(CALLERID(num)=5631040)
>
> if you get the same result that is means that you don't
> have permission from
> your provider
>
>
> kind regards
>
> 2011/9/26 C F <shmaltz at gmail.com>
>
> > Confirm with your provider that allow you to set
> caller id on outbound.
> >
> >
> > On Sun, Sep 25, 2011 at 1:59 PM, bilal ghayyad <bilmar_gh at yahoo.com>
> > 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 <bilmar_gh at yahoo.com>
> > >> 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
More information about the asterisk-users
mailing list