<div dir="ltr">Hi Andreas,<div><br></div><div>Thanks for the pointer where to change in the proxy config.</div><div><br></div><div>That's works well</div><div><br></div><div>Mike</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 1, 2015 at 9:24 PM, Andreas Granig <span dir="ltr"><<a href="mailto:agranig@sipwise.com" target="_blank">agranig@sipwise.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Well, if the CE registers to the peer, it sends a Contact header with<br>
the ngcp-lb URI you sent below.<br>
<br>
Now the question is how the peer would pass the called party number on<br>
to your CE if it's not putting it into the R-URI (rather than using the<br>
Contact of the registration)?<br>
<br>
If it sends the called party number maybe in the To header or in some<br>
other field, you could change the proxy config to something like "$ru =<br>
$tu" (with some tweaking maybe to get the proper R-URI) if (and only if)<br>
the call comes from this broadsoft server, like so:<br>
<br>
xlog("L_NOTICE", "Call from PSTN - [% logreq -%]\n");<br>
# -> search for the line above in your config, then add something<br>
# like this below:<br>
if($fd == "<a href="http://broadsoft.azzu.com.au" target="_blank">broadsoft.azzu.com.au</a>")<br>
{<br>
  $rU = $tU;<br>
  $rd = "<a href="http://your.ce-domain.org" target="_blank">your.ce-domain.org</a>";<br>
  ...<br>
}<br>
<br>
Make sure to copy proxy.cfg.tt2 to proxy.cfg.customtt.tt2 and do your<br>
changes in the customtt, then do "ngcpcfg apply".<br>
<br>
Andreas<br>
<span class=""><br>
On 04/01/2015 12:09 PM, Michael Hadianto wrote:<br>
> Hi,<br>
><br>
> Thanks for the reply, the calls is coming from registered sip peer, they<br>
> can't send they calls to us without sip registration.<br>
><br>
> I think that's why it's coming from the lb?<br>
><br>
> Mike<br>
><br>
> On 1 Apr 2015 8:37 pm, "Daniel Grotti" <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a><br>
</span><span class="">> <mailto:<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>>> wrote:<br>
><br>
>     Hi,<br>
>     here the call from PSTN has a RURI equal to<br>
>     R=<a href="http://sip:ngcp-lb@103.7.46.248:5060" target="_blank">sip:ngcp-lb@103.7.46.248:5060</a><br>
</span>>     <<a href="http://sip:ngcp-lb@103.7.46.248:5060" target="_blank">http://sip:ngcp-lb@103.7.46.248:5060</a>>. which means your peer is<br>
<span class="">>     calling that RURI.<br>
>     This is something you should change on provider side.<br>
><br>
>     This is a call from PSTN, not from a registered subscriber.<br>
>     You don't need to register your peer, SPCE just allow call from the peer<br>
>     using the source IP.<br>
><br>
>     Please check your provider configuration, cause you peer should forward<br>
>     call to use with RURI like R=sip:<CALLED_NUMBER>@<a href="http://103.7.46.248:5060" target="_blank">103.7.46.248:5060</a><br>
</span>>     <<a href="http://103.7.46.248:5060" target="_blank">http://103.7.46.248:5060</a>> (ex.<br>
>     <a href="http://sip:0123456@103.7.46.248:5060" target="_blank">sip:0123456@103.7.46.248:5060</a><br>
>     <<a href="http://sip:0123456@103.7.46.248:5060" target="_blank">http://sip:0123456@103.7.46.248:5060</a>>) and not to "ngcp-lb".<br>
<span class="">><br>
><br>
><br>
><br>
>     --<br>
>     Meet us @ ANGACOM: Hall 10.1/booth N10<br>
>     Exhibition and Congress for Broadband, Cable & Satellite: 9-11 June<br>
>     2015, Cologne<br>
>     --<br>
><br>
>     Daniel Grotti<br>
>     VoIP Engineer<br>
><br>
</span>>     Phone: <a href="tel:%2B43%280%291%20301%202032" value="+4313012032">+43(0)1 301 2032</a> <tel:%2B43%280%291%20301%202032><br>
>     Email: <a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a> <mailto:<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>><br>
>     Website: <a href="http://www.sipwise.com" target="_blank">www.sipwise.com</a> <<a href="http://www.sipwise.com" target="_blank">http://www.sipwise.com</a>><br>
<span class="">><br>
>     Particulars according Austrian Companies Code paragraph 14<br>
>     "Sipwise GmbH“ - Europaring F15 – 2345 Brunn am Gebirge<br>
>     FN:305595f, Commercial Court Vienna, ATU64002206<br>
><br>
>     On 04/01/2015 05:41 AM, Michael Hadianto wrote:<br>
>     > Hi All,<br>
>     ><br>
>     ><br>
>     > Appologise first if this topic already discussed and answered.<br>
>     ><br>
>     > The inbound calls seems always coming from *ngcp-lb*@xxxxxx, but I<br>
>     want<br>
>     > it to show *+61280750499*@<a href="http://broadsoft.azzu.com.au" target="_blank">broadsoft.azzu.com.au</a><br>
>     <<a href="http://broadsoft.azzu.com.au" target="_blank">http://broadsoft.azzu.com.au</a>><br>
>     > <<a href="http://broadsoft.azzu.com.au" target="_blank">http://broadsoft.azzu.com.au</a>><br>
>     ><br>
>     > Apr  1 14:28:23 eqx-sbc-prod-11 proxy[4408]: NOTICE: <script>: New<br>
>     > request - M=INVITE R=sip*:<a href="http://ngcp-lb@103.7.46.248:5060" target="_blank">ngcp-lb@103.7.46.248:5060</a><br>
>     <<a href="http://ngcp-lb@103.7.46.248:5060" target="_blank">http://ngcp-lb@103.7.46.248:5060</a>><br>
>     ><br>
>     <<a href="http://ngcp-lb@103.7.46.248:5060" target="_blank">http://ngcp-lb@103.7.46.248:5060</a>>*;ngcpct=7369703a3132372e302e302e313a35303830<br>
>     > F=<a href="mailto:sip%3A0289993168@broadsoft.azzu.com.au">sip:0289993168@broadsoft.azzu.com.au</a><br>
>     <mailto:<a href="mailto:sip%253A0289993168@broadsoft.azzu.com.au">sip%3A0289993168@broadsoft.azzu.com.au</a>><br>
</span>>     > <mailto:<a href="mailto:sip%253A0289993168@broadsoft.azzu.com.au">sip%3A0289993168@broadsoft.azzu.com.au</a><br>
>     <mailto:<a href="mailto:sip%25253A0289993168@broadsoft.azzu.com.au">sip%253A0289993168@broadsoft.azzu.com.au</a>>>;user=phone<br>
>     > T=*sip:<a href="tel:%2B61280750499" value="+61280750499">+61280750499</a> <tel:%2B61280750499>*@<a href="http://broadsoft.azzu.com.au" target="_blank">broadsoft.azzu.com.au</a><br>
>     <<a href="http://broadsoft.azzu.com.au" target="_blank">http://broadsoft.azzu.com.au</a>><br>
<span class="">>     ><br>
>     <<a href="http://broadsoft.azzu.com.au" target="_blank">http://broadsoft.azzu.com.au</a>>;ngcpct=7369703a3132372e302e302e313a35303830<br>
>     > IP=<a href="http://202.61.122.205:5062" target="_blank">202.61.122.205:5062</a> <<a href="http://202.61.122.205:5062" target="_blank">http://202.61.122.205:5062</a>><br>
>     <<a href="http://202.61.122.205:5062" target="_blank">http://202.61.122.205:5062</a>> (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> <<a href="http://127.0.0.1:5060" target="_blank">http://127.0.0.1:5060</a>><br>
>     > <<a href="http://127.0.0.1:5060" target="_blank">http://127.0.0.1:5060</a>>)<br>
>     > ID=SDicptd01-dcdce7d8c7ab1d8d2887498a7599e39e-au418e3<br>
>     > Apr  1 14:28:23 eqx-sbc-prod-11 proxy[4408]: NOTICE: <script>:<br>
>     Call from<br>
>     > PSTN -<br>
>     ><br>
>     R=sip:ngcp-lb@103.7.46.248:5060;ngcpct=7369703a3132372e302e302e313a35303830<br>
>     > ID=SDicptd01-dcdce7d8c7ab1d8d2887498a7599e39e-au418e3<br>
>     > Apr  1 14:28:23 eqx-sbc-prod-11 proxy[4408]: NOTICE: <script>:<br>
>     > User-Provided CLI '0289993168' taken from From-User -<br>
>     ><br>
>     R=sip:ngcp-lb@103.7.46.248:5060;ngcpct=7369703a3132372e302e302e313a35303830<br>
>     > ID=SDicptd01-dcdce7d8c7ab1d8d2887498a7599e39e-au418e3<br>
>     > Apr  1 14:28:23 eqx-sbc-prod-11 proxy[4408]: NOTICE: <script>:<br>
>     > Network-Provided CLI '0289993168' taken from From-User as fallback,<br>
>     > should be from 'rpid_user' -<br>
>     ><br>
>     R=sip:ngcp-lb@103.7.46.248:5060;ngcpct=7369703a3132372e302e302e313a35303830<br>
>     > ID=SDicptd01-dcdce7d8c7ab1d8d2887498a7599e39e-au418e3<br>
>     > Apr  1 14:28:23 eqx-sbc-prod-11 proxy[4408]: NOTICE: <script>: Setting<br>
>     > '<a href="mailto:0289993168@broadsoft.azzu.com.au">0289993168@broadsoft.azzu.com.au</a><br>
>     <mailto:<a href="mailto:0289993168@broadsoft.azzu.com.au">0289993168@broadsoft.azzu.com.au</a>><br>
</span>>     > <mailto:<a href="mailto:0289993168@broadsoft.azzu.com.au">0289993168@broadsoft.azzu.com.au</a><br>
<span class="">>     <mailto:<a href="mailto:0289993168@broadsoft.azzu.com.au">0289993168@broadsoft.azzu.com.au</a>>>' as initiating user-provided<br>
>     > CLI -<br>
>     ><br>
>     R=sip:ngcp-lb@103.7.46.248:5060;ngcpct=7369703a3132372e302e302e313a35303830<br>
>     > ID=SDicptd01-dcdce7d8c7ab1d8d2887498a7599e39e-au418e3<br>
>     > Apr  1 14:28:23 eqx-sbc-prod-11 proxy[4408]: NOTICE: <script>: Setting<br>
>     > '<a href="mailto:0289993168@broadsoft.azzu.com.au">0289993168@broadsoft.azzu.com.au</a><br>
>     <mailto:<a href="mailto:0289993168@broadsoft.azzu.com.au">0289993168@broadsoft.azzu.com.au</a>><br>
</span>>     > <mailto:<a href="mailto:0289993168@broadsoft.azzu.com.au">0289993168@broadsoft.azzu.com.au</a><br>
<span class="">>     <mailto:<a href="mailto:0289993168@broadsoft.azzu.com.au">0289993168@broadsoft.azzu.com.au</a>>>' as initiating<br>
>     > network-provided CLI -<br>
>     ><br>
>     R=sip:ngcp-lb@103.7.46.248:5060;ngcpct=7369703a3132372e302e302e313a35303830<br>
>     > ID=SDicptd01-dcdce7d8c7ab1d8d2887498a7599e39e-au418e3<br>
>     ><br>
>     > This is inbound calls coming from sip registration.<br>
>     ><br>
>     > I tried to change the /etc/ngcp-sems/etc/ngcp.sbcprofile.conf<br>
>     > Seems it won't do?<br>
>     ><br>
>     > Thanks<br>
>     ><br>
>     ><br>
>     ><br>
>     ><br>
>     ><br>
>     > _______________________________________________<br>
>     > Spce-user mailing list<br>
</span>>     > <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
<span class="">>     > <a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
>     ><br>
>     _______________________________________________<br>
>     Spce-user mailing list<br>
</span>>     <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>><br>
<div class="HOEnZb"><div class="h5">>     <a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Spce-user mailing list<br>
> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
</div></div></blockquote></div><br></div>