[Spce-user] Incoming calls unauthorized.

Samcik Matej matej.samcik at slovanet.net
Thu Nov 22 10:54:50 EST 2012


Hi.

calling from asterisk-0322851111 to blink 0322850010:

Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: New request - M=INVITE R=sip:421322850010 at 212.168.68.8 F=sip:0322851111 at 212.168.68.8 T=sip:421322850010 at 212.168.68.8 IP=195.80.165.16:5060 (127.0.0.1:5060) ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Call from PSTN - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Load peer preferences for peer host '3' - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Load dialplan IDs for peer host '3' - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Fetched dialplan IDs caller_in='<null>', callee_in='<null>' - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Dialog set mark total - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Dialog set mark peer to '3' - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: IP authorization for caller not provisioned, allow call - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: User-Provided CLI '0322851111' taken from From-User - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Network-Provided CLI '0322851111' taken from From-User - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting '0322851111 at 212.168.68.8' as initiating user-provided CLI - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting '0322851111 at 212.168.68.8' as initiating network-provided CLI - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Searching for callee - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Callee was aliased with base '421322850010' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Clear callee preferences - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Callee is local, uuid='5b39174e-e245-4264-ac04-56018d755dc6' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Check Administrative NCOS level - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Check User NCOS level - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Admin caller block mode is 'open' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Caller block mode is 'open' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Load callee preferences for uuid '5b39174e-e245-4264-ac04-56018d755dc6' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Load dialplan IDs for domain '212.168.68.8' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Fetched dialplan IDs caller_out='3', callee_out='4' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Dialog set user, account to '5b39174e-e245-4264-ac04-56018d755dc6/3' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Admin callee block mode is 'open' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Callee block mode is 'open' - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Performing location lookup with main subscriber - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Dialog set mark type to incoming - R=sip:0322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Local user online, using registered contact as user - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting acc source-leg for uuid '0': '0|0322851111|195.80.165.16|0322851111|||<null>|||0|call|1351097328.809592' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting acc destination-leg for uuid '5b39174e-e245-4264-ac04-56018d755dc6': '0322850010||3|421322850010|5b39174e-e245-4264-ac04-56018d755dc6|0322850010|212.168.68.8|421322850010|212.168.68.8' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Relaying request, du='sip:lb at 127.0.0.1;lr;received='sip:212.80.165.1:5062'' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Use mediaproxy for forward direction for IPv4/IPv4 - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Sessions Timers disabled for caller - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Sessions Timers disabled for callee - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Applying caller-out domain rewrite rules to first user-provided caller CLI using dpid '3' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: No matching rewrite rules for '0322851111' found - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Applying caller-out domain rewrite rules to first network-provided caller CLI using dpid '3' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: No matching rewrite rules for '0322851111' found - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting userprovided caller domain - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Call from peer, use callee domain '212.168.68.8' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Prepare From display-name setting - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: No selector set, not setting CLI - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Prepare From username setting - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting caller_cli_userprov/caller_domain_userprov '0322851111 at 212.168.68.8' for upn - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting From to '<sip:0322851111 at 212.168.68.8>' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Prepare PAI username setting - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting caller_cli_netprov/caller_domain_netprov '0322851111 at 212.168.68.8' for npn - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting PAI to '<sip:0322851111 at 212.168.68.8>' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Prepare PPI username setting - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: No selector set, not setting CLI - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Applying callee-out domain rewrite rules using dpid '4' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: No matching rewrite rules for 'nvqklpwi' found - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting P-Called-Party-ID '<sip:nvqklpwi at 212.168.68.8>' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Writing sbc parameters  ;aleg_sst_enable=no;sst_enable=no - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Appending P-D-URI 'sip:lb at 127.0.0.1;lr;received='sip:212.80.165.1:5062'' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Forcing request via B2BUA 'sip:127.0.0.1:5080' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting P-Caller-UUID to '0' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Setting P-Callee-UUID to '5b39174e-e245-4264-ac04-56018d755dc6' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: Request leaving server, D-URI='sip:127.0.0.1:5080' - R=sip:nvqklpwi at 10.11.1.64:5062 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14575]: INFO: <script>: NAT-Reply - S=100 - Connecting M=INVITE IP=195.80.165.16:5060 (127.0.0.1:5080) ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:48 sipwise-ce /usr/sbin/kamailio[14577]: INFO: <script>: NAT-Reply - S=180 - Ringing M=INVITE IP=195.80.165.16:5060 (127.0.0.1:5080) ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14573]: INFO: <script>: New request - M=CANCEL R=sip:421322850010 at 212.168.68.8 F=sip:0322851111 at 212.168.68.8 T=sip:421322850010 at 212.168.68.8 IP=195.80.165.16:5060 (127.0.0.1:5060) ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14573]: INFO: <script>: Stop mediaproxy for current branch using first Via - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14573]: INFO: <script>: Request leaving server via local route - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14578]: INFO: <script>: NAT-Reply - S=487 - Request terminated M=INVITE IP=195.80.165.16:5060 (127.0.0.1:5080) ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14578]: INFO: <script>: Failure route for local call - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14578]: INFO: <script>: Stop mediaproxy for current branch using first Via - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14578]: INFO: <script>: Final reply - R=sip:421322850010 at 212.168.68.8 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14580]: INFO: <script>: New request - M=ACK R=sip:127.0.0.1:5080 F=sip:0322851111 at 212.168.68.8 T=sip:421322850010 at 212.168.68.8 IP=195.80.165.16:5060 (127.0.0.1:5060) ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:49 sipwise-ce /usr/sbin/kamailio[14580]: WARNING: <script>: Domain not served here - R=sip:127.0.0.1:5080 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:50 sipwise-ce /usr/sbin/kamailio[14575]: INFO: <script>: New request - M=ACK R=sip:127.0.0.1:5080 F=sip:0322851111 at 212.168.68.8 T=sip:421322850010 at 212.168.68.8 IP=195.80.165.16:5060 (127.0.0.1:5060) ID=5e3a981641d521003365c42e61810163 at 212.168.68.8
Oct 24 18:48:50 sipwise-ce /usr/sbin/kamailio[14575]: INFO: <script>: Relaying request, du='<null>' - R=sip:127.0.0.1:5080 ID=5e3a981641d521003365c42e61810163 at 212.168.68.8

--
S pozdravom
Mgr. Matej Samčík
Slovanet, a.s., Záhradnícka 151, 821 08 Bratislava
pobočka Trenčín, Štefánikova 19, 911 01 Trenčín
tel: 02/ 208 28 692
email: matej.samcik at slovanet.net


-----Original Message-----
From: spce-user-bounces at lists.sipwise.com [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Jon Bonilla
Sent: Thursday, November 22, 2012 4:46 PM
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Incoming calls unauthorized.

El Thu, 22 Nov 2012 16:38:15 +0100
Samcik Matej <matej.samcik at slovanet.net> escribió:

> Hi,
>
> I am trying to setup scenario, where asterisk will call through
> ngcp-ce using set of numbers (DDI10) and ngcp-ce will route DDI to
> asterisk. I have been successfull in setting this with subscriber
> allowed _clis =number[0-9] and creating peer with prefix to IP address of asterisk.
>
> Problem is is that calls from asterisk to localy registered client are
> unauthorized, what would be the best apporach to authorize  incoming calls?
>
> in kamailio.log:
> sipwise-ce /usr/sbin/kamailio[14576]: INFO: <script>: IP authorization
> for caller not provisioned, allow call
>
> Thanks in advance
>
> MatejS
>

Could you please send the complete log of that call grepping for the ID?

That messages does not mean what you think.



More information about the Spce-user mailing list