<div dir="ltr"><div>Here is the version running on the server that works properly<br><br>FreeSWITCH Version 1.4.13+git~20141103T195300Z~b942d0faa8~64bit (git b942d0f 2014-11-03 19:53:00Z 64bit)<br><br></div>And the version of the server having issue with CID<br><br>FreeSWITCH Version 1.4.13+git~20141103T195300Z~b942d0faa8~64bit (git b942d0f 2014-11-03 19:53:00Z 64bit)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 5:02 PM, Joel White <span dir="ltr"><<a href="mailto:joelewhite@gmail.com" target="_blank">joelewhite@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>This is what I get when the dialplan executes<br><br>EXECUTE sofia/internal/<a href="mailto:26342@voip.net" target="_blank">26342@voip.net</a> <br>set(effective_caller_id_number=)<br>2014-12-09 17:00:24.839237 [DEBUG] mod_dptools.c:1435 sofia/internal/<a href="mailto:26342@voip.net" target="_blank">26342@voip.net</a> SET [effective_caller_id_number]=[UNDEF]<br><br><br></div>Kinda strange and I could not find a discrepancy between the dialplan configuration of the working server vs the non-working server<br><br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 4:59 PM, Joel White <span dir="ltr"><<a href="mailto:joelewhite@gmail.com" target="_blank">joelewhite@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Here is some output of the Lua script on the server not pushing caller id<br><br>2014-12-09 16:54:22.819251 [NOTICE] switch_cpp.cpp:1328 Debug from gen_dir_user_xml.lua, generated XML:<br><?xml version="1.0" encoding="UTF-8" standalone="no"?><br><document type="freeswitch/xml"><br> <section name="directory"><br> <domain name="<a href="http://voip.net" target="_blank">voip.net</a>"><br> <user id="26342" mailbox="26342"><br> <params><br> <param name="password" value="XXXXXX"/><br> <param name="vm-password" value="26342"/><br> <param name="vm-enabled" value="true"/><br> <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/><br> </params><br> <variables><br> <variable name="toll_allow" value="local,domestic"/><br> <variable name="user_context" value="default"/><br> <variable name="outbound_caller_id_name" value="Michelle"/><br> <variable name="outbound_caller_id_number" value="1321XXXXXXX"/><br> <variable name="accountcode" value="PA"/><br> <!--<variable name="callgroup" value="techsupport"/>--><br> </variables><br> </user><br> </domain><br> </section><br></document><br><br><br></div>And some output from the Lua script on the server with CID functioning<br><br>2014-12-09 21:50:55.458996 [NOTICE] switch_cpp.cpp:1328 Debug from gen_dir_user_xml.lua, generated XML:<br><?xml version="1.0" encoding="UTF-8" standalone="no"?><br><document type="freeswitch/xml"><br> <section name="directory"><br> <domain name="<a href="http://sip.voice.com" target="_blank">sip.voice.com</a>"><br> <user id="53201" mailbox="53201"><br> <params><br> <param name="password" value="XXXXXXX"/><br> <param name="vm-password" value="53201"/><br> <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/><br> </params><br> <variables><br> <variable name="toll_allow" value="local,domestic"/><br> <variable name="user_context" value="default"/><br> <variable name="outbound_caller_id_name" value="Voice.com"/><br> <variable name="outbound_caller_id_number" value="1303XXXXXX"/><br> <!--<variable name="callgroup" value="techsupport"/>--><br> </variables><br> </user><br> </domain><br> </section><br></document><br><br><br></div>Of course I removed any identifiable information, but it looks like the CID is being set. What am I missing here that is not allowing for the variable to be passed to the dialplan?<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 4:47 PM, Joel White <span dir="ltr"><<a href="mailto:joelewhite@gmail.com" target="_blank">joelewhite@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry for the delay in response. I have gone over the config with a fine tooth comb, it matches another config of a server in which the caller id works fine. What I am seeing however is that in this system the variable is not exported to the dialplan. I may be missing something, and most likely I am. I do have a question though. Is there a way to see what variables are defined for a particular user in the FreeSWITCH console?<br><br><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 13, 2014 at 1:56 PM, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Probably your ITSP does not allow you to set the caller ID? Did you run a SIP packet trace to see what caller ID is sent out?</p>
<div class="gmail_quote"><span>On Nov 13, 2014 4:45 PM, "Joel White" <<a href="mailto:joelewhite@gmail.com" target="_blank">joelewhite@gmail.com</a>> wrote:<br type="attribution"></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div dir="ltr"><div><div>I have several installations of FreeSWITCH. I have managed to get one to dynamically create the user directory from PostgreSQL and it properly sets the outbound caller id. I have another system, very similar in how it was configured. The second installation also dynamically generates the user directory from PostgreSQL as well. I am however having an issue with setting the caller id on this other system. I have went through with a fine tooth comb and am having a hard time locating the discrepancy between the two systems.<br><br></div>Has anyone had an issue similar to this?<br><br></div></div>
<br></span>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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 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><br></blockquote></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.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 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><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>