[Freeswitch-users] Caller ID

Joel White joelewhite at gmail.com
Wed Dec 10 01:06:29 MSK 2014


Here is the version running on the server that works properly

FreeSWITCH Version 1.4.13+git~20141103T195300Z~b942d0faa8~64bit (git
b942d0f 2014-11-03 19:53:00Z 64bit)

And the version of the server having issue with CID

FreeSWITCH Version 1.4.13+git~20141103T195300Z~b942d0faa8~64bit (git
b942d0f 2014-11-03 19:53:00Z 64bit)

On Tue, Dec 9, 2014 at 5:02 PM, Joel White <joelewhite at gmail.com> wrote:

> This is what I get when the dialplan executes
>
> EXECUTE sofia/internal/26342 at voip.net
> set(effective_caller_id_number=)
> 2014-12-09 17:00:24.839237 [DEBUG] mod_dptools.c:1435 sofia/internal/
> 26342 at voip.net SET [effective_caller_id_number]=[UNDEF]
>
>
> Kinda strange and I could not find a discrepancy between the dialplan
> configuration of the working server vs the non-working server
>
>
>
> On Tue, Dec 9, 2014 at 4:59 PM, Joel White <joelewhite at gmail.com> wrote:
>
>> Here is some output of the Lua script on the server not pushing caller id
>>
>> 2014-12-09 16:54:22.819251 [NOTICE] switch_cpp.cpp:1328 Debug from
>> gen_dir_user_xml.lua, generated XML:
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> <document type="freeswitch/xml">
>>   <section name="directory">
>>     <domain name="voip.net">
>>       <user id="26342" mailbox="26342">
>>         <params>
>>           <param name="password" value="XXXXXX"/>
>>           <param name="vm-password" value="26342"/>
>>           <param name="vm-enabled" value="true"/>
>>           <param name="dial-string" value="{presence_id=${dialed_user}@
>> ${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
>>     </params>
>>         <variables>
>>           <variable name="toll_allow" value="local,domestic"/>
>>           <variable name="user_context" value="default"/>
>>           <variable name="outbound_caller_id_name" value="Michelle"/>
>>           <variable name="outbound_caller_id_number" value="1321XXXXXXX"/>
>>       <variable name="accountcode" value="PA"/>
>>       <!--<variable name="callgroup" value="techsupport"/>-->
>>         </variables>
>>       </user>
>>     </domain>
>>   </section>
>> </document>
>>
>>
>> And some output from the Lua script on the server with CID functioning
>>
>> 2014-12-09 21:50:55.458996 [NOTICE] switch_cpp.cpp:1328 Debug from
>> gen_dir_user_xml.lua, generated XML:
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> <document type="freeswitch/xml">
>>   <section name="directory">
>>     <domain name="sip.voice.com">
>>       <user id="53201" mailbox="53201">
>>         <params>
>>           <param name="password" value="XXXXXXX"/>
>>           <param name="vm-password" value="53201"/>
>>           <param name="dial-string" value="{presence_id=${dialed_user}@
>> ${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
>>         </params>
>>         <variables>
>>           <variable name="toll_allow" value="local,domestic"/>
>>           <variable name="user_context" value="default"/>
>>           <variable name="outbound_caller_id_name" value="Voice.com"/>
>>           <variable name="outbound_caller_id_number" value="1303XXXXXX"/>
>>           <!--<variable name="callgroup" value="techsupport"/>-->
>>         </variables>
>>       </user>
>>     </domain>
>>   </section>
>> </document>
>>
>>
>> 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?
>>
>> On Tue, Dec 9, 2014 at 4:47 PM, Joel White <joelewhite at gmail.com> wrote:
>>
>>> 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?
>>>
>>>
>>>
>>> On Thu, Nov 13, 2014 at 1:56 PM, Stanislav Sinyagin <ssinyagin at gmail.com
>>> > wrote:
>>>
>>>> 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?
>>>> On Nov 13, 2014 4:45 PM, "Joel White" <joelewhite at gmail.com> wrote:
>>>>
>>>>> 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.
>>>>>
>>>>> Has anyone had an issue similar to this?
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141209/aae1f2a2/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list