[Freeswitch-users] "Outgoing Call" on phone display
Emrah
lists at kavun.ch
Mon Feb 25 07:26:56 MSK 2013
Curious to know how we can fix this as well.
Cheers
On Feb 22, 2013, at 8:41 PM, Steven Schoch <schoch+freeswitch.org at xwin32.com> wrote:
> 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
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list