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.1485000 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
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<http://http.pl> originate {origination_caller_id_number=5xxxxxxxxxsofia/internal/1@148.181.145.148<mailto: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<http://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 ________________________________ 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
Holger, try adding sip_cid_type=none in your {}. And in your gateway definition, you may add: <param name="caller-id-in-from" value="true"/> David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 12/10/2010 à 02:30, Esser, Holger a écrit :
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
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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
David Ponzone
-
Esser, Holger
-
Holger Esser