[Freeswitch-users] Inbound call via SIP URI -- Caller ID

Tom Carlson tom at tomcarlson.com
Tue Jun 25 21:02:58 MSD 2013


TLDR; How to you change the domain that is displayed in inbound sip uri
caller-id?


When somebody calls me at sip:tom at mydomain.com:5080, the call is
transferred to my extension, where it rings through on my Nexus 4, which is
registered to that extension.

If somebody at 1004 at remote.org calls me, my caller id is showing
1004 at mydomain.com, which is incorrect.  They are not registered on my
system, so I would prefer to see 1004 at remote.org on my caller id.

What variable would I use to set the domain portion of the caller id?
 Modifying name or number, as shown below, simply results in
test_number at mydomain.com

How do I get it to quit displaying mydomain.com and start displaying the
domain of the incoming caller?


  <extension name="toms public sip uri">
    <condition field="destination_number" expression="^tom$">
      <action application="set" data="effective_caller_id_name=test_name"/>
      <action application="set"
data="effective_caller_id_number=test_number"/>
      <action application="transfer" data="1000 XML default"/>
    </condition>
  </extension>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130625/f9ce590f/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list