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