[Spce-user] inbound

Francesco Di Lecce dilecce.francesco at gmail.com
Thu Apr 25 12:54:19 EDT 2019


hi
if i have correctly understand i need to config inbound rr for peer and
outgoing rr for domain
i have config:
inbound rr for callee and caller  to my provider (gateway):
Match Pattern: ^(00|\+)([0-9]+)$
Replacement Pattern: \2
And
outbound rr in my domain:
Match Pattern: ^([1-9][0-9]+)$
Replacement Pattern: 00\1

But if i call from my mobile to spce the call not send to subscribers
(0835yyyyyy)
The subscribers number is the same number (of the provider) that i call

thanks for your help

Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: New request on
proxy - M=INVITE R=sip:149.202.189.54:5060;transport=udp F=
sip:+39388xxxxxxx at sip.messagenet.it T=sip:0835yyyyyy at 212.97.59.76 IP=
212.97.59.76:5060 (127.0.0.1:5060) ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa' DESTIP=
127.0.0.1:5062
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Sending reply S=100
Trying fs='127.0.0.1:5062' du='127.0.0.1:5060' -
R=sip:149.202.189.54:5060;transport=udp
ID=49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Call from PSTN -
R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Inbound peering
group '1' matched, looking up peer host -
R=sip:149.202.189.54:5060;transport=udp
ID=49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Selected peering
host id '1' as inbound peer - R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it] -
R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: User-Provided CLI
'+39388xxxxxxx' taken from From-User - R=sip:149.202.189.54:5060;transport=udp
ID=49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Network-Provided
CLI '+39388xxxxxxx' taken from From-User -
R=sip:149.202.189.54:5060;transport=udp
ID=49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Rewriting
user-provided CLI '+39388xxxxxxx' to '393881291935' -
R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Rewriting
network-provided CLI '+39388xxxxxxx' to '393881291935' -
R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Setting '
39388xxxxxxx at sip.messagenet.it' as initiating user-provided CLI -
R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Setting '
39388xxxxxxx at sip.messagenet.it' as initiating network-provided CLI -
R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Callee is not local
- R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Call to unknown
user - R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Setting acc
source-leg for uuid '0':
'0|+39388xxxxxxx|212.97.59.76|39388xxxxxxx|||0|||0|call|127.0.0.1|1556217213.322105||||||||||||39388xxxxxxx||||'
- R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Setting acc
destination-leg for uuid '0':
'0|||0|<null>|0|<null>|149.202.189.54||149.202.189.54|0||||||||||||0|||' -
R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: [dialog:failed]
decreased redis counters lua_dlg_callid:[
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it] - R=sip:you at kamailio.org
ID=123 UA='<null>'
Apr 25 18:33:33 server-1 proxy[1719]: NOTICE: <script>: New request on
proxy - M=ACK R=sip:149.202.189.54:5060;transport=udp F=
sip:+39388xxxxxxx at sip.messagenet.it T=sip:0835yyyyyy at 212.97.59.76 IP=
127.0.0.1:5060 (127.0.0.1:5060) ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='<null>' DESTIP=
127.0.0.1:5062
Apr 25 18:33:33 server-1 proxy[1730]: NOTICE: <script>: Sending reply S=404
Not Found fs='127.0.0.1:5062' du='127.0.0.1:5060' -
R=sip:149.202.189.54:5060;transport=udp ID=
49969b6f03fb2c3b1565fce123c48bb9 at sip.messagenet.it UA='papa'



Il giorno lun 15 apr 2019 alle ore 09:03 Daniel Grotti <dgrotti at sipwise.com>
ha scritto:

> Hi,
> please refer to the handbook, as well as how to properly configure your
> inbound/outbound rewrite rule for your peer and domain.
>
>
>
>
> --
> Daniel Grotti
>
> Head of Customer Support                                       Sipwise GmbH
> e: dgrotti at sipwise.com
> Europaring F15
> t: +43(0)130120332                                    A-2345 Brunn Am
> Gebirge
> w: www.sipwise.com          FN: 305595f      FG: LG Wiener Neustadt
>
> On Saturday, April 13, 2019 19:39 CEST, Francesco Di Lecce <
> dilecce.francesco at gmail.com> wrote:
>
> > Ok,
> > I made a trivial mistake!!
> > Now the call inbound is ok, but I still haven't figured out how to end an
> > incoming call on a subscribers
> > can you help me?
> > thanks
> >
> > Il giorno ven 12 apr 2019 alle ore 12:51 Daniel Grotti <
> dgrotti at sipwise.com>
> > ha scritto:
> >
> > > Hi,
> > > ok I got the issue.
> > > You have defined a peer server with MESSAGENET_IP:5061, while the
> incoming
> > > call is coming from MESSAGENET_IP:5060, that's why the system cannot
> find
> > > the inbound rule for your peering server configured.
> > > In order to match the correct inbound peering rules, the SOURCE
> IP:port of
> > > the INVITE MUST match the IP:port of the peering server.
> > >
> > >
> > >
> > > New request on proxy - M=INVITE R=sip:149.202.189.54:5060;transport=udp
> F=
> > > sip:5406106449 at 149.202.172.159 T=
> sip:08351766746 at sip.messagenet.it:5060
> > > *IP=**212.97.59.76:5060 <http://212.97.59.76:5060>* (127.0.0.1:5060)
> ID=
> > > 594417b60da6e83f229a9ec31f8c6f0f at 149.202.172.159:5060 UA='Wazo PBX'
> > > DESTIP=127.0.0.1:5062
> > >
> > >
> > >
> > >
> > > --
> > > Daniel Grotti
> > >
> > > Head of Customer Support                               Sipwise GmbH
> > > e: dgrotti at sipwise.com                               Europaring F15
> > > t: +43(0)130120332                          A-2345 Brunn Am Gebirge
> > > w: www.sipwise.com          FN: 305595f      FG: LG Wiener Neustadt
> > >
> > > On 4/12/19 12:34 PM, Francesco Di Lecce wrote:
> > >
> > > ok, thanks:
> > >
> > >
> > > Apr 12 10:31:43 sip proxy[1657]: NOTICE: <script>: New request on
> proxy -
> > > M=INVITE R=sip:149.202.189.54:5060;transport=udp F=
> > > sip:5406106449 at 149.202.172.159 T=sip:08351766746 at sip.mess
> > >          agenet.it:5060 IP=212.97.59.76:5060 (127.0.0.1:5060) ID=
> > > 594417b60da6e83f229a9ec31f8c6f0f at 149.202.172.159:5060 UA='Wazo PBX'
> > > DESTIP=127.0.0.1:5062
> > > Apr 12 10:31:43 sip proxy[1657]: NOTICE: <script>: Sending reply S=100
> > > Trying fs='127.0.0.1:5062' du='127.0.0.1:5060' - R=sip:
> 149.202.189.54:5060;transport=udp
> > > ID=594417b60da6e83f229
> > > a9ec31f8c6f0f at 149.202.172.159:5060 UA='Wazo PBX'
> > > Apr 12 10:31:43 sip proxy[1657]: INFO: <script>: Load domain
> preferences
> > > for callee - R=sip:149.202.189.54:5060;transport=udp ID=
> > > 594417b60da6e83f229a9ec31f8c6f0f at 149.202.172.159:5060
> > >       UA='Wazo PBX'
> > > Apr 12 10:31:43 sip proxy[1657]: INFO: <script>: Clean domain
> preferences
> > > for callee - R=sip:149.202.189.54:5060;transport=udp ID=
> > > 594417b60da6e83f229a9ec31f8c6f0f at 149.202.172.159:506
> > >    0 UA='Wazo PBX'
> > > Apr 12 10:31:43 sip proxy[1657]: NOTICE: <script>: Call from PSTN -
> > > R=sip:149.202.189.54:5060;transport=udp ID=
> > > 594417b60da6e83f229a9ec31f8c6f0f at 149.202.172.159:5060 UA='Wazo PBX'
> > > Apr 12 10:31:43 sip proxy[1657]: NOTICE: <script>: No matching inbound
> > > peer rule in any peering group, rejecting call - R=sip:
> 149.202.189.54:5060;transport=udp
> > > ID=594417b60da6e83f229
> > > a9ec31f8c6f0f at 149.202.172.159:5060 UA='Wazo PBX'
> > > Apr 12 10:31:43 sip proxy[1657]: INFO: <script>: Adding reply
> > > P-NGCP-Caller-Info '<sip:<null>@<null>>;ip=212.97.59.76;port=5060' -
> ID=
> > > 594417b60da6e83f229a9ec31f8c6f0f at 149.202.172.159
> > >  :5060 UA='Wazo PBX'
> > >
> > >
> > > Il giorno ven 12 apr 2019 alle ore 11:22 Daniel Grotti <
> > > dgrotti at sipwise.com> ha scritto:
> > >
> > >> run ngcp-loglevel all --set-verbose.
> > >> Then make the test again and paste here the proxy log, without hiding
> the
> > >> number if you can.
> > >>
> > >> --
> > >>
> > >> Daniel Grotti
> > >>
> > >> Head of Customer Support                               Sipwise GmbH
> > >> e: dgrotti at sipwise.com                               Europaring F15
> > >> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
> > >> w: www.sipwise.com          FN: 305595f      FG: LG Wiener Neustadt
> > >>
> > >> On 4/12/19 11:15 AM, Francesco Di Lecce wrote:
> > >>
> > >> I have config Sip Peering Group (see image):
> > >> - Peering Servers
> > >> I have only 1 server
> > >>
> > >> [image: Cattura.PNG]
> > >>
> > >> In Peer Host Preferences i have config only remote authentication
> > >>
> > >> [image: Cattura2.PNG]
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> Il giorno ven 12 apr 2019 alle ore 10:40 Daniel Grotti <
> > >> dgrotti at sipwise.com> ha scritto:
> > >>
> > >>> Also share your peering configuration.
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Daniel Grotti
> > >>>
> > >>> Head of Customer Support                               Sipwise GmbH
> > >>> e: dgrotti at sipwise.com                               Europaring F15
> > >>> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
> > >>> w: www.sipwise.com          FN: 305595f      FG: LG Wiener Neustadt
> > >>>
> > >>> On 4/12/19 10:31 AM, Daniel Grotti wrote:
> > >>>
> > >>> Please share your CE version.
> > >>>
> > >>> --
> > >>> Daniel Grotti
> > >>>
> > >>> Head of Customer Support                               Sipwise GmbH
> > >>> e: dgrotti at sipwise.com                               Europaring F15
> > >>> t: +43(0)130120332                          A-2345 Brunn Am Gebirge
> > >>> w: www.sipwise.com          FN: 305595f      FG: LG Wiener Neustadt
> > >>>
> > >>> On 4/11/19 8:57 PM, Francesco Di Lecce wrote:
> > >>>
> > >>>
> > >>> Hi,
> > >>> i have a problem with inbound calls. I have set peering group with
> > >>> provider. I can make outgoing call but I do not understand why
> inbound not
> > >>> work.
> > >>>
> > >>> I read a lot of post on the list and I have create an inbound rule on
> > >>> my peer and add the following:
> > >>> field: from-user
> > >>> pattern: .*
> > >>> but if i make a call i have:
> > >>> Apr 11 18:46:19 sip proxy[1659]: NOTICE: <script>: New request on
> proxy
> > >>> - M=INVITE R=sip:IPSIPWISE:5060;transport=udp F=
> > >>> sip:+39xxxxxxx at sip.myprovider.it T=sip:08yyyyyy at 6
> IP=IPMYPROVIDER:5060 (
> > >>> 127.0.0.1:5060) ID=
> 541b9cc80b8d44761cdd7b55753a0ef4 at sip.myprovider.it
> > >>> UA='romeo' DESTIP=127.0.0.1:5062 Apr 11 18:46:19 sip proxy[1659]:
> > >>> NOTICE: <script>: Sending reply S=100 Trying fs='127.0.0.1:5062'
> du='
> > >>> 127.0.0.1:5060' - R=sip:IPSIPWISE:5060;transport=udp ID=
> > >>> 541b9cc80b8d44761cdd7b55753a0ef4 at sip.MYPROVIDER.it UA='romeo' Apr 11
> > >>> 18:46:19 sip proxy[1659]: NOTICE: <script>: Call from PSTN -
> > >>> R=sip:IPSIPWISE:5060;transport=udp ID=
> > >>> 541b9cc80b8d44761cdd7b55753a0ef4 at sip.MYPROVIDER.it UA='romeo' Apr 11
> > >>> 18:46:19 sip proxy[1659]: NOTICE: <script>: No matching inbound peer
> rule
> > >>> in any peering group, rejecting call -
> R=sip:IPSIPWISE:5060;transport=udp
> > >>> ID=541b9cc80b8d44761cdd7b55753a0ef4 at sip.messagenet.it UA='romeo'
> > >>> can you help me?
> > >>> thanks
> > >>> --
> > >>>
> > >>> _______________________________________________
> > >>> Spce-user mailing listSpce-user at lists.sipwise.comhttps://
> lists.sipwise.com/listinfo/spce-user
> > >>>
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Spce-user mailing listSpce-user at lists.sipwise.comhttps://
> lists.sipwise.com/listinfo/spce-user
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Spce-user mailing list
> > >>> Spce-user at lists.sipwise.com
> > >>> https://lists.sipwise.com/listinfo/spce-user
> > >>>
> > >>
> > >>
> > >> --
> > >>
> > >> *Ing. Francesco Di Lecce*
> > >> IT Network Voip Engineer
> > >> www.linkat.it
> > >> Tel. 0835.183 0000
> > >> Fax. 0835.183 0001
> > >> via Biagi, snc - Matera
> > >> <
> http://maps.google.it/maps?f=d&source=s_d&saddr=40.687,16.573176&daddr=&geocode=&hl=it&mra=dme&mrcr=0&mrsp=0&sz=16&sll=40.687423,16.573198&sspn=0.011325,0.020342&ie=UTF8&z=16
> >
> > >>
> > >> *Clicca qui per contattarmi subito*
> > >> <https://kite.wildix.com/220000000096/8001>
> > >>
> > >> ----------------------------------------------------
> > >>
> > >> 
> > >>
> > >>
> > >>
> > >
> > > --
> > >
> > > *Ing. Francesco Di Lecce*
> > > IT Network Voip Engineer
> > > www.linkat.it
> > > Tel. 0835.183 0000
> > > Fax. 0835.183 0001
> > > via Biagi, snc - Matera
> > > <
> http://maps.google.it/maps?f=d&source=s_d&saddr=40.687,16.573176&daddr=&geocode=&hl=it&mra=dme&mrcr=0&mrsp=0&sz=16&sll=40.687423,16.573198&sspn=0.011325,0.020342&ie=UTF8&z=16
> >
> > >
> > > *Clicca qui per contattarmi subito*
> > > <https://kite.wildix.com/220000000096/8001>
> > >
> > > ----------------------------------------------------
> > >
> > > 
> > >
> > >
> > >
> >
> > --
> >
> > *Ing. Francesco Di Lecce*
> > IT Network Voip Engineer
> > www.linkat.it
> > Tel. 0835.183 0000
> > Fax. 0835.183 0001
> > via Biagi, snc - Matera
> > <
> http://maps.google.it/maps?f=d&source=s_d&saddr=40.687,16.573176&daddr=&geocode=&hl=it&mra=dme&mrcr=0&mrsp=0&sz=16&sll=40.687423,16.573198&sspn=0.011325,0.020342&ie=UTF8&z=16
> >
> >
> > *Clicca qui per contattarmi subito*
> > <https://kite.wildix.com/220000000096/8001>
> >
> > ----------------------------------------------------
> >
> >
>


-- 

*Ing. Francesco Di Lecce*
IT Network Voip Engineer
www.linkat.it
Tel. 0835.183 0000
Fax. 0835.183 0001
via Biagi, snc - Matera
<http://maps.google.it/maps?f=d&source=s_d&saddr=40.687,16.573176&daddr=&geocode=&hl=it&mra=dme&mrcr=0&mrsp=0&sz=16&sll=40.687423,16.573198&sspn=0.011325,0.020342&ie=UTF8&z=16>

*Clicca qui per contattarmi subito*
<https://kite.wildix.com/220000000096/8001>

----------------------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190425/4e570ec3/attachment-0001.html>


More information about the Spce-user mailing list