<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
best practice is to treat PBX as normal subscriber on SPCE, and the
register the PBX towards SPCE.<br>
In your case looks like your are authenticating with the wrong
username. Please pay attention on asterisk side, and make sure to
use the right credentials to register properly.<br>
Also the From username must be equal to the authentication username,
and both must be the user part of your SIP URI configured in SPCE.<br>
<br>
Cheers,<br>
<br>
<br>
<div class="moz-signature">
<div style="line-height:16px; margin:6px 0; padding:8px 8px 8px
8px; border-top:1px #aeb1a6 dotted; border-bottom:1px #aeb1a6
dotted; font-family: 'Lucida Sans', Lucida Grande, Verdana,
Arial, Sans-Serif; font-size:11px; color:#555555;"> <strong
style="color:#333333; text-transform:uppercase;
font-size:10px;"> Daniel Grotti </strong> <br>
Head of Customer Support
<p> <a href="http://www.sipwise.com" style="color:rgb(0, 136,
204) !important; text-decoration:none !important;
border-bottom:1px dotted #AAA;"> Sipwise GmbH </a> , Campus
21/Europaring F15<br>
AT-2345 Brunn am Gebirge </p>
<p> Phone: <a href="callto:+4313012032" style="color:rgb(0,
136, 204) !important; text-decoration:none !important;
border-bottom:1px dotted #AAA;"> +43(0)1 301 2032 </a> <br>
Email: <a href="mailto:dgrotti@sipwise.com"
style="color:rgb(0, 136, 204) !important;
text-decoration:none !important; border-bottom:1px dotted
#AAA;"> dgrotti@sipwise.com </a> <br>
Website: <a href="http://www.sipwise.com"
style="color:rgb(0, 136, 204) !important;
text-decoration:none !important; border-bottom:1px dotted
#AAA;"> www.sipwise.com </a> </p>
<p>
Particulars according Austrian Companies Code paragraph 14<br>
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge<br>
FN:305595f, Commercial Court Vienna, ATU64002206
</p>
</div>
</div>
<div class="moz-cite-prefix">On 03/22/2016 06:00 PM, Marek Červenka
wrote:<br>
</div>
<blockquote cite="mid:56F17A37.4030303@fpf.slu.cz" type="cite">hi,
<br>
<br>
i'm trying configure sipwise as sip trunk provider for asterisk
pbx
<br>
<br>
asterisk is on public ip. register to sipwise is working
<br>
i have problem with outbound calls. ngcp-proxy again and again
sending sip 487 . asterisk for 3 times sending invite with correct
auth
<br>
<br>
subscriber settings:
<br>
allowed_clis: *
<br>
trusted_source: ip of asterisk pbx
<br>
allow_out_foreign_domain: true
<br>
allowed_ips: ip of asterisk pbx
<br>
<br>
where can i find reason why proxy doesnt accept auth?
/var/log/ngcp/kamailio-proxy.log shows
<br>
Mar 22 16:25:53 ip-10-139-23-91 (local7.notice) proxy[6877]:
NOTICE: <script>: Authentication failed, invalid user -
<a class="moz-txt-link-abbreviated" href="mailto:R=sip:420800123456@sip.myvoipex.net">R=sip:420800123456@sip.myvoipex.net</a>
<a class="moz-txt-link-abbreviated" href="mailto:ID=7cf1d52725c1a9983404ebd9630c1054@1.1.1.1.68:5060">ID=7cf1d52725c1a9983404ebd9630c1054@1.1.1.1.68:5060</a> UA='ipbx'
<br>
<br>
can you recommend best practice settings for pbx trunk?
<br>
<br>
system: mr4.2.1 AWS
<br>
<br>
</blockquote>
<br>
</body>
</html>