Updated Asterisk and FreePBX broke buttons

I am sorry to bother you again with this, I have updated to new asterisk version (1.6) also disabled original fop, I know you just got all this working for me last week. But after upgrade buttons stopped working?
It won't transfer,record,pickup... the only button that does work is hangup.

I did not change anything (and wont until you give me advise- so I don't mess the configuration up).
I can give you some debug output though :

Well that's probably it, even though I have disabled the original fop says can not listen to port 4445?

I guess that would be a good place to start, think before you told me in the Live chat session we had last week :

"asternic :I have just configured two extensions for both of your fxs channels fop2 is started, on default port 4445 the problem was that I corrected the configuration, and started a server

asternic : on port 4445
asternic : but you already got a server running on 4447
asternic : so the commands from the client were sent with the improper channel"

Again, I am sorry to bother you with this once again, since we just got it going last week.

Comments

  • Asterisk 1.6 requires the "originate" permissions in /etc/asterisk/manager.conf

    Check thatyou have that , reload/restart asterisk and try again.
  • Yes I have that :

    [fop2]
    secret = ******
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    read = all,system,call,log,verbose,command,agent,user,originate
    write = all,system,call,log,verbose,command,agent,user,originate

    [admin]
    secret = ******
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    read = all,system,call,log,verbose,command,agent,user,originate
    write = all,system,call,log,verbose,command,agent,user,originate

    [6910]
    secret = ******
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    read = all,system,call,log,verbose,command,agent,user,originate
    write = all,system,call,log,verbose,command,agent,user,originate

    [6920]
    secret = ******
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    read = all,system,call,log,verbose,command,agent,user,originate
    write = all,system,call,log,verbose,command,agent,user,originate

    __________________________________________________________________________________________________

    also when I try the debug mode after switching to port 4446 it shows this error before trying any buttons or logging in (maybe its the cause):

    Response: Success
    Eventlist: start
    Message: Peer status list will follow
    Server: 0

    127.0.0.1 <- Event: PeerlistComplete
    127.0.0.1 <- EventList: Complete
    127.0.0.1 <- ListItems: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Error
    127.0.0.1 <- Message: Invalid/unknown command: Agents. Use Action: ListCom mands to show available commands.
    127.0.0.1 <- Server: 0

    Response: Error
    Message: Invalid/unknown command: Agents. Use Action: ListCommands to show avail able commands.
    Server: 0

    127.0.0.1 <- Response: Follows
    127.0.0.1 <- Privilege: Command
    127.0.0.1 <- ActionID: fop2state
    127.0.0.1 <- 0 results found.
    127.0.0.1 <- --END COMMAND--
    127.0.0.1 <- Server: 0
    ____________________________________________________________________________________________

    here it is in its entirety :
    [root@asterisk002 fop2]# /usr/local/fop2/fop2_server -X 15
    Flash Operator Panel 2 - No valid license found. Demo Mode

    ** MANAGER CONNECTION Connecting to 127.0.0.1:5038 (Server 0)
    ** MANAGER CONNECTION Connected to 127.0.0.1:5038 (Server 0)

    127.0.0.1 -> Action: Challenge
    127.0.0.1 -> AuthType: MD5

    127.0.0.1 <- Asterisk Call Manager/1.1
    127.0.0.1 <- Response: Success
    127.0.0.1 <- Challenge: 188419787
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: Login
    127.0.0.1 -> Username: admin
    127.0.0.1 -> AuthType: MD5
    127.0.0.1 -> Key: 1caaebc890744a1ef4db62a26f6df7ea

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Authentication accepted
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxStatus
    127.0.0.1 -> Mailbox: 6920@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Status
    127.0.0.1 <- Mailbox: 6920@default
    127.0.0.1 <- Waiting: 1
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxCount
    127.0.0.1 -> Mailbox: 6920@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Message Count
    127.0.0.1 <- Mailbox: 6920@default
    127.0.0.1 <- NewMessages: 2
    127.0.0.1 <- OldMessages: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxStatus
    127.0.0.1 -> Mailbox: 6910@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Status
    127.0.0.1 <- Mailbox: 6910@default
    127.0.0.1 <- Waiting: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxCount
    127.0.0.1 -> Mailbox: 6910@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Message Count
    127.0.0.1 <- Mailbox: 6910@default
    127.0.0.1 <- NewMessages: 0
    127.0.0.1 <- OldMessages: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: Status

    127.0.0.1 -> Action: QueueStatus

    127.0.0.1 -> Action: SipPeers

    127.0.0.1 -> Action: Agents

    127.0.0.1 -> Action: Command
    127.0.0.1 -> Command: database show fop2state
    127.0.0.1 -> ActionID: fop2state

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Channel status will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Channel status will follow
    Server: 0

    127.0.0.1 <- Event: StatusComplete
    127.0.0.1 <- Items: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Queue status will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Queue status will follow
    Server: 0

    127.0.0.1 <- Event: QueueParams
    127.0.0.1 <- Queue: default
    127.0.0.1 <- Max: 0
    127.0.0.1 <- Strategy: ringall
    127.0.0.1 <- Calls: 0
    127.0.0.1 <- Holdtime: 0
    127.0.0.1 <- Completed: 0
    127.0.0.1 <- Abandoned: 0
    127.0.0.1 <- ServiceLevel: 0
    127.0.0.1 <- ServicelevelPerf: 0.0
    127.0.0.1 <- Weight: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: QueueStatusComplete
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Eventlist: start
    127.0.0.1 <- Message: Peer status list will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Eventlist: start
    Message: Peer status list will follow
    Server: 0

    127.0.0.1 <- Event: PeerlistComplete
    127.0.0.1 <- EventList: Complete
    127.0.0.1 <- ListItems: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Error
    127.0.0.1 <- Message: Invalid/unknown command: Agents. Use Action: ListCom mands to show available commands.
    127.0.0.1 <- Server: 0

    Response: Error
    Message: Invalid/unknown command: Agents. Use Action: ListCommands to show avail able commands.
    Server: 0

    127.0.0.1 <- Response: Follows
    127.0.0.1 <- Privilege: Command
    127.0.0.1 <- ActionID: fop2state
    127.0.0.1 <- 0 results found.
    127.0.0.1 <- --END COMMAND--
    127.0.0.1 <- Server: 0

    Exiting...
  • Well that fixed my port issue now running on port 4445 it seems but still the buttons don't work.

    Still get that error upon starting up debug mode.

    if you need more debug outputs please let me know.
  • That Agents error won't prevent fop from working. I am lost about your problem now, not sure what is working and what not, or what you did. A working fop2 in asterisk 1.4 will still work in 1.6 if you do not modify any fop configuration files in regards to monitoring functions (you see phones going busy, free, ringing, etc), and even actions (Transfers, hangups) if you add the "originate" permission to the manager user that fop2 uses.

    There is no need to change or fiddle with fop2 ports at all (4445, 4446, etc).

    In you captures there are no one event about phone status or a command being executed via the web client. Start with debug level 15 ( -X 15), connect via web, and then try to originate, dial or transfer a call. The last part of the log will give us pointers about your problems.

    Best regards,
  • Thanks, here is the debug output first trying (from 6010) to dial another extension (6020) this rings on 6010 not 6020 then I tried to pickup 6010 (since it was ringing) nothing, hangup works...
    well I get what I stated above then I get:

    127.0.0.1 <- Event: Newchannel
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- ChannelState: 1
    127.0.0.1 <- ChannelStateDesc: Rsrvd
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- AccountCode:
    127.0.0.1 <- Uniqueid: 1262032605.0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Variable: TRANSFERCAPABILITY
    127.0.0.1 <- Value: SPEECH
    127.0.0.1 <- Uniqueid: 1262032605.0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: NewAccountCode
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Uniqueid: 1262032605.0
    127.0.0.1 <- AccountCode:
    127.0.0.1 <- OldAccountCode:
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: NewCallerid
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- CallerIDNum: 6910
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1262032605.0
    127.0.0.1 <- CID-CallingPres: 0 (Presentation Allowed, Not Screened)
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newstate
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- ChannelState: 5
    127.0.0.1 <- ChannelStateDesc: Ringing
    127.0.0.1 <- CallerIDNum: 6910
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1262032605.0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: default
    127.0.0.1 <- Hint: DAHDI/5
    127.0.0.1 <- Status: 8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: ext-local
    127.0.0.1 <- Hint: DAHDI/5&Custom:DND6910
    127.0.0.1 <- Status: 8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: OriginateResponse
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Response: Failure
    127.0.0.1 <- Channel: DAHDI/5
    127.0.0.1 <- Context:
    127.0.0.1 <- Exten:
    127.0.0.1 <- Reason: 5
    127.0.0.1 <- Uniqueid: <null>
    127.0.0.1 <- CallerIDNum: <unknown>
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Hangup
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Uniqueid: 1262032605.0
    127.0.0.1 <- CallerIDNum: 6910
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Cause: 19
    127.0.0.1 <- Cause-txt: User alerting, no answer
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: default
    127.0.0.1 <- Hint: DAHDI/5
    127.0.0.1 <- Status: 4
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: ext-local
    127.0.0.1 <- Hint: DAHDI/5&Custom:DND6910
    127.0.0.1 <- Status: 4
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: OriginateResponse
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Response: Failure
    127.0.0.1 <- Channel: DAHDI/5
    127.0.0.1 <- Context: from-internal
    127.0.0.1 <- Exten: 6920
    127.0.0.1 <- Reason: 1
    127.0.0.1 <- Uniqueid: <null>
    127.0.0.1 <- CallerIDNum: 6910
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Server: 0

    Again I had left all the files the way you had left them bout 10 days ago, and running on port 4445.
  • Hello,

    I am not seeing the Originate command sent by fop2 to Asterisk but the replies after that, based on those replies (but it would be nice to see the original Originate request that should be just 2 or 3 events before the block you posted), there is no extension and context defined for the destination button. Are you using automatic configuration or was it manual? It seems there is no extension or context defined in the buttons.cfg file for the destination button.

    If you originate a call from A to B, then A will ring, when you pickup it will connect you to B. That is normal behaviour. Problem is that B has no extension or context defined.

    Best regards,
  • ok, here is my buttons.cfg file :


    [DAHDI/5]
    type=extension
    extension=6910
    label=POTS 1
    mailbox=6910@default
    context=from-internal
    extenvoicemail=*6910@device

    [DAHDI/6]
    type=extension
    extension=6920
    label=POTS 2
    mailbox=6920@default
    context=from-internal
    extenvoicemail=*6920@device
    ___________________________________________________________________________________________________

    here is my debug output again (all of it)

    ** MANAGER CONNECTION Connecting to 127.0.0.1:5038 (Server 0)
    ** MANAGER CONNECTION Connected to 127.0.0.1:5038 (Server 0)

    127.0.0.1 -> Action: Challenge
    127.0.0.1 -> AuthType: MD5

    127.0.0.1 <- Asterisk Call Manager/1.1
    127.0.0.1 <- Response: Success
    127.0.0.1 <- Challenge: 217967493
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: Login
    127.0.0.1 -> Username: admin
    127.0.0.1 -> AuthType: MD5
    127.0.0.1 -> Key: 2c7feaf4d64027f448dca2dbb633994e

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Authentication accepted
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxStatus
    127.0.0.1 -> Mailbox: 6920@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Status
    127.0.0.1 <- Mailbox: 6920@default
    127.0.0.1 <- Waiting: 1
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxCount
    127.0.0.1 -> Mailbox: 6920@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Message Count
    127.0.0.1 <- Mailbox: 6920@default
    127.0.0.1 <- NewMessages: 2
    127.0.0.1 <- OldMessages: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxStatus
    127.0.0.1 -> Mailbox: 6910@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Status
    127.0.0.1 <- Mailbox: 6910@default
    127.0.0.1 <- Waiting: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxCount
    127.0.0.1 -> Mailbox: 6910@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Message Count
    127.0.0.1 <- Mailbox: 6910@default
    127.0.0.1 <- NewMessages: 0
    127.0.0.1 <- OldMessages: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: Status

    127.0.0.1 -> Action: QueueStatus

    127.0.0.1 -> Action: SipPeers

    127.0.0.1 -> Action: Agents

    127.0.0.1 -> Action: Command
    127.0.0.1 -> Command: database show fop2state
    127.0.0.1 -> ActionID: fop2state

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Channel status will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Channel status will follow
    Server: 0

    127.0.0.1 <- Event: StatusComplete
    127.0.0.1 <- Items: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Queue status will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Queue status will follow
    Server: 0

    127.0.0.1 <- Event: QueueParams
    127.0.0.1 <- Queue: default
    127.0.0.1 <- Max: 0
    127.0.0.1 <- Strategy: ringall
    127.0.0.1 <- Calls: 0
    127.0.0.1 <- Holdtime: 0
    127.0.0.1 <- Completed: 0
    127.0.0.1 <- Abandoned: 0
    127.0.0.1 <- ServiceLevel: 0
    127.0.0.1 <- ServicelevelPerf: 0.0
    127.0.0.1 <- Weight: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: QueueStatusComplete
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Eventlist: start
    127.0.0.1 <- Message: Peer status list will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Eventlist: start
    Message: Peer status list will follow
    Server: 0

    127.0.0.1 <- Event: PeerlistComplete
    127.0.0.1 <- EventList: Complete
    127.0.0.1 <- ListItems: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Error
    127.0.0.1 <- Message: Invalid/unknown command: Agents. Use Action: ListCommands to show available commands.
    127.0.0.1 <- Server: 0

    Response: Error
    Message: Invalid/unknown command: Agents. Use Action: ListCommands to show available commands.
    Server: 0

    127.0.0.1 <- Response: Follows
    127.0.0.1 <- Privilege: Command
    127.0.0.1 <- ActionID: fop2state
    127.0.0.1 <- 0 results found.
    127.0.0.1 <- --END COMMAND--
    127.0.0.1 <- Server: 0

    _______________________________________ trying to dial 6920 from 6910 _________________________
    10.30.20.137 => <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">;
    <cross-domain-policy>
    <allow-access-from domain="*" to-ports="4445" />
    </cross-domain-policy>


    ** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0x8292e60)
    ** CLEAN SOCKET flash client connection lost
    No flash clients connected

    10.30.20.137 <= <msg data="GENERAL|contexto|1|" />
    10.30.20.137 => { 'btn': '0', 'cmd': 'key', 'data': 'E06NVKOLqoNP7Qg4xDI8ty', 'slot': '' }

    10.30.20.137 => { 'btn': '0@GENERAL', 'cmd': 'version', 'data': '2.00', 'slot': '' }

    10.30.20.137 <= <msg data="1|auth|6910|90ad2424aa849023cae3fdd5990e7e9b" />
    10.30.20.137 => { 'btn': '0@GENERAL', 'cmd': 'permit', 'data': 'YWxs', 'slot': '' }

    10.30.20.137 => { 'btn': '3@GENERAL', 'cmd': 'zbuttons', 'data': 'M3Rwd/VzDXL0qUkqLSnJz6tRdI0IcfUL9vT3szWzNDSAcMP8PZ1dfR09fWy1QIIOKallmcmpiiARJ/8IW6hYWmJpTomij6OTq49tgH9IsIIhSIWfs4ejnx9QyMXRw8VT31QxJDLA1Ta1oiQ1rzgzP0/R2d8vBGiJbVpRfq5uZl5JalFeYg6XEV53GWFzlxEWdxlhdZcRFneZEecuAA==', 'slot': '' }

    10.30.20.137 <= <msg data="1|initState||90ad2424aa849023cae3fdd5990e7e9b" />
    10.30.20.137 => { 'btn': '2@GENERAL', 'cmd': 'voicemail', 'data': '1', 'slot': '' }

    10.30.20.137 => { 'btn': '2@GENERAL', 'cmd': 'voicemailcount', 'data': 'New 2, Old 0', 'slot': '' }

    10.30.20.137 <= <msg data="1|originate|2|90ad2424aa849023cae3fdd5990e7e9b" />

    127.0.0.1 -> Action: Originate
    127.0.0.1 -> Channel: DAHDI/5
    127.0.0.1 -> Exten: 6920
    127.0.0.1 -> Context: from-internal
    127.0.0.1 -> Priority: 1
    127.0.0.1 -> CallerID: <6910>
    127.0.0.1 -> Async: True

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Originate successfully queued
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Originate successfully queued
    Server: 0

    127.0.0.1 <- Event: Newchannel
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- ChannelState: 1
    127.0.0.1 <- ChannelStateDesc: Rsrvd
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- AccountCode:
    127.0.0.1 <- Uniqueid: 1262034332.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Variable: TRANSFERCAPABILITY
    127.0.0.1 <- Value: SPEECH
    127.0.0.1 <- Uniqueid: 1262034332.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: NewAccountCode
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Uniqueid: 1262034332.2
    127.0.0.1 <- AccountCode:
    127.0.0.1 <- OldAccountCode:
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: NewCallerid
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- CallerIDNum: 6910
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1262034332.2
    127.0.0.1 <- CID-CallingPres: 0 (Presentation Allowed, Not Screened)
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newstate
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- ChannelState: 5
    127.0.0.1 <- ChannelStateDesc: Ringing
    127.0.0.1 <- CallerIDNum: 6910
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1262034332.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: default
    127.0.0.1 <- Hint: DAHDI/5
    127.0.0.1 <- Status: 8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: ext-local
    127.0.0.1 <- Hint: DAHDI/5&Custom:DND6910
    127.0.0.1 <- Status: 8
    127.0.0.1 <- Server: 0

    10.30.20.137 => { 'btn': '1@GENERAL', 'cmd': 'settimer', 'data': '0@UP', 'slot': '1' }

    10.30.20.137 => { 'btn': '1@GENERAL', 'cmd': 'state', 'data': 'RINGING', 'slot': '1' }

    10.30.20.137 => { 'btn': '1@GENERAL', 'cmd': 'clidnum', 'data': 'NjkxMA==', 'slot': '1' }

    10.30.20.137 => { 'btn': '1@GENERAL', 'cmd': 'clidname', 'data': 'RnJlZSBGb3IgQWxsIEluY29ycG9yYXRlZA==', 'slot': '1' }

    10.30.20.137 => { 'btn': '1@GENERAL', 'cmd': 'notifyringing', 'data': '1', 'slot': '' }

    10.30.20.137 => { 'btn': '1@GENERAL', 'cmd': 'settext', 'data': '6910 Free For All Incorporated', 'slot': '1' }

    ___________________________________________________________________________
    heres what I get when I try to pick up 6910 (phone ringing) on channel 5 but was trying to dial 6920 on channel 6:

    10.30.20.137 <= <msg data="1|pickup|1|c51a32af28cfb420ead3701485443410" />

    127.0.0.1 -> Action: Originate
    127.0.0.1 -> Channel: DAHDI/5
    127.0.0.1 -> Application: Pickup
    127.0.0.1 -> Data: 6910@from-internal
    127.0.0.1 -> Async: True

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Originate successfully queued
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Originate successfully queued
    Server: 0

    127.0.0.1 <- Event: OriginateResponse
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Response: Failure
    127.0.0.1 <- Channel: DAHDI/5
    127.0.0.1 <- Context:
    127.0.0.1 <- Exten:
    127.0.0.1 <- Reason: 5
    127.0.0.1 <- Uniqueid: <null>
    127.0.0.1 <- CallerIDNum: <unknown>
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Server: 0

    never picked up the call...
  • Are you sure you have the "from-internal" context ? I think I remember that you were using the "default" context in your asterisk setup. Please verify that the from-internal context exists and has the 6910 or 6920 extensions in it (That is an Asterisk configuration, not a fop2 configuration). If you are NOT using the from-internal context but use the default context, then change the buttons.cfg to use context=default instead of from-internal

    Best regards,
  • nope asterisk (dahdi) is defined as from-internal, same as FreePBX settings, same as you set last week...
    asternic : so.. everything works
    asternic : DAHDI/5] type=extension extension=6910 label=POTS 1 mailbox=6910@default context=from-internal extenvoicemail=*6910@device

    really wish I knew what happened?

    asterisk002*CLI> dahdi show channels
    Chan Extension Context Language MOH Interpret Blocked State
    pseudo from-internal default In Service
    1 from-zaptel default In Service
    2 from-zaptel default In Service
    3 from-zaptel default In Service
    4 from-zaptel default In Service
    5 from-internal default In Service
    6 from-internal default In Service
  • I am extracting this from different posts, but I will try to explain, FOP2 is sending this command to asterisk:
    127.0.0.1 -> Action: Originate
    127.0.0.1 -> Channel: DAHDI/5
    127.0.0.1 -> Exten: 6920
    127.0.0.1 -> Context: from-internal
    127.0.0.1 -> Priority: 1
    127.0.0.1 -> CallerID: <6910>
    127.0.0.1 -> Async: True
    

    So it is originating a call, DAHDI/5 will ring and when you pickup it will dial 6920 at context from-internal. Everything is correct according to your setup, DAHDI/5 is extension 6910 and it will dial 6920.

    The response from Asterisk is this:
    127.0.0.1 <- Event: OriginateResponse
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Response: Failure
    127.0.0.1 <- Channel: DAHDI/5
    127.0.0.1 <- Context: from-internal
    127.0.0.1 <- Exten: 6920
    127.0.0.1 <- Reason: 1
    127.0.0.1 <- Uniqueid: <null>
    127.0.0.1 <- CallerIDNum: 6910
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Server: 0
    

    So, asterisk is failing doing the origination. Check your asterisk logs for hints on the problem. I ask again, are you sure you have extension 6920 on the "from-internal" context ? Have you checked ? A "dahdi show channels" won't list the dialplan configuration for outbound (you are performing an outbound call). Try a "dialplan show" or something like that at the asterisk cli.

    Best regards,
  • Thanks once again, ran dialplan show, you were correct once again it shows :



    [ Context 'default' created by 'pbx_config' ]
    '6910' => hint: DAHDI/5 [pbx_config]
    1. Macro(stdexten,6910,${HINT}) [pbx_config]
    '6920' => hint: DAHDI/6 [pbx_config]
    1. Macro(stdexten,6920,${HINT}) [pbx_config]
    's' => 1. Playback(vm-goodbye) [pbx_config]
    2. Macro(hangupcall) [pbx_config]
    Include => 'ext-local' [pbx_config]

    so I will try context=default and let you know if still having problems.
  • Yes I have changed the context but still acting the same, when I try to call from extension to extension with fop2 asterisk log reports:

    [Dec 28 17:26:19] NOTICE[4157] channel.c: Unable to request channel DAHDI/5
    [Dec 28 17:26:20] NOTICE[4159] channel.c: Unable to request channel DAHDI/5
    [Dec 28 17:26:20] NOTICE[4160] channel.c: Unable to request channel DAHDI/5
    [Dec 28 17:26:21] NOTICE[4161] channel.c: Unable to request channel DAHDI/5
    [Dec 28 17:26:21] NOTICE[4162] channel.c: Unable to request channel DAHDI/5
    [Dec 28 17:26:22] NOTICE[4163] channel.c: Unable to request channel DAHDI/5
    [Dec 28 17:26:29] VERBOSE[4155] logger.c: -- Hungup 'DAHDI/5-1'


    but I can make the call by picking up the phone and dialing the extension.
  • Where did you chnage the context? in the buttons.cfg file? This is beyond fop2.. check your asterisk setup as for why it cannot request the dahdi channel. Maybe the phone was busy when you tried? Best regards,
  • Got it... I thought my fop2 configuration was good this time, will double check my asterisk configuration files... thanks once again.
  • Don't know why but have found when trying to make outbound calls (like the 800 dell number) I get the congested message from asterisks, we have 4 lines and I was the only one trying to make a call.. it probably has something to do with this.
  • Ok fixed the problem with the cannot request the dahdi channel. Asterisk Log only reports :

    [Dec 28 19:26:03] VERBOSE[8361] logger.c: -- Hungup 'DAHDI/6-1'
    after I have trial to dial extension 6910 to 6920 again.

    also fixed the problem I was having with the congestion message.

    here is the new debug output from fop2 this time trying from 6920 to call 6910 sorry couldn't get the whole thing (I'm at an ssh console):
    (never mind that)

    It worked !! I dialed 6910 and 6920 rang, picked it up manually and phone 6910 rang.

    lets see if i can call from outside line and use fop2 to pickup call debug output will follow if doesn't work:
    ** MANAGER CONNECTION Connecting to 127.0.0.1:5038 (Server 0)
    ** MANAGER CONNECTION Connected to 127.0.0.1:5038 (Server 0)

    127.0.0.1 -> Action: Challenge
    127.0.0.1 -> AuthType: MD5

    127.0.0.1 <- Asterisk Call Manager/1.1
    127.0.0.1 <- Response: Success
    127.0.0.1 <- Challenge: 674335718
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: Login
    127.0.0.1 -> Username: admin
    127.0.0.1 -> AuthType: MD5
    127.0.0.1 -> Key: 4b74bbb14a0ff4ce7a901cad84a165e2

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Authentication accepted
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxStatus
    127.0.0.1 -> Mailbox: 6920@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Status
    127.0.0.1 <- Mailbox: 6920@default
    127.0.0.1 <- Waiting: 1
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxCount
    127.0.0.1 -> Mailbox: 6920@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Message Count
    127.0.0.1 <- Mailbox: 6920@default
    127.0.0.1 <- NewMessages: 2
    127.0.0.1 <- OldMessages: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxStatus
    127.0.0.1 -> Mailbox: 6910@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Status
    127.0.0.1 <- Mailbox: 6910@default
    127.0.0.1 <- Waiting: 1
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: MailboxCount
    127.0.0.1 -> Mailbox: 6910@default

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Mailbox Message Count
    127.0.0.1 <- Mailbox: 6910@default
    127.0.0.1 <- NewMessages: 2
    127.0.0.1 <- OldMessages: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 -> Action: Status

    127.0.0.1 -> Action: QueueStatus

    127.0.0.1 -> Action: SipPeers

    127.0.0.1 -> Action: Agents

    127.0.0.1 -> Action: Command
    127.0.0.1 -> Command: database show fop2state
    127.0.0.1 -> ActionID: fop2state

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Channel status will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Channel status will follow
    Server: 0

    127.0.0.1 <- Event: StatusComplete
    127.0.0.1 <- Items: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Message: Queue status will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Message: Queue status will follow
    Server: 0

    127.0.0.1 <- Event: QueueParams
    127.0.0.1 <- Queue: default
    127.0.0.1 <- Max: 0
    127.0.0.1 <- Strategy: ringall
    127.0.0.1 <- Calls: 0
    127.0.0.1 <- Holdtime: 0
    127.0.0.1 <- Completed: 0
    127.0.0.1 <- Abandoned: 0
    127.0.0.1 <- ServiceLevel: 0
    127.0.0.1 <- ServicelevelPerf: 0.0
    127.0.0.1 <- Weight: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: QueueStatusComplete
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Success
    127.0.0.1 <- Eventlist: start
    127.0.0.1 <- Message: Peer status list will follow
    127.0.0.1 <- Server: 0

    Response: Success
    Eventlist: start
    Message: Peer status list will follow
    Server: 0

    127.0.0.1 <- Event: PeerlistComplete
    127.0.0.1 <- EventList: Complete
    127.0.0.1 <- ListItems: 0
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Response: Error
    127.0.0.1 <- Message: Invalid/unknown command: Agents. Use Action: ListCommands to show available commands.
    127.0.0.1 <- Server: 0

    Response: Error
    Message: Invalid/unknown command: Agents. Use Action: ListCommands to show available commands.
    Server: 0

    127.0.0.1 <- Response: Follows
    127.0.0.1 <- Privilege: Command
    127.0.0.1 <- ActionID: fop2state
    127.0.0.1 <- 0 results found.
    127.0.0.1 <- --END COMMAND--
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-vm
    127.0.0.1 <- Extension: vmx
    127.0.0.1 <- Priority: 8
    127.0.0.1 <- Application: GotoIf
    127.0.0.1 <- AppData: 1?notdirect
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 2
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-vm
    127.0.0.1 <- Extension: vmx
    127.0.0.1 <- Priority: 10
    127.0.0.1 <- Application: NoOp
    127.0.0.1 <- AppData: Checking if ext 6920 is enabled:
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 2
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-vm
    127.0.0.1 <- Extension: vmx
    127.0.0.1 <- Priority: 11
    127.0.0.1 <- Application: GotoIf
    127.0.0.1 <- AppData: 1?s-NOANSWER,1
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 2
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-vm
    127.0.0.1 <- Extension: s-NOANSWER
    127.0.0.1 <- Priority: 1
    127.0.0.1 <- Application: Macro
    127.0.0.1 <- AppData: get-vmcontext,6920
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 3
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_EXTEN
    127.0.0.1 <- Value: s-NOANSWER
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_CONTEXT
    127.0.0.1 <- Value: macro-vm
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_PRIORITY
    127.0.0.1 <- Value: 1
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: ARG1
    127.0.0.1 <- Value: 6920
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 3
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: DB_RESULT
    127.0.0.1 <- Value: default
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-get-vmcontext
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 1
    127.0.0.1 <- Application: Set
    127.0.0.1 <- AppData: VMCONTEXT=default
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: VMCONTEXT
    127.0.0.1 <- Value: default
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 3
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-get-vmcontext
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 2
    127.0.0.1 <- Application: GotoIf
    127.0.0.1 <- AppData: 0?200:300
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 3
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-get-vmcontext
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 300
    127.0.0.1 <- Application: NoOp
    127.0.0.1 <- AppData:
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 2
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: ARG1
    127.0.0.1 <- Value: 6920
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_EXTEN
    127.0.0.1 <- Value: s
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_CONTEXT
    127.0.0.1 <- Value: macro-exten-vm
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_PRIORITY
    127.0.0.1 <- Value: 18
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 2
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-vm
    127.0.0.1 <- Extension: s-NOANSWER
    127.0.0.1 <- Priority: 2
    127.0.0.1 <- Application: VoiceMail
    127.0.0.1 <- AppData: 6920@default,u
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newstate
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- ChannelState: 6
    127.0.0.1 <- ChannelStateDesc: Up
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName:
    127.0.0.1 <- Uniqueid: 1262047966.32
    127.0.0.1 <- Server: 0

    _______________________________________________

    again sorry I may have or mat not have been able to give you all of the debug info from the ssh session but the call was not able to be picked up from within fop2. The call was coming in on fxo DAHDI/2-1 the DID of extension 6920 is the number for fxo DAHDI/2-1, is this correct?
  • There is an important thing to note: call pickup works for picking up a RINGING extension other than your own. So, you are sitting on extension 1000 and want to pickup the ringing 1001 phone that sits on the other desk.

    In that case, you select the button in fop2 that corresponds to 1001 (not your phone but the other one that is also showing a ringing phone on line 1 or line 2), and then click the pickup action button.

    When you do that, and if pickup actually works, then your phone (1000) will start ringing and 1001 will stop ringing. Then you pickup 1000 and will be talking to the person that rang 1001 in the 1st place.

    By the logs I see that you tried to pickup yourself. (Like you were logged as 6910, then selected your own button and clicked the pickup action icon). That does not make any sense.

    If you want to ANSWER a call, you have to lift the handset. FOP2 cannot control a phone, it can control Asterisk. That is why there is no ANSWER button, not even a HOLD button, because those actions are tied to the phone and not the PBX.

    And about call pickup, in fop 2.0 it works if the ringing calls was originated on the same context as the pickup extension. That does not happen very often. In fop2 beta another technique is used that picks up the calls on different contexts too.

    Another new feature in the beta lets you specify a different channel for origination than the channel itself, that means that you can use Local/XXX type channels to set AlertInfo before originating the call so the phone is set to auto-answer, for example...

    Best regards,
  • Thanks for the input, much appreciated.

    Will try to pickup a call from another extension other then myself. :lol:

    That time had tried it and when I hit pickup it picked up 6920 not 6910 the phone that was ringing.


    127.0.0.1 <- CommandId: 547947727
    127.0.0.1 <- Command: DATABASE DEL "CALLTRACE" "6920"
    127.0.0.1 <- ResultCode: 200
    127.0.0.1 <- Result: Success
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: Start
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 2082873373
    127.0.0.1 <- Command: VERBOSE "DbDel CALLTRACE/6920 - Caller ID is not defined" 3
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: End
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 2082873373
    127.0.0.1 <- Command: VERBOSE "DbDel CALLTRACE/6920 - Caller ID is not defined" 3
    127.0.0.1 <- ResultCode: 200
    127.0.0.1 <- Result: Success
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: Start
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 700698019
    127.0.0.1 <- Command: SET VARIABLE FILTERED_DIAL "6920"
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: FILTERED_DIAL
    127.0.0.1 <- Value: 6920
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: End
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 700698019
    127.0.0.1 <- Command: SET VARIABLE FILTERED_DIAL "6920"
    127.0.0.1 <- ResultCode: 200
    127.0.0.1 <- Result: Success
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: Start
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 582048809
    127.0.0.1 <- Command: VERBOSE "Filtered ARG3: 6920" 3
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: End
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 582048809
    127.0.0.1 <- Command: VERBOSE "Filtered ARG3: 6920" 3
    127.0.0.1 <- ResultCode: 200
    127.0.0.1 <- Result: Success
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: Start
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 564109462
    127.0.0.1 <- Command: SET VARIABLE ds "DAHDI/6,15,tr"
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: ds
    127.0.0.1 <- Value: DAHDI/6,15,tr
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: End
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 564109462
    127.0.0.1 <- Command: SET VARIABLE ds "DAHDI/6,15,tr"
    127.0.0.1 <- ResultCode: 200
    127.0.0.1 <- Result: Success
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: Start
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 432424495
    127.0.0.1 <- Command: SET PRIORITY normdial
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: AGIExec
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: End
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- CommandId: 432424495
    127.0.0.1 <- Command: SET PRIORITY normdial
    127.0.0.1 <- ResultCode: 200
    127.0.0.1 <- Result: Success
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: AGISTATUS
    127.0.0.1 <- Value: SUCCESS
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 2
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-dial
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 7
    127.0.0.1 <- Application: Dial
    127.0.0.1 <- AppData: DAHDI/6,15,tr
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: DIALSTATUS
    127.0.0.1 <- Value:
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: DIALEDPEERNUMBER
    127.0.0.1 <- Value:
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: DIALEDPEERNAME
    127.0.0.1 <- Value:
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: ANSWEREDTIME
    127.0.0.1 <- Value:
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: DIALEDTIME
    127.0.0.1 <- Value:
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newchannel
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/6-1
    127.0.0.1 <- ChannelState: 1
    127.0.0.1 <- ChannelStateDesc: Rsrvd
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- AccountCode:
    127.0.0.1 <- Uniqueid: 1262050686.7
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/6-1
    127.0.0.1 <- Variable: TRANSFERCAPABILITY
    127.0.0.1 <- Value: SPEECH
    127.0.0.1 <- Uniqueid: 1262050686.7
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/6-1
    127.0.0.1 <- Variable: DIALEDPEERNUMBER
    127.0.0.1 <- Value: 6
    127.0.0.1 <- Uniqueid: 1262050686.7
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newstate
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/6-1
    127.0.0.1 <- ChannelState: 5
    127.0.0.1 <- ChannelStateDesc: Ringing
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName:
    127.0.0.1 <- Uniqueid: 1262050686.7
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Dial
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- SubEvent: Begin
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Destination: DAHDI/6-1
    127.0.0.1 <- CallerIDNum: <unknown>
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- UniqueID: 1262050681.6
    127.0.0.1 <- DestUniqueID: 1262050686.7
    127.0.0.1 <- Dialstring: 6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: NewCallerid
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/6-1
    127.0.0.1 <- CallerIDNum: 6920
    127.0.0.1 <- CallerIDName:
    127.0.0.1 <- Uniqueid: 1262050686.7
    127.0.0.1 <- CID-CallingPres: 0 (Presentation Allowed, Not Screened)
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6920
    127.0.0.1 <- Context: default
    127.0.0.1 <- Hint: DAHDI/6
    127.0.0.1 <- Status: 8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6920
    127.0.0.1 <- Context: ext-local
    127.0.0.1 <- Hint: DAHDI/6&Custom:DND6920
    127.0.0.1 <- Status: 8
    127.0.0.1 <- Server: 0

    __________________________________________

    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-get-vmcontext
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 300
    127.0.0.1 <- Application: NoOp
    127.0.0.1 <- AppData:
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 2
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: ARG1
    127.0.0.1 <- Value: 6920
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_EXTEN
    127.0.0.1 <- Value: s
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_CONTEXT
    127.0.0.1 <- Value: macro-exten-vm
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_PRIORITY
    127.0.0.1 <- Value: 18
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 2
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Context: macro-vm
    127.0.0.1 <- Extension: s-NOANSWER
    127.0.0.1 <- Priority: 2
    127.0.0.1 <- Application: VoiceMail
    127.0.0.1 <- AppData: 6920@default,u
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newstate
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- ChannelState: 6
    127.0.0.1 <- ChannelStateDesc: Up
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName:
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newchannel
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- ChannelState: 1
    127.0.0.1 <- ChannelStateDesc: Rsrvd
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- AccountCode:
    127.0.0.1 <- Uniqueid: 1262050703.8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Variable: TRANSFERCAPABILITY
    127.0.0.1 <- Value: SPEECH
    127.0.0.1 <- Uniqueid: 1262050703.8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: NewAccountCode
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Uniqueid: 1262050703.8
    127.0.0.1 <- AccountCode:
    127.0.0.1 <- OldAccountCode:
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: NewCallerid
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1262050703.8
    127.0.0.1 <- CID-CallingPres: 0 (Presentation Allowed, Not Screened)
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newstate
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- ChannelState: 5
    127.0.0.1 <- ChannelStateDesc: Ringing
    127.0.0.1 <- CallerIDNum:
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1262050703.8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: default
    127.0.0.1 <- Hint: DAHDI/5
    127.0.0.1 <- Status: 8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: ext-local
    127.0.0.1 <- Hint: DAHDI/5&Custom:DND6910
    127.0.0.1 <- Status: 8
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Hangup
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Uniqueid: 1262050703.8
    127.0.0.1 <- CallerIDNum: <unknown>
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Cause: 19
    127.0.0.1 <- Cause-txt: User alerting, no answer
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: OriginateResponse
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Response: Failure
    127.0.0.1 <- Channel: DAHDI/5
    127.0.0.1 <- Context:
    127.0.0.1 <- Exten:
    127.0.0.1 <- Reason: 1
    127.0.0.1 <- Uniqueid: <null>
    127.0.0.1 <- CallerIDNum: <unknown>
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: default
    127.0.0.1 <- Hint: DAHDI/5
    127.0.0.1 <- Status: 4
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6910
    127.0.0.1 <- Context: ext-local
    127.0.0.1 <- Hint: DAHDI/5&Custom:DND6910
    127.0.0.1 <- Status: 4
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: VMSTATUS
    127.0.0.1 <- Value: FAILED
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 1
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: ARG1
    127.0.0.1 <- Value: 6920
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: ARG2
    127.0.0.1 <- Value: 6920
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_EXTEN
    127.0.0.1 <- Value: 6920
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_CONTEXT
    127.0.0.1 <- Value: from-did-direct
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_PRIORITY
    127.0.0.1 <- Value: 1
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: VarSet
    127.0.0.1 <- Privilege: dialplan,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Variable: MACRO_DEPTH
    127.0.0.1 <- Value: 0
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Hangup
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/2-1
    127.0.0.1 <- Uniqueid: 1262050681.6
    127.0.0.1 <- CallerIDNum: <unknown>
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Cause: 0
    127.0.0.1 <- Cause-txt: Unknown
    127.0.0.1 <- Server: 0
  • Ok, please do not post more debug information, as it is long, unreadable and always incomplete. There is nothing in the logs that let me guess what you did and what happened.

    When you hit pickup, your phone will ring and you will be connected to the party that was ringing the other extension. Not sure what you meant with "picking 6920 and not the phone that was ringing". I am not sure what phone was ringing, what extension your were logged at, what extension was selected and what button did you press on fop2. And the logs are not going to show that either.

    I believe this is not a configuration issue now, but more of a usage issue. Perhaps you need to start a new thread on the Usage forum instead.

    And I believe I already talked about call pickup and fop2 releases, the 2.0 release only works for calls on the same context, for calls from different context you have to use the beta. And if there are problems with call pickup regarding this they will show in the asterisk log, not in fop2 logs. Check the asterisk full log when you try a pickup, and try to spot for errors there...

    Best regards,
  • Yeah sorry about that...

    Anyways what I was trying to say was that I logged into fop2 under the extension 6910. Called from an outside line to extension 6920. Tried to pickup 6920 it dialed 6910 instead. Anyways will check asterisk log. I don't see how my contexts would get mis-configured since I did not change any fop2 files since you had last got it running for me.

    If problem consists I will do as you suggested and start a new post from the Usage forums, thanks once again.

  • Anyways what I was trying to say was that I logged into fop2 under the extension 6910. Called from an outside line to extension 6920. Tried to pickup 6920 it dialed 6910 instead.

    So, you saw 6920 ringing when logged as 6910, so you clicked on 6920 and 6910 rang? That is what it is supposed to happen, 6910 will start ringing and 6920 will stop ringing, as the call was actually "redirected" from 6920 to 6910.. if you pickup 6910 you will be connected to the one that dialed from the outside in the 1st place.

    Maybe you might want to explain what do you expect to happen, or what is your intention, with your own words...?
  • , you saw 6920 ringing when logged as 6910, so you clicked on 6920 and 6910 rang? That is what it is supposed to happen, 6910 will start ringing and 6920 will stop ringing, as the call was actually "redirected" from 6920 to 6910.. if you pickup 6910 you will be connected to the one that dialed from the outside in the 1st place.

    Maybe you might want to explain what do you expect to happen, or what is your intention, with your own words...?

    No, when I highlighted 6920 and clicked pickup 6910 started ringing as well as 6920, it never got "redirected"... I know how it was working, and its not functioning like it was. The logs show me nothing... asterisks log only shows when I hung up 6910 never showed the extension ringing or anything after I clicked the pickup button. So I have no idea why when extension 6920 rings and I go to pickup the call instead it rings the extension that I am logged into without "redirecting" the call. Also I have redirected the output from the debug to a .log (plain text) file. Will not post here it is very long, but shows no failures?

    But nothing seems to be working correctly, before I could highlight an extension and dial it and that extension would ring, or if an extension were ringing I could highlight it and click pickup and answer the call and transfer it to voice mail... none of these are working anymore.

    You said when I highlight an extension and click dial that my extension should ring and forward me to the extension that I am trying to dial after I pick it up. If this is how its suppose to work then that does work correctly. But am still left to why the call pickup isn't redirecting the call and just dialing my extension while leaving the other extension ringing. Wouldn't it ring my extension and stop ringing the extension that I am trying to pickup, instead of ringing both extensions?
  • The original ringing extension was ringing on the first place, is not the pickup button that makes that extension to ring as it was ringing before, right? Maybe pickup stopped working for you, perhaps for the reason I mention (about the call pickup application change in behaviour where you can only pickup calls from the same dialplan context).

    If you use fop2 beta, that nuance is solved by using the PICKUPMARK variable to match the ringing extension disregarding the context.

    Anyways, if that is the problem, you will see in the Asterisk full log a line entry saying that it cannot find any mathing channel on contexto FOO or whatever. You have to look at the asterisk logs now, not at fop2 logs.

    I am sorry that now your config is broken again.. I helped you for free the other day, left you with a full working seteup. And if fop2 config is the same, it should still work. But it was not the same as it seems you changed the context to from-internal, etc. And this endless list of logs and post is nothing but confusing really.

    Please try to look at the asterisk logs, and try to find the corresponding log lines that will point you in the right direction to fix the problems you are having. You might want to use the fop2_server from the beta that is available for your platform and try the pickup again, but before doing blind moves, you might want to check the logs and find the corresponding errors or warnings there... maybe it is not that problem but another asterisk misocnfiguration.

    Best regards,
  • thanks alot for your help. You have left me with the context = from-internal and it worked (I know this because I backed up your files immediately after you had gotten it working for me, those are the files I am still using). Maybe an asterisk misconfiguration like you have stated that changed its context from within asterisk not fop resulting in a "misuse" of context. I will try the beta version fop2_server
    yesterday I had tried to install the beta version but had gotten some errors:

    service fop2 start
    Starting Flash Operator Panel 2: Can't load '/tmp/par-root/cache-f7eb787270f21cccc1fc58fb4e333050fc915c51/ab48145e.so' for module Filter::Crypto::Decrypt: libcrypto.so.6: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
    at /usr/lib/perl5/site_perl/5.8.8/PAR/Heavy.pm line 109
    BEGIN failed--compilation aborted at /tmp/par-root/cache-f7eb787270f21cccc1fc58fb4e333050fc915c51/inc/lib/Filter/Crypto/Decrypt.pm line 37.
    Compilation failed in require at script/fop2_server.pl line 1.
    BEGIN failed--compilation aborted at script/fop2_server.pl line 1.
    [FAILED]

    any ideas?
    can I just copy over the fop2_server file?
  • well still get that error trying to start the beta even after just coping that file.

    Check the asterisk logs nothing shows up with errors about context or for that matter any errors at all.

    I am thinking of keeping your fop2 files (the backups I have) and killing the server and starting over.

    Maybe then I can get this fixed if it is an asterisk configuration issue.
  • The beta your are trying its porbably not for the same linux distribution/platform (32 or 64 bits, centos or debian, etc). What did you download? What distribution were you using?
  • I am running AsteriskNOW, centos 64 bit maybe because I am running 64-bit had a problem with the free fax from diguim because I am running 64 bit as well.

    I have downloaded this one...
    http://www.fop2.com/downloads/fop2.tgz
  • For centos 64 bits the correct download is this one:

    http://www.fop2.com/downloads/fop2-64.tgz

    Best regards,
  • Thanks for the new link! Will try it out.
Sign In or Register to comment.