[Asterisk-Users] I want to display my numbers for incoming calls
when some one dials my number from any where
Mazhar Hussain
mmazhar at gmail.com
Fri Jan 28 00:59:48 MST 2005
Hi to all again,
Thanks for your quick response
as you siad "set callerid via extensions.conf by using apps available. Look at
"show applications" via the asterisk CLI."
can i write context for incoming ,
like
(orignal)
[ukincomming]
include => defaults
exten => s,1,Wait,1
exten => s,2,Answer
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,10
exten => _55.,1,Answer
exten => _55.,2,Macro(record-enable)
exten => _55.,3,Queue(dave|t|||300)
exten => _55.,4,PlayBack(vm-goodbye)
exten => _55.,5,Hangup
[macro-record-enable]
exten => s,1,AGI(set-timestamp.agi)
exten => s,2,SetVar(CALLFILENAME=${timestamp}-${MACRO_EXTEN})
exten => s,3,Monitor(wav,${CALLFILENAME})
changed
[ukincomming]
include => defaults
exten => s,1,Wait,1
exten => s,2,Answer
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,10
exten => _55.,1,Answer
exten => _55.,2,Macro(record-enable)
exten => _55.,3,SetCallerID(${CALLERIDNUM}) ;i have added the following line
exten => _55.,4,Queue(dave|t|||300)
exten => _55.,5,PlayBack(vm-goodbye)
exten => _55.,6,Hangup
will it work and will display my number dialded any one. or can u
please let me know example context for this,
Cheers,
Mazhar Hussain
On Fri, 28 Jan 2005 01:22:55 -0600, Steven Critchfield
<critch at basesys.com> wrote:
> On Thu, 2005-01-27 at 23:15 -0800, Mazhar Hussain wrote:
> > Hi to all,
> >
> > I and using asterisk with following
> >
> > 1. TDM400p card with four FXS modules,
> > So there are four analog phone lines on four zap channels,
> > My setup is working fine.
> > And version is like such
> > Asterisk CVS-v1-0-11/27/04-20:48:45
> >
> > But when some dials form his number (suppose abc) to my number
> > (suppose xxxx) I get abc number on my analog phone, but now I have
> > purchased more than one numbers suppose xxxxxxx , yyyyyyyy ,zzzzzzzzz
> > . I want to change settings in extension.con or some where so that
> > when some one (from any number) dials xxxxx there should be xxxxx
> > number on analog phone and similarly if some one dials yyyyyyy from
> > any number there should be yyyyy on my analog phones
>
> On analog lines, you can't specify callerid to the PSTN. You can for
> internal dialing. Check out the zap conf file in /etc/asterisk/. You can
> also set callerid via extensions.conf by using apps available. Look at
> "show applications" via the asterisk CLI.
>
> --
> Steven Critchfield <critch at basesys.com>
>
>
More information about the asterisk-users
mailing list