Transfer to VM Rest-API Call cannot be completed as dialed

PBX Firmware:12.7.6-1904-1.sng7

PBX Service Pack:1.0.0.0
Current Asterisk Version: 13.22.0

Whenever I try to transfer to VM I get “Your call cannot be completed as dialed”

- Channel PJSIP/106-00002edd: Started DTMF blind transfer.
    -- <PJSIP/106-00002edd> Playing 'pbx-transfer.ulaw' (language 'en')
    -- Started music on hold, class 'Music', on channel 'DAHDI/i1/6523126-162f'
    -- Stopped music on hold on DAHDI/i1/6523126-162f
    -- Channel PJSIP/106-00002edd left 'simple_bridge' basic-bridge <ad1d7068-41ca-4776-a253-5e1c1787ec2b>
  == Spawn extension (macro-dialout-trunk, s, 25) exited non-zero on 'PJSIP/106-00002edd' in macro 'dialout-trunk'
  == Spawn extension (restrictedroute-98c6f2c2287f4c73cea3d40ae7ec3ff2, 6523126, 7) exited non-zero on 'PJSIP/106-00002edd'
    -- Executing [h@restrictedroute-98c6f2c2287f4c73cea3d40ae7ec3ff2:1] Hangup("PJSIP/106-00002edd", "") in new stack
  == Spawn extension (restrictedroute-98c6f2c2287f4c73cea3d40ae7ec3ff2, h, 1) exited non-zero on 'PJSIP/106-00002edd'
    -- Channel DAHDI/i1/6523126-162f left 'simple_bridge' basic-bridge <ad1d7068-41ca-4776-a253-5e1c1787ec2b>
    -- Executing [*106@from-internal-xfer:1] Answer("DAHDI/i1/6523126-162f", "") in new stack
    -- Executing [*106@from-internal-xfer:2] Macro("DAHDI/i1/6523126-162f", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("DAHDI/i1/6523126-162f", "TOUCH_MONITOR=1567691863.27684") in new stack
    -- Executing [s@macro-user-callerid:2] Set("DAHDI/i1/6523126-162f", "AMPUSER=6523126") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("DAHDI/i1/6523126-162f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("DAHDI/i1/6523126-162f", "1?Set(REALCALLERIDNUM=6523126)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("DAHDI/i1/6523126-162f", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/i1/6523126-162f", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("DAHDI/i1/6523126-162f", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] ExecIf("DAHDI/i1/6523126-162f", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("DAHDI/i1/6523126-162f", "1?report") in new stack
    -- Goto (macro-user-callerid,s,17)
    -- Executing [s@macro-user-callerid:17] NoOp("DAHDI/i1/6523126-162f", "Macro Depth is 1") in new stack
    -- Executing [s@macro-user-callerid:18] GotoIf("DAHDI/i1/6523126-162f", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] GotoIf("DAHDI/i1/6523126-162f", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:20] ExecIf("DAHDI/i1/6523126-162f", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
    -- Executing [s@macro-user-callerid:21] Set("DAHDI/i1/6523126-162f", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:22] GotoIf("DAHDI/i1/6523126-162f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,38)
    -- Executing [s@macro-user-callerid:38] Set("DAHDI/i1/6523126-162f", "CALLERID(number)=6523126") in new stack
    -- Executing [s@macro-user-callerid:39] Set("DAHDI/i1/6523126-162f", "CALLERID(name)=CID:2175350100") in new stack
    -- Executing [s@macro-user-callerid:40] GotoIf("DAHDI/i1/6523126-162f", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:41] Set("DAHDI/i1/6523126-162f", "CDR(cnam)=CID:2175350100") in new stack
    -- Executing [s@macro-user-callerid:42] Set("DAHDI/i1/6523126-162f", "CDR(cnum)=6523126") in new stack
    -- Executing [s@macro-user-callerid:43] Set("DAHDI/i1/6523126-162f", "CHANNEL(language)=en") in new stack
    -- Executing [*106@from-internal-xfer:3] GotoIf("DAHDI/i1/6523126-162f", "0?from-internal,,1") in new stack
    -- Executing [*106@from-internal-xfer:4] Goto("DAHDI/i1/6523126-162f", "bad-number,s,1") in new stack
    -- Goto (bad-number,s,1)
    -- Executing [s@bad-number:1] Goto("DAHDI/i1/6523126-162f", "11,1") in new stack
    -- Goto (bad-number,11,1)
    -- Executing [11@bad-number:1] ResetCDR("DAHDI/i1/6523126-162f", "") in new stack
    -- Executing [11@bad-number:2] NoCDR("DAHDI/i1/6523126-162f", "") in new stack
    -- Executing [11@bad-number:3] Progress("DAHDI/i1/6523126-162f", "") in new stack
    -- Executing [11@bad-number:4] Wait("DAHDI/i1/6523126-162f", "1") in new stack
    -- Executing [11@bad-number:5] Playback("DAHDI/i1/6523126-162f", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack

The default feature code for Speed dial prefix *10 is conflicting with vm direct dial to extensions beginning with 10. Easy fix is to disable the speed dial feature code if you don’t use it, otherwise change to something that won’t conflict like **10

Cant believe it was something that simple. Thank you @lgaetz

1 Like

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