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