[Spce-user] NCOS Problem
Klaus Darilion
klaus.mailinglists at pernau.at
Tue May 22 11:23:47 EDT 2012
Hi!
I have problems to understand how NCOS works.
I have created 2 empty NCOS Levels:
"empty_blacklist" --> blacklist
"empty_whitelist" --> whitelist
When the subscribers does not have any NCOS applied, everything works
fine. When applying an NCOS Level I would expect that the
"empty_blacklist" still allows all destinations, but the
"empty_whitelist" denies all destination - is this assumption correct?
A) I provisioned the subscriber with empty_whitelist as 'ncos'. Then all
calls gets blocked with "Blocked by NCOS level". This is what I
expected, nevertheless the log messages confuses me:
<script>: Check Administrative NCOS level - M=INVITE
R=sip:00431505641636 at sipprovider.labs.nic.at
F=sip:sipmausi002 at sipprovider.labs.nic.at
T=sip:00431505641636 at sipprovider.labs.nic.at IP=83.136.33.3:25488
(127.0.0.1:5060) ID=ODFmNWY5NGFjOTY0M2Q0MWMwOGFlYmVjY2I3N2RhYWM.
<script>: Check User NCOS level - M=INVITE ....
<script>: Check NCOS level id '5' against callee '00431505641636' -
M=INVITE .....
<script>: NCOS level results: mode='whitelist', result='0', local_ac='0'
- M=INVITE ...
<script>: NCOS LNP provider id is '<null>' - M=INVITE ...
<script>: NCOS LNP check blocked for missing provider id in whitelist
mode - M=INVITE ...
<script>: NCOS check failed, reject call - M=INVITE ...
The 'NCOS LNP check blocked for missing provider id in whitelist mode'
confuses me - is there something I forgot to provision?
B) Then I provisioned the subscriber with empty_blacklist as 'ncos'.
Then again all call gets blocked with "Blocked by NCOS level". This is
not what I expected:
<script>: Check Administrative NCOS level - M=INVITE
R=sip:00431505641636 at sipprovider.labs.nic.at
F=sip:sipmausi002 at sipprovider.labs.nic.at
T=sip:00431505641636 at sipprovider.labs.nic.at IP=83.136.33.3:25488
(127.0.0.1:5060) ID=MzYyNzcwNGRhMmQ4YzcxYzNiOTE0NDMzZjIwNTliZGY.
<script>: Check User NCOS level - M=INVITE ...
<script>: Check NCOS level id '4' against callee '00431505641636' -
M=INVITE ...
<script>: NCOS level results: mode='blacklist', result='0', local_ac='0'
- M=INVITE ...
<script>: NCOS result check failed, reject call - M=INVITE ...
Thanks
Klaus
More information about the Spce-user
mailing list