[Spce-user] "implicit" extensions

florent goue florentgoue at gmail.com
Mon Apr 13 15:59:46 EDT 2020


hi Andrew
thanks for your mail.

information about your setup :
 Sipwise CE 8.3.3
 I had this problem with 7.5.3 CE
 In my lab, I setup:
  2 domain
  3 customers
  9 subscribers ( numbers: 200280, 20012, 200150, 200330, 200338, 200320,
200340)
    In my test:
  A subscriber call the 200120 number, the call fail  (We would have liked
the call to reach the number 20012)
  A subscriber call the 2001500 number, the call fail (We would have liked
the call to reach the number 200150)
 The

extended_dialing_mode : Extension matching, send dialed number with
extension

Log1:

Apr 13 10:38:03 vs4476 proxy[1405]: NOTICE: <script>: New request on proxy
- M=INVITE R=«sip:200120 at cptrunks.com;transport=UDP» F=«
sip:saham_koumassi at cptrunks.com;transport=UDP»
T=«sip:200120 at cptrunks.com;transport=UDP»
IP=«154.235.59.110»:«48511» («127.0.0.1»:«5060»)
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115'
DESTIP=«127.0.0.1»:«5062»
Apr 13 10:38:03 vs4476 proxy[1405]: NOTICE: <script>: Sending reply S=100
Trying M=INVITE fs='«127.0.0.1»:«5062»' du='«127.0.0.1»:«5060»' -
R=«sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:03 vs4476 proxy[1405]: NOTICE: <script>: Authentication
failed, no credentials - R=«sip:200120 at cptrunks.com;transport=UDP»
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115' Auth=«<null>»
Apr 13 10:38:03 vs4476 proxy[1405]: NOTICE: <script>: Sending reply S=407
fs='«127.0.0.1»:«5062»' du='«127.0.0.1»:«5060»' -
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:03 vs4476 proxy[1404]: NOTICE: <script>: New request on proxy
- M=ACK R=«sip:200120 at cptrunks.com;transport=UDP» F=«
sip:saham_koumassi at cptrunks.com;transport=UDP»
T=«sip:200120 at cptrunks.com;transport=UDP»
IP=«<null>»:«<null>» («127.0.0.1»:«5060»)
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='<null>' DESTIP=«127.0.0.1»:«5062»
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: New request on proxy
- M=INVITE R=«sip:200120 at cptrunks.com;transport=UDP» F=«
sip:saham_koumassi at cptrunks.com;transport=UDP»
T=«sip:200120 at cptrunks.com;transport=UDP»
IP=«154.235.59.110»:«48511» («127.0.0.1»:«5060»)
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115'
DESTIP=«127.0.0.1»:«5062»
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Sending reply S=100
Trying M=INVITE fs='«127.0.0.1»:«5062»' du='«127.0.0.1»:«5060»' -
R=«sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Sending reply S=101
Connecting fs='«127.0.0.1»:«5062»' du='«127.0.0.1»:«5060»' - R=«
sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[«TXRRoLjsz1bhvJYZEKj39g..»] -
R=«sip:200120 at cptrunks.com;transport=UDP»
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: User-Provided CLI
'«saham_koumassi»' taken from From-User -
R=«sip:200120 at cptrunks.com;transport=UDP»
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: User-provided CLI
'«saham_koumassi»' rejected, using network-provided CLI '«200150»' -
R=«sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Setting
'«200150»@«cptrunks.com»' as initiating user-provided CLI - R=«
sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Setting
'«200150»@«cptrunks.com»' as initiating network-provided CLI - R=«
sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Callee is not local -
R=«sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Call to SIP Peering -
R=«sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Load gws matching
calling part '«sip:200150 at cptrunks.com»' and called user '«200120»' and
called part '«sip:200120 at cptrunks.com;transport=UDP»' - R=«
sip:200120 at cptrunks.com;transport=UDP» ID=«TXRRoLjsz1bhvJYZEKj39g..»
UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: ERROR: <script>: No PSTN gateways
available - R=«sip:200120 at cptrunks.com;transport=UDP»
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Setting acc
source-leg for uuid '«a4d38109-e3d1-47c8-84b9-cb5a278740ac»':
'«a4d38109-e3d1-47c8-84b9-cb5a278740ac|saham_koumassi|cptrunks.com|200150|||3|||0|call|154.235.59.110|1586774285.060554||||||||||||200150||||||0|»'
- R=«sip:200120 at cptrunks.com;transport=UDP»
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Setting acc
destination-leg for uuid '«0»': '«0|||0|200120|0|200120|cptrunks.com
|200120|cptrunks.com|0||||||||||||200120|||»' -
R=«sip:200120 at cptrunks.com;transport=UDP»
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28 rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: Sending reply S=503
PSTN Termination Currently Unavailable fs='«127.0.0.1»:«5062»'
du='«127.0.0.1»:«5060»' - ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='Z 5.2.28
rv2.8.115'
Apr 13 10:38:05 vs4476 proxy[1395]: NOTICE: <script>: [dialog:failed]
decreased redis counters lua_dlg_callid:[«TXRRoLjsz1bhvJYZEKj39g..»] -
R=«sip:you at kamailio.org» ID=«123» UA='<null>'
Apr 13 10:38:05 vs4476 proxy[1394]: NOTICE: <script>: New request on proxy
- M=ACK R=«sip:200120 at cptrunks.com;transport=UDP» F=«
sip:saham_koumassi at cptrunks.com;transport=UDP»
T=«sip:200120 at cptrunks.com;transport=UDP»
IP=«127.0.0.1»:«5060» («127.0.0.1»:«5060»)
ID=«TXRRoLjsz1bhvJYZEKj39g..» UA='<null>' DESTIP=«127.0.0.1»:«5062»


LOG2:
Apr 13 10:37:17 vs4476 proxy[1396]: NOTICE: <script>: New request on proxy
- M=INVITE R=«sip:2001500 at cptrunks.com»
F=«sip:saham_plateau at cptrunks.com» T=«sip:2001500 at cptrunks.com»
IP=«154.235.59.110»:«59704» («127.0.0.1»:«5060») ID=«ferci0yDNb»
UA='LinphoneAndroid/4.2.3 (Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
DESTIP=«127.0.0.1»:«5062»
Apr 13 10:37:17 vs4476 proxy[1396]: NOTICE: <script>: Sending reply S=100
Trying M=INVITE fs='«127.0.0.1»:«5062»' du='«127.0.0.1»:«5060»' -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1396]: NOTICE: <script>: Authentication
failed, no credentials - R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb»
UA='LinphoneAndroid/4.2.3 (Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Auth=«<null>»
Apr 13 10:37:17 vs4476 proxy[1396]: NOTICE: <script>: Sending reply S=407
fs='«127.0.0.1»:«5062»' du='«127.0.0.1»:«5060»' - ID=«ferci0yDNb»
UA='LinphoneAndroid/4.2.3 (Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1403]: NOTICE: <script>: New request on proxy
- M=ACK R=«sip:2001500 at cptrunks.com» F=«sip:saham_plateau at cptrunks.com»
T=«sip:2001500 at cptrunks.com;tag=95c37a12bff1a2c36d72bf8333176544.7855»
IP=«<null>»:«<null>» («127.0.0.1»:«5060») ID=«ferci0yDNb»
UA='<null>' DESTIP=«127.0.0.1»:«5062»
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: New request on proxy
- M=INVITE R=«sip:2001500 at cptrunks.com»
F=«sip:saham_plateau at cptrunks.com» T=«sip:2001500 at cptrunks.com»
IP=«154.235.59.110»:«59704» («127.0.0.1»:«5060») ID=«ferci0yDNb»
UA='LinphoneAndroid/4.2.3 (Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
DESTIP=«127.0.0.1»:«5062»
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Sending reply S=100
Trying M=INVITE fs='«127.0.0.1»:«5062»' du='«127.0.0.1»:«5060»' -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Sending reply S=101
Connecting fs='«127.0.0.1»:«5062»' du='«127.0.0.1»:«5060»' -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Dialog managed,
lua_dlg_callid:[«ferci0yDNb»] - R=«sip:2001500 at cptrunks.com»
ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3 (Infinix X604)
LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: User-Provided CLI
'«saham_plateau»' taken from From-User - R=«sip:2001500 at cptrunks.com»
ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3 (Infinix X604)
LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: User-provided CLI
'«saham_plateau»' rejected, using network-provided CLI '«20012»' -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Setting
'«20012»@«cptrunks.com»' as initiating user-provided CLI -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Setting
'«20012»@«cptrunks.com»' as initiating network-provided CLI -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Callee is not local -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Call to SIP Peering -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Load gws matching
calling part '«sip:20012 at cptrunks.com»' and called user '«2001500»' and
called part '«sip:2001500 at cptrunks.com»' - R=«sip:2001500 at cptrunks.com»
ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3 (Infinix X604)
LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: ERROR: <script>: No PSTN gateways
available - R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb»
UA='LinphoneAndroid/4.2.3 (Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Setting acc
source-leg for uuid '«71029c40-1bab-4568-a172-3ed4670e53f2»':
'«71029c40-1bab-4568-a172-3ed4670e53f2|saham_plateau|cptrunks.com|20012|||3|||0|call|154.235.59.110|1586774237.509881||||||||||||20012||||||0|»'
- R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb»
UA='LinphoneAndroid/4.2.3 (Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Setting acc
destination-leg for uuid '«0»': '«0|||0|2001500|0|2001500|cptrunks.com
|2001500|cptrunks.com|0||||||||||||2001500|||»' -
R=«sip:2001500 at cptrunks.com» ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: Sending reply S=503
PSTN Termination Currently Unavailable fs='«127.0.0.1»:«5062»'
du='«127.0.0.1»:«5060»' - ID=«ferci0yDNb» UA='LinphoneAndroid/4.2.3
(Infinix X604) LinphoneSDK/4.3.3 (tags/4.3.3^0)'
Apr 13 10:37:17 vs4476 proxy[1404]: NOTICE: <script>: [dialog:failed]
decreased redis counters lua_dlg_callid:[«ferci0yDNb»] -
R=«sip:you at kamailio.org» ID=«123» UA='<null>'
Apr 13 10:37:17 vs4476 proxy[1405]: NOTICE: <script>: New request on proxy
- M=ACK R=«sip:2001500 at cptrunks.com» F=«sip:saham_plateau at cptrunks.com»
T=«sip:2001500 at cptrunks.com;tag=f3067022b00c564156251ba2f28f331f-7855»
IP=«127.0.0.1»:«5060» («127.0.0.1»:«5060») ID=«ferci0yDNb»
UA='<null>' DESTIP=«127.0.0.1»:«5062»








Le lun. 13 avr. 2020 à 18:12, Andrew Pogrebennyk <apogrebennyk at sipwise.com>
a écrit :

> Hi,
> it should actually work by default, sending call to AoR of the subscriber
> with dialed extension in R-URI.
> If the endpoint responds with 404, it falls back to main AoR. Sipwise team
> would need more information about your setup. For example, have you changed
> the value of extended_dialing_mode preference and are you using dynamic or
> static registration (but that shouldn’t matter AFAIK). If there are no
> pointers in your configuration please share your kamailio-proxy.log by
> grepping call-id of one specific call that didn’t behave as expected. That
> is useful in all situations.
>
> Regards,
> Andrew
>
> On 13.04.2020, at 19:29, florent goue <florentgoue at gmail.com> wrote:
>
> Hi
> I would like to know if the *"implicit" extensions* feature is still
> available in the community version.
> It's been 3 days since I try to test this feature on a server in my lab.
> It's very important for my project.
> Thank you for really helping me.
>
> Section 6
> important
>
> Sipwise C5 allows a single subscriber to have multiple E.164 numbers to be
> used as aliases for receiving incoming calls. Also, Sipwise C5 supports
> so-called "implicit" extensions. If a subscriber has phone number 012345,
> but somebody calls 012345100, then NGCP first tries to send the call to
> number 012345100 (even though the user is registered as 012345). If Sipwise
> C5 then receives the 404 - Not Found response, it falls back to 012345 (the
> user-part with which the
>
>
>
>
> Florent
> --
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20200413/2f5a7c95/attachment-0002.html>


More information about the Spce-user mailing list