[Freeswitch-users] Setting origination_caller_id_number

Esser, Holger Holger.Esser at Convergys.com
Mon Oct 11 17:30:56 PDT 2010

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.


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at 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


Whenever I set the origination_caller_is_number in my dial request like this for a local or external context,
perl http.pl<http://http.pl> originate {origination_caller_id_number=5xxxxxxxxxsofia/internal/1 at<mailto:1 at> 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<http://http.pl> originate {origination_caller_id_number=972xxxxxxx}sofia/gateway/teliax/4695xxxxxxx 5000

Any ideas?


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

This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are the intended recipient, you must treat the information in confidence and in accordance with all laws related to the privacy and confidentiality of such information. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies of this email, including all attachments.

Intervoice, Inc. 17811 Waterview Parkway Dallas, TX 75252 USA

Intervoice Limited, Registered in England and Wales with number 2601740, 50 Park Road, Gatley, Cheshire, SK8 4HZ. VAT Number: 560421375

Intervoice GmbH, Hagenauer Stra?e 55, 65203 Wiesbaden, Sitz der Gesellschaft: Wiesbaden, Handelsregister: HRB 8186 (Amtsgericht Wiesbaden), Gesch?ftsf?hrer: Wayne Barclay, Steffen Selbmann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101011/83d42888/attachment-0001.html 

More information about the FreeSWITCH-users mailing list