[asterisk-users] DID and how caller id will appear
bilal ghayyad
bilmar_gh at yahoo.com
Tue Oct 18 18:15:04 CDT 2011
Dear;
We are using ISDN PRI, and the telephony card is Digium card supported 2 ports of E1s, and in the system.conf, I selected the zone to be uk loadzone = uk (loadzone = uk and defaultzone=uk). Actually the Asterisk in Jordan and connected to Jordan Telecom provider.
This is the output of some commands that help to give the specification of the hardware:
[root at CC dahdi]# dahdi_hardware
pci:0000:05:08.0 wct4xxp+ d161:1220 Wildcard TE220 (5th Gen)
[root at CC dahdi]# dahdi_scan
[1]
active=yes
alarms=OK
description=T2XXP (PCI) Card 0 Span 1
name=TE2/0/1
manufacturer=Digium
devicetype=Wildcard TE220 (5th Gen) (VPMOCT064)
location=Board ID Switch 0
basechan=1
totchans=31
irq=34
type=digital-E1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=AMI,HDB3
framing_opts=CCS,CRC4
coding=HDB3
framing=CCS/CRC4
[2]
active=yes
alarms=UNCONFIGURED
description=T2XXP (PCI) Card 0 Span 2
name=TE2/0/2
manufacturer=Digium
devicetype=Wildcard TE220 (5th Gen) (VPMOCT064)
location=Board ID Switch 0
basechan=32
totchans=31
irq=34
type=digital-E1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=AMI,HDB3
framing_opts=CCS,CRC4
coding=
framing=CAS
Regards
Bilal
------------------
> Bialal,
>
> what hw you are using and what is the h/w files. ?
>
>
>
> On Tue, Oct 18, 2011 at 5:23 PM, bilal ghayyad <bilmar_gh at yahoo.com>
> wrote:
>
> > 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
> >
> > --
> >
> _____________________________________________________________________
> > -- 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
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111018/2ec196cb/attachment-0001.htm>
>
> ------------------------------
>
> Message: 21
> Date: Tue, 18 Oct 2011 12:26:36 +0000
> From: salaheddine elharit <salah.elharit200 at gmail.com>
> Subject: [asterisk-users] voicemail
> To: Asterisk Users Mailing List - Non-Commercial
> Discussion
> <asterisk-users at lists.digium.com>
> Message-ID:
>
> <CAHexams+C90hyUJQ-nsLtbz_bb0=o-NeVJhxq+RmNbnazpUE2w at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> hello list
>
>
>
> i have configured the voicemail in my server asterisk 1.4 i
> can use it
> without issue ,i have a question
>
>
>
> i want to receive an email in my address email when there
> is no response
> from 270 after 10 s
>
>
>
> could you please verify the code below and tell me what is
> wrong
>
>
>
> thanks and regards
>
>
>
>
>
>
>
>
>
> extensions.conf
> exten => 9999,1,VoiceMailMain(777 at mb_tutorial)
>
> exten => 270,1,Dial(SIP/270, 10)
> exten => 270,n,VoiceMail(777 at mb_tutorial)
> exten => 270,n,PlayBack(vm-goodbye)
> exten => 270,n,HangUp()
>
> voicemail.conf
> [mb_tutorial]
> 777 => 1111,270,salah.elharit200 at gmail.com,,|attach=no|review=yes
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111018/1fdb905a/attachment.htm>
>
> ------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2010 - October 26-28 Washington, DC
> Register Now: http://www.astricon.net/
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
> End of asterisk-users Digest, Vol 87, Issue 33
> **********************************************
>
More information about the asterisk-users
mailing list