No such extension/context

Incoming calls are working well, VitalPBX won’t place outbound calls, this is a multi-tenant server (not sure if this matters). I know I am missing something simple, but three hours of comparing the configuration of a functional VitalPBX isn’t finding the solution.
/var/log/messages is telling me:
Sep 28 13:41:03 phone101 asterisk: [][2022-09-28 13:41:03] #033[1;33mNOTICE#033[0m[1104][C-00000018]: #033[1;37mcore_local.c#033[0m:#033[1;37m737#033[0m #033[1;37mlocal_call#033[0m: No such extension/context 3143212222@T2-outbound while calling Local channel

grep -ris 3143212222 /var/log/asterisk/full
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@T2_cos-all:1] NoOp(“PJSIP/101_105-0000001a”, “More than on digit pattern”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@T2_cos-all:2] Gosub(“PJSIP/101_105-0000001a”, “s,1(3143212222)”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@T2_cos-all:1] Set(“PJSIP/101_105-0000001a”, “EXTENSION=3143212222”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@T2_cos-all:2] NoOp(“PJSIP/101_105-0000001a”, “Dialing 3143212222 from 105”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@T2_cos-all:3] Gosub(“PJSIP/101_105-0000001a”, “sub-set-global-vars,s,1(c14dd165f0929b75,3143212222,parking-2)”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@sub-set-global-vars:4] Set(“PJSIP/101_105-0000001a”, “__PICKUPMARK=T2_3143212222”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@T2_cos-all:4] Gosub(“PJSIP/101_105-0000001a”, “sub-set-call-vars,s,1(c14dd165f0929b75,3143212222,2,T2_cos-all,T2_ARS-all)”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@sub-set-call-vars:3] Set(“PJSIP/101_105-0000001a”, “_CALL_DESTINATION=3143212222”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@sub-set-call-vars:9] Set(“PJSIP/101_105-0000001a”, “CDR(destination)=3143212222”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@T2_cos-all:9] GotoIf(“PJSIP/101_105-0000001a”, “0?T2_emergency-calls,3143212222,1”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s@T2_cos-all:16] Goto(“PJSIP/101_105-0000001a”, “T2_cos-all-post,3143212222,1”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx_builtins.c: Goto (T2_cos-all-post,3143212222,1)
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@T2_cos-all-post:1] NoOp(“PJSIP/101_105-0000001a”, “Outbound Route: BulkVS-Out”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@T2_cos-all-post:2] Gosub(“PJSIP/101_105-0000001a”, “sub-setup-call-type,s,1(outgoing)”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@T2_cos-all-post:3] Set(“PJSIP/101_105-0000001a”, “DNID=3143212222”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@T2_cos-all-post:4] NoOp(“PJSIP/101_105-0000001a”, “Start to Dial Trunks”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@T2_cos-all-post:5] Goto(“PJSIP/101_105-0000001a”, “s-1,1”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [s-1@T2_cos-all-post:5] Gosub(“PJSIP/101_105-0000001a”, “trk-2,3143212222,1(from-trk-grp)”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2:1] Set(“PJSIP/101_105-0000001a”, “_NTD=3143212222”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2:2] Gosub(“PJSIP/101_105-0000001a”, “trk-2-dial,3143212222,1(from-trk-grp)”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:1] NoOp(“PJSIP/101_105-0000001a”, “Trunk: BulkVS”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:2] NoOp(“PJSIP/101_105-0000001a”, “Dialing: 3143212222”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:3] Set(“PJSIP/101_105-0000001a”, “CDR(trunk)=2”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:4] Set(“PJSIP/101_105-0000001a”, “SKIP_HANGUP_AUDIOS=no”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:5] Gosub(“PJSIP/101_105-0000001a”, “sub-setup-call-type,s,1(outgoing,no)”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:6] ExecIf(“PJSIP/101_105-0000001a”, “0?Set(CALLERID(all)=):”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:7] GotoIf(“PJSIP/101_105-0000001a”, “1?:after-val-sim-calls”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:8] Set(“PJSIP/101_105-0000001a”, “MAX_TENANT_CALLS=0”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:9] Set(“PJSIP/101_105-0000001a”, “TENANT_NAME=kat001_katycomputer”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:10] GotoIf(“PJSIP/101_105-0000001a”, “0?:after-val-sim-calls”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx_builtins.c: Goto (trk-2-dial,3143212222,18)
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:18] NoOp(“PJSIP/101_105-0000001a”, “”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:19] NoOp(“PJSIP/101_105-0000001a”, “Configuring Trunk Parameters”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:20] ExecIf(“PJSIP/101_105-0000001a”, “1?Set(CHANNEL(musicclass)=default):”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:21] Set(“PJSIP/101_105-0000001a”, “__TRUNK_MOH_SET=yes”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:22] Set(“PJSIP/101_105-0000001a”, “DIAL_PREFIX=”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:23] Set(“PJSIP/101_105-0000001a”, “_TRKDIALOPTIONS=ktr") in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:24] Set(“PJSIP/101_105-0000001a”, “ORIGINATOR=105”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:25] Set(“PJSIP/101_105-0000001a”, “RING_TIME=90”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:26] Set(“PJSIP/101_105-0000001a”, “CALLED=3143212222”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:27] Set(“PJSIP/101_105-0000001a”, "TRUNK_ENDPOINT=T2
”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:28] Set(“PJSIP/101_105-0000001a”, “__CALL_TYPE_CONFIGURED=no”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:29] Dial(“PJSIP/101_105-0000001a”, “Local/3143212222@T2-outbound,90,ktrU(sub-before-bridging-call^c14dd165f0929b75^105^3143212222^)”) in new stack
[2022-09-28 13:41:03] NOTICE[1104][C-00000018] core_local.c: No such extension/context 3143212222@T2-outbound while calling Local channel
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] app_dial.c: Couldn’t call Local/3143212222@T2-outbound
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:30] NoOp(“PJSIP/101_105-0000001a”, “After Dial”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:31] GotoIf(“PJSIP/101_105-0000001a”, “1?come-back”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx_builtins.c: Goto (trk-2-dial,3143212222,33)
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2-dial:33] Return(“PJSIP/101_105-0000001a”, “”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2:3] GotoIf(“PJSIP/101_105-0000001a”, “1?come-back”) in new stack
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx_builtins.c: Goto (trk-2,3143212222,5)
[2022-09-28 13:41:03] VERBOSE[1104][C-00000018] pbx.c: Executing [3143212222@trk-2:5] Return(“PJSIP/101_105-0000001a”, “”) in new stack
[root@phone101 ~]#

More information:

I originally configured the extension on a tenant, I set up another extension on the main account, as an extension on main, it is able to dial out.

So, either I am missing something, or there is some issue with using main’s trunk in the tenant. My guess: I am missing something :frowning:

grep C-00000018 /var/log/asterisk/full* >> /tmp/C-00000018

Upload the content of /tmp/C-00000018 to pastebin.com and share the link here

Please see https://pastebin.com/raw/hPsE2Ykk

Thanks for your help!

I have pasted it with a bit longer expiration date: https://pastebin.com/raw/WY3gjXKn

Observations:

  • Your call is using the outbound route BulkVS-Out
  • The trunk is BulkVS
  • The tenant is kat001_katycomputer

What kind of trunk is BulkVS? SIP, PJSIP, or TENANT trunk? Could you share the configurations of this trunk?

Could you share the Calls Routing settings of your tenant?

Remember to hide any sensitive data.

The Trunk is setup as TENANT: https://i.imgur.com/tep02T3.png
On main, the trunk is setup as PJSIP: https://i.imgur.com/wkfcuQd.png
Tenant call routings: https://i.imgur.com/7Cf0qKB.png

Thanks Miguel for looking at this.

Can you share the Calls Routing tab from the Tenant module?

By the way, what version of VitalPBX are you running?

The Calls Routing tab is empty: https://i.imgur.com/1vXNVVn.png https://i.imgur.com/oY88fuI.png

We are on VitalPBX version 3.2.3-4: https://i.imgur.com/UJJlVDP.png

Admin > Tenants > Tenant > Calls Routing.

Admin > Tenants > Tenant > Calls Routing: https://i.imgur.com/i9XvfOk.png

Under Allowed Outbound Routes, you have to select an outbound route.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.