<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Zohair,<br><br>I found it <br><br> <action application="set" data="effective_caller_id_number=001${caller_id_number}"/><br><br>but i have 2 gateways, this works with the usa gateway. However, I need to put a condition in the dialplan<br><br>if it comes from german gateway, add 0049<br>if it comes from usa gateway, add 001<br><br>I don't know the variable name of the gateway<br><br>best regards and many thanks<br><br>Sherif<br><br><br>--- On <b>Mon, 12/26/11, Zohair Raza <i><engineerzuhairraza@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Zohair Raza <engineerzuhairraza@gmail.com><br>Subject: Re: [Freeswitch-users] Gateway Caller ID Help required<br>To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org><br>Date: Monday, December
26, 2011, 3:02 PM<br><br><div id="yiv31548794"><div dir="ltr">Hi, <div>use effective_caller_id variable in dialplan to append +<div><br clear="all"><div dir="ltr">Regards,<br>Zohair Raza<div><br></div></div><br>
<br><br><div class="yiv31548794gmail_quote">On Mon, Dec 26, 2011 at 4:58 PM, Sherif Omran <span dir="ltr"><<a rel="nofollow" ymailto="mailto:sherifomran2000@yahoo.com" target="_blank" href="/mc/compose?to=sherifomran2000@yahoo.com">sherifomran2000@yahoo.com</a>></span> wrote:<br><blockquote class="yiv31548794gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top">Hi<br><br>I have setup an IPkall gateway, so that any call to my number in USA be connected to my extension. However, the caller ID that appear is 10 digits and i want it to show +1 stating for usa. <br>
<br>In the mean time, I have another german gateway, the number is transmitted fully including the country code, but it appears on my phone in the form of last 10 digits only.<br><br>any help is appreciated<br><br>thank you in advance<br>
<br><br></td></tr></tbody></table><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="/mc/compose?to=consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" href="/mc/compose?to=consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org"
href="/mc/compose?to=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></div></blockquote></td></tr></table>