I am looking in old postings to the list and it seems that in 2008 people ran across the same issue. In essence, I need a way to manipulate the FROM contact
header to match my changing ANI. Currently it pulls it only from the gateway user name in the profile. I a looking in the sofia_glue and it seems that these params are set in switch_channel.c. Before I bang my head on the wall too many times in trying to change
the code, has this already been addressed in a manner that I cannot find?
It seems that origination_caller_id_number sets only RPID. Is that accurate? Teliax cannot set the ANI based on RPID but needs it in the FROM contact header.
Any help would be greatly appreciated.
Holger
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
On Behalf Of Holger Esser
Sent: Friday, October 08, 2010 1:33 PM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] Setting origination_caller_id_number
Hi,
Whenever I set the origination_caller_is_number in my dial request like this for a local or external context,
perl http.pl originate {origination_caller_id_number=5xxxxxxxxxsofia/internal/1@148.181.145.148 5000 the caller id is set.
Whenever I use the gateway, it is no longer working and the username in the gateway becomes the ani number in the SIP trace.
perl http.pl originate {origination_caller_id_number=972xxxxxxx}sofia/gateway/teliax/4695xxxxxxx 5000
Any ideas?
Thx
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.862 / Virus Database: 271.1.1/3183 - Release Date: 10/08/10 13:34:00