[Asterisk-Users] Overriding Caller ID

dbruce dbruce at bananatel.com
Fri Aug 19 14:27:26 MST 2005


There are 2 possibilities:

1) Your PRI provider does not have the overide settings correctly set on
your PRI.
2) you are not setting the callerid correctly in your dialplan.

You indicate that your provider indicates that they have it set up
correctly. You have a 50/50 chance that this is indeed correct. Many
providers will set up a PRI to allow override of CallerID, but only for
numbers that are specifically assigned to the PRI.

Ie: your main number is 2125551111, and you have DIDs 2125551233 and
2125551235. If you try to set the CallerID to 2125551234, it will default to
2125551111 since the CallerID you set is not assigned to the PRI. If this is
the case, you will need to ask your provider to enable unrestricted
override. Be aware that not all providers will allow unrestricted override,
or may require sufficient justification to allow it.

If the override is set correctly, then you need to look at the second
possibility.

You do not indicate which version of Asterisk that you are running.

If you are running an older version of Asterisk, you need to set the
CallerID like this:

exten => _NXXNXXXXXX,1,CallingPres(32)
exten => _NXXNXXXXXX,2,SetCallerID("Caller Name" <2125551234>)
exten => _NXXNXXXXXX,3,Dial(${TRUNK_LO}/${EXTEN})

If you are running a newer version of Asterisk, try this:

exten => _NXXNXXXXXX,1,CallingPres(32)
exten => _NXXNXXXXXX,2,SetCIDName("Caller Name")
exten => _NXXNXXXXXX,3,SetCIDNum(2125551234)
exten => _NXXNXXXXXX,4,Dial(${TRUNK_LO}/${EXTEN})

Regards,
Derek


----- Original Message -----
From: "Waldo Rubinstein" <waldo at trianet.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Friday, August 19, 2005 2:51 PM
Subject: [Asterisk-Users] Overriding Caller ID


> Hello list,
>
> We have some kind of a problem with our Asterisk installation. We
> want to be able to publish different caller id when placing outbound
> calls through the PSTN. We have Asterisk with TE410P and T1 from FDN
> Communications. The problem is that all our outbound calls show our
> main number, regardless of what we set with SetCallerID, even using
> CallingPres with all possible combinations. When speaking with FDN,
> they say they have set their T1 to show our main number for outbound
> calls, but that we should be able to override that with no problem.
>
> As I said, I have tried all possible combinations, yet, nothing seems
> to work. Below are snippets of some of our configs:
>
> extensions.conf
>
> ;
> ; Local calls
> ;
> exten => _NXXNXXXXXX,1,CallingPres(32)
> exten => _NXXNXXXXXX,2,SetCallerID(2125551234)
> exten => _NXXNXXXXXX,3,Dial(${TRUNK_LO}/${EXTEN})
>
> zapata.conf
>
> [channels]
> usecallerid=yes
> cidsignalling=bell
> cidstart=ring
> hidecallerid=no
> restrictcid=no
> usecallingpres=yes
> callerid=asreceived
>
> switchtype = dms100
> signalling = em_w
> group = 1
> context=inbound
> callerid=asreceived
> channel => 1-24
>
> Does anyone have any suggestions?
>
> Thanks,
> Waldo
> _______________________________________________
> 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