[Freeswitch-users] "Outgoing Call" on phone display

Steven Schoch schoch+freeswitch.org at xwin32.com
Sat Feb 23 04:41:58 MSK 2013


On Thu, Feb 21, 2013 at 3:27 PM, Brian West <brian at freeswitch.org> wrote:

> You know you can do CNAM lookups while dialing and set those values and
> update the phone during the ringing phase.  It puts Outgoing Call in there
> when it has no other information.


I tried the following:

   <extension name="local 7-digit">
    <condition field="destination_number" expression="^([2-9]\d\d\d{4})$">
      <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
      <action application="set"
data="effective_caller_id_name=${outbound_caller_name}"/>
      <action application="set" data="effective_callee_id_number=$1"/>
      <action application="set"
data="effective_callee_id_name=${cidlookup(1${default_areacode}$1)}"/>
      <action application="bridge"
data="sofia/gateway/flowroute/1${default_areacode}$1"/>
     </condition>
    </extension>

This had one intended consequence in that it left the 7-digit number in the
display, rather than replacing it with the 11-digit number, like it usually
does, but setting the effective_called_id_name did not behave as expected.

What it did was change the name on the display to the CNAM, as expected,
while it was ringing, but as soon as the remote party answered, the display
changed again to "Outbound Call".

-- 
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130222/9f764cbe/attachment.html 


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