[Spce-user] PAI && PPI bug ?

Andrew Pogrebennyk apogrebennyk at sipwise.com
Mon Apr 15 15:16:57 EDT 2013


Hi,

On 15/04/2013 18:46, Raúl Alexis Betancor Santana wrote:
> On the proxy.log we get the required checks ... and
> subscriber_sended_cli is validated agains allowed_cli ... but at the
> end NpN is used for the P-Asserted-Identity instead of the PPI that
> the subscriber sends and that gets validated and allowed.
> 
> It's this intentional? ...

I've checked your log, it appears to me that cli preference of
subscriber has been emptied, that's why spce takes SIP URI as NPN.

So you have a E.164 as UPN and SIP username as NPN:
Apr 15 18:51:41 sipapp01 /usr/sbin/kamailio[25835]: INFO: <script>:
Setting '34922534050 at 192.168.2.2' as initiating user-provided CLI ...
Apr 15 18:51:41 sipapp01 /usr/sbin/kamailio[25835]: INFO: <script>:
Setting 'Giv0quehej at sip.dimension-virtual.com' as initiating
network-provided CLI

And your outbound preferences are configured in such way that you send
NPN 'Giv0quehej at sip.dimension-virtual.com' in PAI:

Apr 15 18:51:41 sipapp01 /usr/sbin/kamailio[25835]: INFO: <script>:
Setting From to '<sip:34922534050 at 192.168.2.2>' ...
Apr 15 18:51:41 sipapp01 /usr/sbin/kamailio[25835]: INFO: <script>:
Prepare PAI username setting ...
Apr 15 18:51:41 sipapp01 /usr/sbin/kamailio[25835]: INFO: <script>:
Setting caller_cli_netprov/caller_domain_netprov
'Giv0quehej at sip.dimension-virtual.com' for npn

So please:
1) check why cli preference is gone. other feature e.g. voicemail may
not work for this subscriber;
2) set oubound_pai_user: UPN, if you want to send the number you
received in PPI (if valid) as PAI.

Note: remember to configure the outbound_* settings on the callee, so if
the call leaves to PSTN it has to be set on the outgoing peering.

Regards,
Andrew




More information about the Spce-user mailing list