You'll need to get a d-channel trace so that you can see exactly what you are sending to carrier. The wiki has some info:<br><br><a href="http://wiki.freeswitch.org/wiki/OpenZAP#OpenZAP_CLI_Commands">http://wiki.freeswitch.org/wiki/OpenZAP#OpenZAP_CLI_Commands</a><br>
<br>There are commands for both the native stack and libpri. (The commands are different.) Pastebin the output. In particular you need to see what the SETUP message looks like. We'll be happy to take a look at the output.<br>
<br>-MC<br><br><div class="gmail_quote">On Fri, Sep 10, 2010 at 6:44 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;">
<div link="blue" vlink="purple" lang="DE-CH">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks for the tipps, Michael. It seems there is a (provider-)feature called „CLIP / no screening“ which had to be activated. But now that it is active, it
still does not work. I’m rather sure that the variables are set correctly, cause it works perfectly well for numbers of our range. Also (one of) the test-number(s) I use is just one bit outside of our range, so the format should be fine. Still for such numbers
the callee always sees our base number.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">I also found a simple cli test for this:
</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">originate {origination_caller_id_number=<test-caller-id-number>}openzap/1/a/<target-number> &park()</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Is it possible that there is some spoof-protection somewhere in the FreeSWITCH/openzap/libpri stack, or am I doing somethign wrong somehow?</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Any further help would be very welcome.</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks and regards</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Peter</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><b><span style="font-size: 10pt;" lang="DE">Von:</span></b><span style="font-size: 10pt;" lang="DE"> Michael Collins [mailto:<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>]
<br>
<b>Gesendet:</b> Freitag, 27. August 2010 18:55<br>
<b>An:</b> FreeSWITCH Users Help<br>
<b>Betreff:</b> Re: [Freeswitch-users] External caller-number not shown on forward to external number</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom: 12pt;">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</p>
<div>
<p class="MsoNormal">On Thu, Aug 26, 2010 at 3:32 AM, Peter Waldheim <<a href="mailto:peter.waldheim@framesoft.com" target="_blank">peter.waldheim@framesoft.com</a>> wrote:</p>
<p class="MsoNormal">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" target="_blank">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></p>
</div>
<p class="MsoNormal"> </p>
</div>
<hr>
<h5><font color="gray">
<p>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 </p>
<p>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 </p>
<p>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 </p>
<p>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.
</p>
</font></h5>
</div>
<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>
<br></blockquote></div><br>