Call forwarding from ring group

Freepbx 13 beta. We have 1 inbound SIP trunk that sends all calls to a ring group. Is it possible to forward unanswered calls to the ring group to an external number (like a cell) ? If so, how?

Currently unanswered calls to the group go to a single VM mailbox, and no matter what I do on the various extensions (enabling call forwarding etc), I cant get the inbound call forwarded.

I you want calls to fail-over to an external number after the ring group is finished, use a Misc Destination. If you want to include an external number in the ring group, suffix the cell number with a # as explained in the tool tip.

Thanks. I just installed the Misc Destinations module, and now that option is available in the ring-group setup. I set the Misc Destination to call my cell prefixed by 9+1 (as we dial from any extension). However, any calls forwarded fail, and I hear the “cannot complete number as dialed”. I see in the Asterisk logs that the number looks right (similar to how it is when we make a regular outbound call). Ive checked the trunk settings that we dont prevent foreign CIDs from being sent on the trunk (and I have a pending question to my SIP Trunk provider to confirm that they do/dont reject foreign CIDs).

Is there anything in the logs that would tell me why the forwarding call is failing?

Last section of logs follows:

== Spawn extension (from-internal, 600, 1) exited non-zero on 'SIP/101-00000047'
  -- SIP/101-00000047 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
  -- Called SIP/100
  -- Called SIP/101
  -- SIP/101-00000047 connected line has changed. Saving it until answer for SIP/SigmaVOIP_Trunk_Outbound-00000045
  -- SIP/100-00000046 connected line has changed. Saving it until answer for SIP/SigmaVOIP_Trunk_Outbound-00000045
  -- SIP/100-00000046 is ringing
  -- SIP/101-00000047 connected line has changed. Saving it until answer for SIP/SigmaVOIP_Trunk_Outbound-00000045
  -- SIP/101-00000047 is ringing
  -- Nobody picked up in 15000 ms
  -- Executing [[email protected]:8] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "DIALSTATUS=NOANSWER") in new stack
  -- Executing [[email protected]:9] GosubIf("SIP/SigmaVOIP_Trunk_Outbound-00000045", "0?NOANSWER,1()") in new stack
  -- Executing [[email protected]:16] Gosub("SIP/SigmaVOIP_Trunk_Outbound-00000045", "sub-record-cancel,s,1()") in new stack
  -- Executing [[email protected]:1] Return("SIP/SigmaVOIP_Trunk_Outbound-00000045", "") in new stack
  -- Executing [[email protected]:17] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "RingGroupMethod=") in new stack
  -- Executing [[email protected]:18] GotoIf("SIP/SigmaVOIP_Trunk_Outbound-00000045", "0?nodest") in new stack
  -- Executing [[email protected]:19] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "__CWIGNORE=") in new stack
  -- Executing [[email protected]:20] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "__PICKUPMARK=") in new stack
  -- Executing [[email protected]:21] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "_CFIGNORE=") in new stack
  -- Executing [[email protected]:22] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "_FORWARD_CONTEXT=from-internal") in new stack
  -- Executing [[email protected]:23] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "__NODEST=") in new stack
  -- Executing [[email protected]:24] Macro("SIP/SigmaVOIP_Trunk_Outbound-00000045", "blkvm-clr,") in new stack
  -- Executing [[email protected]:1] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "SHARED(BLKVM,SIP/SigmaVOIP_Trunk_Outbound-00000045)=") in new stack
  -- Executing [[email protected]:2] Set("SIP/SigmaVOIP_Trunk_Outbound-00000045", "GOSUB_RETVAL=") in new stack
  -- Executing [[email protected]:3] MacroExit("SIP/SigmaVOIP_Trunk_Outbound-00000045", "") in new stack
  -- Executing [[email protected]:25] Goto("SIP/SigmaVOIP_Trunk_Outbound-00000045", "ext-miscdests,1,1") in new stack
  -- Goto (ext-miscdests,1,1)
  -- Executing [[email protected]:1] NoOp("SIP/SigmaVOIP_Trunk_Outbound-00000045", "MiscDest: Forward to Cell") in new stack
  -- Executing [[email protected]:2] Goto("SIP/SigmaVOIP_Trunk_Outbound-00000045", "from-internal,91XXXyyyZZZZ,1") in new stack
  -- Goto (from-internal,91XXXyyyZZZZ,1)
  -- Executing [[email protected]:1] ResetCDR("SIP/SigmaVOIP_Trunk_Outbound-00000045", "") in new stack
  -- Executing [[email protected]:2] NoCDR("SIP/SigmaVOIP_Trunk_Outbound-00000045", "") in new stack
  -- Executing [[email protected]:3] Progress("SIP/SigmaVOIP_Trunk_Outbound-00000045", "") in new stack
  -- Executing [[email protected]:4] Wait("SIP/SigmaVOIP_Trunk_Outbound-00000045", "1") in new stack
     > 0x7fa1f000fb20 -- Probation passed - setting RTP source address to www.xxx.yyy.zzz:17092
  -- Executing [[email protected]:5] Progress("SIP/SigmaVOIP_Trunk_Outbound-00000045", "") in new stack
  -- Executing [[email protected]:6] Playback("SIP/SigmaVOIP_Trunk_Outbound-00000045", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
  -- <SIP/SigmaVOIP_Trunk_Outbound-00000045> Playing 'silence/1.ulaw' (language 'en')
  -- <SIP/SigmaVOIP_Trunk_Outbound-00000045> Playing 'cannot-complete-as-dialed.ulaw' (language 'en')
  -- <SIP/SigmaVOIP_Trunk_Outbound-00000045> Playing 'check-number-dial-again.ulaw' (language 'en')
== Spawn extension (from-internal, 91XXXyyyZZZZ, 6) exited non-zero on 'SIP/SigmaVOIP_Trunk_Outbound-00000045'

With help from some folks on irc, it was pointed out to me that my outbound trunk dialplan excluded the forwarding as I’d set the CID limit on the dialplan to 1XX (all our extensions are in the 100-199 range). When Asterisk attempted to forward the call, there was no matching dialplan, so no outbound route could be selected, thus the call failed.

Fixing the dialplan made everything work - my SIP provider (SigmaVoip) works great with the forwarded caller ID.