Call forwarding to outside number with recording

There is a bug in the posting system and I have to break this up, as it says I cannot mention 2 users in the same post, as a new user.

We have a few numbers coming into the PBX that we want forwarded out to to outside sales people. They are using a single 800# that distributes the calls to them. We also want to record these call. After some research I setup a custom extension. Any help would be appreciated.

Local/8005551212@outbound-allroutes

This works and records the call. The only issue is the first call rings through fine, but additional calls just ring, and hang up. Here is the debug from the system. It seems it is not pushing out the call. The extension is set for call waiting.

Current setup is incoming route - time conditions - extension - to dial prefix above.

Good call…

-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/8005551212@outbound-allroutes-0001c792;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/8005551212@outbound-allroutes-0001c792;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/8005551212@outbound-allroutes-0001c792;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/8005551212@outbound-allroutes-0001c792;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("Local/8005551212@outbound-allroutes-0001c792;2", "0?Set(CONNECTEDLINE(num,i)=8005551212)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/8005551212@outbound-allroutes-0001c792;2", "0?Set(CONNECTEDLINE(name,i)=CID:6785075555)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("Local/8005551212@outbound-allroutes-0001c792;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("Local/8005551212@outbound-allroutes-0001c792;2", "SIP/carrier-outbound/8005551212,300,Tt") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/carrier-outbound/8005551212
    -- SIP/carrier-outbound-0000f8d1 is making progress passing it to Local/8005551212@outbound-allroutes-0001c792;2
    -- Local/8005551212@outbound-allroutes-0001c792;1 is making progress passing it to SIP/carrierity-inbound-0000f8d0

    -- SIP/carrier-outbound-0000f8d1 requested media update control 26, 
passing it to Local/8005551212@outbound-allroutes-0001c792;2
    -- SIP/carrier-outbound-0000f8d1 answered Local/8005551212@outbound-allroutes-0001c792;2
    -- Local/8005551212@outbound-allroutes-0001c792;1 answered SIP/carrierity-inbound-0000f8d0
    -- Executing [h@macro-dialout-trunk:1] Macro("Local/8005551212@outbound-allroutes-0001c792;2", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/8005551212@outbound-allroutes-0001c792;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)

    -- Executing [s@macro-hangupcall:3] 
ExecIf("Local/8005551212@outbound-allroutes-0001c792;2", 
"0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("Local/8005551212@outbound-allroutes-0001c792;2", "") in new stack

  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 
'Local/8005551212@outbound-allroutes-0001c792;2' in macro 'hangupcall'
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'Local/8005551212@outbound-allroutes-0001c792;2'

  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 
'Local/8005551212@outbound-allroutes-0001c792;2' in macro 
'dialout-trunk'
  == Spawn extension (outbound-allroutes, 8005551212, 6) exited non-zero on 'Local/8005551212@outbound-allroutes-0001c792;2'
localhost*CLI>

bad call

-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/8005551212@outbound-allroutes-0001c795;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/8005551212@outbound-allroutes-0001c795;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/8005551212@outbound-allroutes-0001c795;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/8005551212@outbound-allroutes-0001c795;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/8005551212@outbound-allroutes-0001c795;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("Local/8005551212@outbound-allroutes-0001c795;2", "0?Set(CONNECTEDLINE(num,i)=8005551212)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/8005551212@outbound-allroutes-0001c795;2", "0?Set(CONNECTEDLINE(name,i)=CID:6785075555)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("Local/8005551212@outbound-allroutes-0001c795;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("Local/8005551212@outbound-allroutes-0001c795;2", "SIP/carrier-outbound/8005551212,300,Tt") in new stack

  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/carrier-outbound/8005551212
localhost*CLI>
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 
'Local/8005551212@outbound-allroutes-0001c795;2' in macro 
'dialout-trunk'

Not a bug The system sees the @ sign in a post and assumes you are trying to tag someone… You simply have to wrap your logs in tripple backtics(`)
Edited for you…

thanks any idea on the error.