Force outgoing call show custom number on receiver phone

Status
Not open for further replies.

nareach

Forum User
Joined
Nov 4, 2015
Messages
151
Reaction score
8
i have 4 trunk and i want when i make outgoing call with my trunk number it will show specific custom number on receiver phone

thanks.
 
Hi nareach,

Just to clarify:

When calling out of one of your 4 trunks, you'd like to have the call display a custom number on the called party's phone? Do you want each outgoing trunk to have it's own unique number to display?

I know that, at least with the provider's I've used in the past, that you can only use a number on your outgoing calls if the number you want to use "belong" to you. You can set this number at the trunk's settings, in the "Outbound CallerID" (example <123456789>).

I've also seen that with some providers you get settings such as "I'll provide CID" where they sometimes force a specific number on their side.

Hope this helps, regards,
 
It not working for me. it still show my trunk number not custom number that i just set.
 
Check if you have fromuser into your config trunk.
If yes : comment this line : ;fromuser=xxxxxxx
Otherwise, maybe your Telko doesn't accept to change your CID by any other numbers that your SIP account.

For example; My Telko accept ony "hidde" or my CID number + alias. That's all.

Just an idea like that.
 
I use Zap trunk and don't have fromuser.
 
Ha ok so.
 
I still don't understand. i am weak please explain me clearly.
 
If you use zap trunk (Dahdi) then you have some settings for Dahdi.
In this case you have some config file to setting up these parameters.
Maybe there's something wrong here.

Do you use BRI access?
Maybe try to find a way to see the event logs or read the traces sent to the Telko.
Just to watch if you see your callerid number.
If it's sent, then your Telko drops this number and replaces it by the head number.
 
still don't understand. :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll:
 
You don't understand what?
 
i don't know where to add line of parameter or what parameter to add
 
Hmmm
At first it's not to add some parameters but it's to check them before to add (if needed).
I thing that:
/etc/dahdi/*
/etc/asterisk/dahdi_channel.conf

If it's not eay for you, start to check if your new cid number is sent or not befor.
 
Sorry for late reply

here is in my chan_dahdi.conf

; Auto-generated by /usr/sbin/hardware_detector
[trunkgroups]

[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
relaxdtmf=yes

;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=3


immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf


and here for dahdi-channels.conf :oops: :oops: :oops:

; Autogenerated by /usr/sbin/dahdi_genconf on Sat Oct 8 08:27:00 2016
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
;;; line="1 WCTDM/4/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default

;;; line="2 WCTDM/4/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
group=
context=default

;;; line="3 WCTDM/4/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default

;;; line="4 WCTDM/4/3 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default
 
At first to be clean, you need to setting up only one context instead of two.
In your config, you have
context=from-trunk and some lines below
context=default
For me, the second context voids the first setting.

Excepted this, it looks like right.
 
you want me to delete context=default?
 
Yes sure.
Default is a context used by a default setting.
So, it's normal to change it by from-pstn or from-dahdi or else (context used by Elastix).
You may change from-pstn to from-dahdi and make some test if it doesn't work using from-pstn.
from-dahdi is newer context than from-zaptel.
 
nareach said:
i have 4 trunk and i want when i make outgoing call with my trunk number it will show specific custom number on receiver phone

thanks.

The most is using "Dial Patterns that will use this Route" in Outbound Route setting. If you want extension 1xx (x is from 0 to 9) will display the number of the outbound route A, just put [1]xx in the Caller ID field.

If you want to use the same for 2xx extensions, the input in Caller ID will be [12]xx
 
If i understood well, this issue was for sending a specific caller id number when he make a call.
If the field "Outbound CallerID" doesn't work, then the problem may come from the Telko.
 
Status
Not open for further replies.

Forum statistics

Threads
111,858
Messages
589,427
Members
164,698
Latest member
RRusev