<div dir="ltr"><div><div>Hi, <br><br></div>I set cli and now all works. <br></div><div><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-20 15:40 GMT+01:00 Andrew Pogrebennyk <span dir="ltr"><<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I would say that you need to set the preference cli: 442038055699.<br>
This is usually pre-set by the panel to the "primary number". I don't<br>
see this set so I'm assuming that subscriber was created with empty<br>
"cli" via the API. Just set it and you will get the correct PAI,<br>
provided that the outbound_pai_user for the peer or domain (depending on<br>
where the call goes to) is set to "Network-Provided Number".<br>
<br>
Regards,<br>
Andrew<br>
<div class="HOEnZb"><div class="h5"><br>
On 04/20/2015 04:23 PM, Eloy Coto Pereiro wrote:<br>
> Hi<br>
><br>
> Hope you're well.<br>
><br>
> I'm having problems with PAID header. I don't fully understand how can<br>
> I set-up the correct PAID. I have the following subscriber:<br>
><br>
> "administrative" : false,<br>
> "alias_numbers" : [],<br>
> "customer_id" : 23,<br>
> "domain" : "domain",<br>
> "domain_id" : 4,<br>
> "email" : "7000000@domain,<br>
> "external_id" : "7000000",<br>
> "id" : 87,<br>
> "primary_number" : {<br>
> "ac" : "203",<br>
> "cc" : "44",<br>
> "sn" : "8055699"<br>
> },<br>
> "profile_id" : null,<br>
> "profile_set_id" : null,<br>
> "status" : "active",<br>
> "username" : "7000000"<br>
><br>
> Subscriber preferences are:<br>
><br>
> "ac" : "203",<br>
> "allowed_clis" : [<br>
> "442038055699",<br>
> "<a href="tel:0034886000000" value="+34886000000">0034886000000</a>"<br>
> ],<br>
> "cc" : "44",<br>
> "display_name" : "<a href="tel:0034886000000" value="+34886000000">0034886000000</a>",<br>
> "emergency_cli" : "442038055699",<br>
> "emergency_prefix" : "8055699",<br>
> "id" : 87,<br>
> "outbound_pai_user" : "npn",<br>
> "subscriber_id" : 87,<br>
><br>
><br>
> I need to set-up the following:<br>
><br>
> - From: 0034886000000<br>
> - PAID: 442038055699@domain<br>
><br>
> Any method to get the Primary number as PAID? From works ok, but PAID<br>
> I can't get it work correctly.<br>
><br>
> Could you help me?<br>
><br>
> Regards<br>
> Eloy<br>
<br>
</div></div></blockquote></div><br></div>