Hi I was trying to create extension in which I would check whether privacy=full in Remote-Party-ID header is set. So I made this. <condition field="${screen_bit}" expression="^true$" break="never"> <action application="set" data="origination_caller_id_number=Anonymous"/> </condition> But screen_bit is always true, regardless RPID privacy value. mod_dialplan_xml.c:117 parse_exten() Regex: [tooser] ${screen_bit}(true) =~ /^true$/ As it wasn't strange enough, in cdr_csv screen_bit take "true" or "false" (as it should). Is it a bug or me doing something wrong? -- regards Piotr Sobolewski
The screen bit is a trust bit... ie: do we trust the RPID we got from the upstream or not K
From: Piotr Sobolewski <sobolewski@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Wed, 3 Dec 2008 23:33:24 +0100 To: <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] screen_bit is always true
Hi
I was trying to create extension in which I would check whether privacy=full in Remote-Party-ID header is set. So I made this.
<condition field="${screen_bit}" expression="^true$" break="never"> <action application="set" data="origination_caller_id_number=Anonymous"/> </condition>
But screen_bit is always true, regardless RPID privacy value.
mod_dialplan_xml.c:117 parse_exten() Regex: [tooser] ${screen_bit}(true) =~ /^true$/
As it wasn't strange enough, in cdr_csv screen_bit take "true" or "false" (as it should).
Is it a bug or me doing something wrong?
-- regards Piotr Sobolewski
_______________________________________________ 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
On Thu, Dec 4, 2008 at 1:14 AM, Ken Rice <krice@suspicious.org> wrote:
The screen bit is a trust bit... ie: do we trust the RPID we got from the upstream or not
K
I had privacy_hide_number in cdr_csv and I was thinking it was screen_bit, all that confused me. Now I understand where I was wrong. BTW: is there a way to remove RPID header? -- Piotr Sobolewski sobolewski@gmail.com
participants (3)
-
Brian West
-
Ken Rice
-
Piotr Sobolewski