When you say you aren’t getting the name, where do you mean?  When you call someone on the PSTN?  Or on the console debug of FS?  Or on the gateway box?  If you are calling someone on the PSTN, you can’t send them names.  You can only send numbers.

 

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sean Holt
Sent: Tuesday, May 04, 2010 3:49 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Caller id

 

Ok I made the change but still same issue, no Name in place of the number

Here’s my dialplan entry
 <extension name="main_trunk_1" continue="true">
      <condition field="destination_number" expression="^01{2}([0-9].+)$" test="global">
        <action application="bridge" data="{effective_caller_id_name='Name'}sofia/gateway/trunk_1/${prepend}$1"/>
      </condition>
    </extension>

Thanks


On 5/4/10 1:20 PM, "Michael Collins" <msc@freeswitch.org> wrote:



On Tue, May 4, 2010 at 1:12 PM, Sean Holt <sean@obscuradigital.com> wrote:

Ok hate to ask this question because it’s probably  been answered already, but here goes.....

I’ve got effective caller id and outbound_caller_id param for both name and number setup in my dialplan
I’ve setup this string in my outgoing bridge dialplan {sip_cid_type=pid} and {sip_cid_type=rpid}
Also I’ve tried this, value=”{origination_caller_id_name=’Name',origination_caller_id_number=xxxxxxxxx}sofia/gateway/trunk_1/$1”

I’ve searched for a solution for this on google and the wiki but none of the above combinations seem to work.  I’ve only getting the number id but not a name.

origination_caller_id_name/number is for doing origination at the CLI:

originate {origination_caller_id_number=123}sofia/gateway/foo/bar

effective_caller_id_name/number is for a bridge:

<action application="bridge" data="{effective_caller_id_number=123}sofia/gateway/foo/bar"/>

You can also watch the SIP traffic to see what the INVITEs look like.
-MC


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org