Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] screen_bit is always true


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
sobolewski at gmail.com
Guest





PostPosted: Wed Dec 03, 2008 5:35 pm    Post subject: [Freeswitch-users] screen_bit is always true Reply with quote

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
Back to top
krice at suspicious.org
Guest





PostPosted: Wed Dec 03, 2008 7:26 pm    Post subject: [Freeswitch-users] screen_bit is always true Reply with quote

The screen bit is a trust bit... ie: do we trust the RPID we got from the
upstream or not

K


Quote:
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



_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Dec 03, 2008 8:50 pm    Post subject: [Freeswitch-users] screen_bit is always true Reply with quote

I think we covered this on IRC already didn't we?

/b

On Dec 3, 2008, at 4:33 PM, Piotr Sobolewski wrote:

Quote:

Is it a bug or me doing something wrong?


_______________________________________________
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
Back to top
sobolewski at gmail.com
Guest





PostPosted: Wed Dec 03, 2008 9:11 pm    Post subject: [Freeswitch-users] screen_bit is always true Reply with quote

On Thu, Dec 4, 2008 at 1:14 AM, Ken Rice <krice@suspicious.org> wrote:
Quote:
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

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Dec 03, 2008 9:18 pm    Post subject: [Freeswitch-users] screen_bit is always true Reply with quote

I already told you this one on IRC too Razz email is too slow today Smile

/b

On Dec 3, 2008, at 8:02 PM, Piotr Sobolewski wrote:

Quote:
BTW: is there a way to remove RPID header?


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services