Feature code issues

when trying to forward all calls from an extension I press *72 and get the message “agent logged off” I have no queues set up. The call logs looks like this:

Executing [*[email protected]:1] Set("SIP/428-00000000", "__SIP_CODEC=g722                                                                                                                                                             ") in new stack
    -- Executing [*[email protected]:2] Goto("SIP/428-00000000", "from-internal,*                                                                                                                                                             72,4") in new stack
    -- Goto (from-internal,*72,4)
    -- Executing [*[email protected]:4] Set("SIP/428-00000000", "fromext=") in ne                                                                                                                                                             w stack
    -- Executing [*[email protected]:5] GotoIf("SIP/428-00000000", "0?startread")                                                                                                                                                              in new stack
    -- Executing [*[email protected]:6] Playback("SIP/428-00000000", "agent-logge                                                                                                                                                             doff") in new stack
    -- <SIP/428-00000000> Playing 'agent-loggedoff.g722' (language 'en')
    -- Executing [*[email protected]:7] Macro("SIP/428-00000000", "hangupcall,")                                                                                                                                                              in new stack
    -- Executing [[email protected]:1] GotoIf("SIP/428-00000000", "1?theend") i                                                                                                                                                             n new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [[email protected]:3] ExecIf("SIP/428-00000000", "0?Set(CDR(re                                                                                                                                                             cordingfile)=)") in new stack
    -- Executing [[email protected]:4] NoOp("SIP/428-00000000", " montior file=                                                                                                                                                              ") in new stack
    -- Executing [[email protected]:5] GotoIf("SIP/428-00000000", "1?skipagi")                                                                                                                                                              in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [[email protected]:7] Hangup("SIP/428-00000000", "") in new st                                                                                                                                                             ack
  == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'SIP/428-000000                                                                                                                                                             00' in macro 'hangupcall'
  == Spawn extension (from-internal, *72, 7) exited non-zero on 'SIP/428-0000000                                                                                                                                                             0'
    -- Executing [[email protected]:1] Macro("SIP/428-00000000", "hangupcall") in

This line was not generated by FreePBX. You have custom dialplan that is messing things up.

all the setting seem to match a different server we use on another campus. Any suggestions and where exactly to look?

extensions_custom.conf in /etc/asterisk

if its populated with anything its using custom dialplan

That file is blank. We have another server at a different campus and it does not have this issue. I have checked all of the setting I can think of and everything seems to match. I’m lost as what to look for next

My guess is you inadvertently reassigned your agent login/ out to *72

What is the output of:

grep SIP_CODEC /etc/asterisk/*

The output of grep SIP_CODEC /etc/asterisk/* is:
/etc/asterisk/extensions_custom.conf:exten => _0.,1,Set(__SIP_CODEC=alaw)
/etc/asterisk/extensions_custom.conf:exten => _*.,1,Set(__SIP_CODEC=g722)

I have checked multiple times and even did a screen comparison to our other server and the feature code match exactly dicko

@dolesec told you exactly which file to look in, and the grep confirmed the same file. You have sloppy custom dialplan in /etc/asterisk/extensions_custom.conf

I am guessing this has nothing to do with the web Gui? I am going to have to fix this with the command line correct?

That or using the config edit module:

Thanks. I found the error and all is well now

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