[Freeswitch-users] Caller id
Peder
peder at networkoblivion.com
Tue May 4 14:19:20 PDT 2010
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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sean
Holt
Sent: Tuesday, May 04, 2010 3:49 PM
To: freeswitch-users at 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 at freeswitch.org> wrote:
On Tue, May 4, 2010 at 1:12 PM, Sean Holt <sean at 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=xxxxx
xxxx}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 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/20100504/792a9bd4/attachment-0001.html
More information about the FreeSWITCH-users
mailing list