[Freeswitch-users] caller id on origination does not work

Shameem Shiek gshfreesw at gmail.com
Wed Aug 26 12:55:38 PDT 2009


This is one did the trick.

Thanks.

On Tue, Aug 25, 2009 at 11:07 PM, SP <sprice at gmail.com> wrote:

> You can try playing with this in your gateway profile
>   <param name="caller-id-in-from" value="true"/>
>
> Not sure what it'll do to your registration, give it a try
>
> On Tue, Aug 25, 2009 at 21:51, Shameem Shiek <gshfreesw at gmail.com> wrote:
>
>> I am setting the caller id like this in my ESL script:
>>
>> @con.sendRecv("api originate
>> {origination_caller_id_number=15103245678}sofia/gateway/junctionnetworks/1#{@number}
>> &park()")
>>
>> And the caller id comes out as all zeroes.  The sip trace shows the "from"
>> as shown in the sofia status command.  This is output of sofia gateway
>> status and my gateway is under
>> /usr/local/freeswitch/conf/sip_profiles/external/junctionnetworks.xml .
>> Also, adding the gateway under /conf/directory/default did not work as the
>> wiki suugests. What I need to do for the caller_id to come through?
>>
>>
>> sofia status gateway junctionnetworks
>>
>> =================================================================================================
>> Name        junctionnetworks
>> Scheme      Digest
>> Realm       jnctn.net
>> Username    username
>> Password    yes
>> From        <sip:username at jnctn.net <sip%3Ausername at jnctn.net>
>> ;transport=udp>
>> Contact     <sip:gw+junctionnetworks at 24.87.80.12:5080;transport=udp>
>> Exten       899xxxxxxx
>> To          sip:username at sip.jnctn.net <sip%3Ausername at sip.jnctn.net>
>> Proxy       sip:sip.jnctn.net
>> Context     public
>> Expires     3600
>> Freq        3600
>> Ping        0
>> PingFreq    0
>> State       REGED
>> Status      UP
>> CallsIN     0
>> CallsOUT    1
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Shannon
>
> _______________________________________________
> 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/20090826/6a9a6dcb/attachment-0002.html 


More information about the FreeSWITCH-users mailing list