Put in some log apps or the info app prior to your transfer and bridge apps. Make sure that these variables actually contain what you hope they do. Also, check with the telco to make sure that they allow you to pass customized caller ID like this. Some support it and some don't, but sometimes you have to ask explicitly to have the feature allowed. Finally, make sure that you are passing the phone number in a format that the telco wants, i.e. do they require the leading 1.<br>
<br>-MC<br><br><div class="gmail_quote">On Thu, Aug 26, 2010 at 3:32 AM, Peter Waldheim <span dir="ltr"><<a href="mailto:peter.waldheim@framesoft.com">peter.waldheim@framesoft.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
<br>
In a diaplan I'm forwarding a call to an external (PRI) number when it fails to reach my SIP-Client:<br>
<action application="bridge" data="user/${dialed_extension}@${domain_name}"/> <!-- try to bridge sip --><br>
<action application="set" data="outbound_caller_id_number=${caller_id_number}"/><br>
<action application="set" data="outbound_caller_id_name=${caller_id_name}"/><br>
<action application="transfer" data="#external-number# XML default"/> <!-- transfer to external through dialplan --><br>
Then in that dialplan:<br>
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/><br>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/><br>
<action application="bridge" data="openzap/1/a/$1"/> <!-- bridge to external --><br>
<br>
So far this works just fine but one thing: the external party only sees the original caller-id if it is an internal one. If the caller was external, I only see the default caller-number of my installation. Ideally I'd like to always see the original caller id - especially if it is an external number.<br>
Can anybody please give me a hint whether I'm missing something or this might be some call-spoof protection in freeswitch or openzap or libpri or my PRI provider?<br>
<br>
Thanks a lot<br>
Peter<br>
________________________________<br>
<br>
<br>
Framesoft AG Software Applications<br>
Sumpfstrasse 15<br>
6301 Zug<br>
Switzerland<br>
Handelsregister des Kantons Zug: CH-170.3.022.876-2<br>
Pr?sident & Vorsitzender der Gesch?ftsleitung: Toralf Dittmann<br>
<br>
Framesoft AG Software Applications<br>
Reuterweg 49<br>
D-60323 Frankfurt am Main<br>
Germany<br>
HRB 34142<br>
Vorsitzender des Aufsichtsrates: Toralf Dittmann<br>
Vorstand: Jens Saarholz<br>
<br>
Framesoft Ltd.<br>
Business Address:<br>
60 Lombard Street<br>
London EC3V9EA, UK<br>
Registered Office:<br>
Hackwood Secretaries Limited<br>
1 silk Street<br>
London EC2Y 8HQ, UK<br>
Company Number: 4055017<br>
Directors: Toralf Dittmann, Volker Weber<br>
Secretary: Volker Weber<br>
<br>
Confidentiality Notice: The information contained in this e-mail is intended for the named recipient(s) only. It may contain privileged and confidential information, and if you are not the addressee or the person responsible for delivering this to the addressee, you may not copy, distribute or take action in reliance on it. If you have received this e-mail in error, please notify us immediately by returning the original message to the sender by e-mail and delete this message. Thank you for your cooperation.<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>