[Asterisk-Users] CallerID Question
James Bean
james at hdcs.com.au
Tue Oct 5 01:34:50 MST 2004
No that didn't help, but I do release what the problem is.
In my
> [pstn]
>
> exten => s,1,NoOp(Comment Only: Call from ${CALLERIDNUM}) ; Just put a
> comment in the CLI for info.
This shows the callerid on the first ring, being in australia I had to
set in chan_zap.c, to wait till the second ring to pickup callerid..
Is there a way to make my NoOp comment no show callerid till after the
second ring?
James
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steven
Critchfield
Sent: Tuesday, 5 October 2004 4:34 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] CallerID Question
On Tue, 2004-10-05 at 16:42 +1000, James Bean wrote:
> Hi,
>
> I have a weird situation where I have a noop command putting the
> callerid of the caller on my asterisk console so I know who is calling
> as a test, but it is putting the callerid of my extension in instead
> of the callerid of the incoming line.
>
> My /etc/asterisk/zapata.conf is
>
> [channels]
> context=default
> ;switchtype=national
> usecallerid=yes
> cidsignalling=v23
> cidstart=polarity
> hidecallerid=no
> callwaiting=no
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> group=1
> signalling=fxo_ks
> callgroup=1
> pickupgroup=1
> immediate=no
> context=internal
> busydetect=yes
> callerid="James Bean<690>" ;assuming extension 690
> mailbox=690 ;stutter tone for voicemail - you can
> use an optional context here
> transfer=yes
> channel=>1
> group=2
> signalling=fxs_ks
> context=pstn
your callerid is declaration from above is still valid here. Try
reordering your channel definitions so you can put the PSTN above the
local lines.
> channel=>4
>
> My /etc/asterisk/extensions.conf is
>
> [pstn]
>
> exten => s,1,NoOp(Comment Only: Call from ${CALLERIDNUM}) ; Just put a
> comment in the CLI for info.
it may be possible still to have the call answered here before the
actual PSTN callerid since you have defined it above and the call
doesn't wait for a callerid from the PSTN. This is just a guess though.
> exten => s,2,Dial(Zap/g1,45,t) ;Dial the group=1 zap card mod above
> exten => s,3,Hangup
> ;exten => s,3,VoiceMail(u100) ;Whatever box you want.
--
Steven Critchfield <critch at basesys.com>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list