jmituzas

Member

Last active 13 years ago

  1. 14 years ago
    Mon Dec 28 17:07:50 2009

    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.

  2. Mon Dec 28 16:28:58 2009

    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

  3. Mon Dec 28 16:10:18 2009

    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...

  4. Mon Dec 28 15:50:21 2009

    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.

  5. Mon Dec 28 14:43:56 2009

    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.

  6. Mon Dec 28 14:24:11 2009

    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...

  7. Fri Dec 25 01:03:23 2009
    jmituzas started the conversation 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.

  8. Tue Dec 15 17:11:10 2009

    Great Support once aggain from Nicolás, he has helped me out so much! Got my mis-configured FOP2 box all straighten out.

  9. Tue Dec 15 14:31:56 2009

    ok have done that and manually changed my button.cfg from SIP/6910 to DAHDI/6910 same as extensions 6920, 6930, and 6940 for those are extensions to the POTS lines directly.

    Now when I log in as extension 6910 and try to dial extension 6920 it still fails and I get this:

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

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

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

    10.30.20.137 => { 'btn': '16@GENERAL', 'cmd': 'zbuttons', 'data': 'ldVRb9owEAfw936K8DppK0lsr3mIREqjki4EVFDbPbrhaL0lDkrM1qB++CWwVlCfLPeNHMj343927I6u4yy+jdLXx61SlXwdxA/LOFsksyz0h+7w8Hg3S8bxNErS8EtfHK1gzbeFGvSly9lDeFJMo8s4DSMpuXP/DMWmgLb/YTaeRFnWfbNI5uf7pZc/53EILwpkIyo5GM+yZdctXNdV+VVIBbXkxZlnBHoY0MOAngYs4EU0zoS30CA+z9LnG3wEC5BgARI9wB+ifIS6aJ17EKuSS6khiXWIxIj0MaSPIf2PyFTIVcNb57qSO17ADjH6lkZqMFIsSIoFSfUg51zVIhfcmeYdUzwVoCmpdZLMqES2I8W2I9W34w2s1zW0zoL/baFGhLYb8rtByIZDXdgXO8wfkcM78Lh28N1CDhvVtRWN0nT7da10F0YdMmWGTZnpU76pGtg8O1OhtjuuH2hmPeHAKKSYkCL50Q/53VXd55KLwuF5Dg0mpJbC7r+biAwjMoTIPk9ktkTXRAywOQeuRvxVHqY5eupV3/KqfDvSs+XCcU98V9HkKjnfL20nNF0sLEBOcl/8nNBDhbYH2TVdLSxA3tp9URvzUe2I5qM023e1a7pQWEAwGkFoBKMRlEZsafo9croU+d9r/4S0cg99VL2Vv8/+AQ==', 'slot': '' }

    10.30.20.137 <= <msg data="1|initState||397983a2c91e3c583334454a1fe1d406" />
    10.30.20.137 => { 'btn': '1@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '2@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '3@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '4@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '5@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '6@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '7@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '8@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '9@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '10@GENERAL', 'cmd': 'qualify', 'data': 'notok', 'slot': '0' }

    10.30.20.137 => { 'btn': '15@GENERAL', 'cmd': 'settext', 'data': '', 'slot': '0' }

    10.30.20.137 => { 'btn': '15@GENERAL', 'cmd': 'state', 'data': 'DOWN', 'slot': '0' }

    10.30.20.137 <= <msg data="11|originate|12|397983a2c91e3c583334454a1fe1d406" />

    127.0.0.1 -> Action: Originate
    127.0.0.1 -> Channel: DAHDI/6910
    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:
    127.0.0.1 <- State: Down
    127.0.0.1 <- CallerIDNum: <unknown>
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Uniqueid: 1260904100.1
    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/6910
    127.0.0.1 <- Context: from-internal
    127.0.0.1 <- Exten: 6920
    127.0.0.1 <- Reason: 0
    127.0.0.1 <- Uniqueid: <null>
    127.0.0.1 <- CallerID: 6910
    127.0.0.1 <- CallerIDNum: 6910
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Server: 0
    ______________________________________________________________________________________________
    when I dial the extension from the phone itself I get this (sorry can't copy this in its entire I'm within an ssh session:

    127.0.0.1 <- Application: Set
    127.0.0.1 <- AppData: VMBOX=6920
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-exten-vm
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 4
    127.0.0.1 <- Application: Set
    127.0.0.1 <- AppData: EXTTOCALL=6920
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-exten-vm
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 5
    127.0.0.1 <- Application: Set
    127.0.0.1 <- AppData: CFUEXT=
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-exten-vm
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 6
    127.0.0.1 <- Application: Set
    127.0.0.1 <- AppData: CFBEXT=
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-exten-vm
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 7
    127.0.0.1 <- Application: Set
    127.0.0.1 <- AppData: RT=15
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-exten-vm
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 8
    127.0.0.1 <- Application: Macro
    127.0.0.1 <- AppData: record-enable|6920|IN
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-record-enable
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 1
    127.0.0.1 <- Application: GotoIf
    127.0.0.1 <- AppData: 1?check
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-record-enable
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 4
    127.0.0.1 <- Application: AGI
    127.0.0.1 <- AppData: recordingcheck|20091215-141123|1260904276.2
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-record-enable
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 999
    127.0.0.1 <- Application: MixMonitor
    127.0.0.1 <- AppData: /recordings20091215-141123-1260904276.2.wav||
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-exten-vm
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 9
    127.0.0.1 <- Application: Macro
    127.0.0.1 <- AppData: dial|15|tr|6920
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-dial
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 1
    127.0.0.1 <- Application: GotoIf
    127.0.0.1 <- AppData: 1?dial
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-1
    127.0.0.1 <- Context: macro-dial
    127.0.0.1 <- Extension: s
    127.0.0.1 <- Priority: 3
    127.0.0.1 <- Application: AGI
    127.0.0.1 <- AppData: dialparties.agi
    127.0.0.1 <- Uniqueid: 1260904276.2
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Newexten
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel: DAHDI/5-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: 1260904276.2
    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 <- State: Rsrvd
    127.0.0.1 <- CallerIDNum: <unknown>
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1260904283.3
    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 <- State: Ringing
    127.0.0.1 <- CallerID: <unknown>
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1260904283.3
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Dial
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Source: DAHDI/5-1
    127.0.0.1 <- Destination: DAHDI/6-1
    127.0.0.1 <- CallerID: <unknown>
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- SrcUniqueID: 1260904276.2
    127.0.0.1 <- DestUniqueID: 1260904283.3
    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 <- CallerID: 6920
    127.0.0.1 <- CallerIDName: <Unknown>
    127.0.0.1 <- Uniqueid: 1260904283.3
    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 <- State: Ringing
    127.0.0.1 <- CallerID: <unknown>
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1260904276.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: 6920
    127.0.0.1 <- Context: ext-local
    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: 6010
    127.0.0.1 <- Context: default
    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 <- Status: 8
    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 <- State: Up
    127.0.0.1 <- CallerID: 6920
    127.0.0.1 <- CallerIDName: <unknown>
    127.0.0.1 <- Uniqueid: 1260904283.3
    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 <- State: Up
    127.0.0.1 <- CallerID: <unknown>
    127.0.0.1 <- CallerIDName: Free For All Incorporated
    127.0.0.1 <- Uniqueid: 1260904276.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: 6920
    127.0.0.1 <- Context: ext-local
    127.0.0.1 <- Status: 1
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: ExtensionStatus
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Exten: 6010
    127.0.0.1 <- Context: default
    127.0.0.1 <- Status: 1
    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 <- Status: 1
    127.0.0.1 <- Server: 0

    127.0.0.1 <- Event: Link
    127.0.0.1 <- Privilege: call,all
    127.0.0.1 <- Channel1: DAHDI/5-1
    127.0.0.1 <- Channel2: DAHDI/6-1
    127.0.0.1 <- Uniqueid1: 1260904276.2
    127.0.0.1 <- Uniqueid2: 1260904283.3
    127.0.0.1 <- CallerID1:
    127.0.0.1 <- CallerID2: 6920
    127.0.0.1 <- Server: 0
    ________________________________________________________________________________________________

    now when I press record I get this:
    10.30.20.137 <= <msg data="11|record|11|577da20107f5723e91f7cdd1fffc5c0c" />

    127.0.0.1 -> Action: Monitor
    127.0.0.1 -> Channel:
    127.0.0.1 -> ActionID: monitor-Monitor-
    127.0.0.1 -> Mix: 1
    127.0.0.1 -> File: 6910-1260904442
    127.0.0.1 -> Async: True

    127.0.0.1 <- Response: Error
    127.0.0.1 <- ActionID: monitor-Monitor-
    127.0.0.1 <- Message: No channel specified
    127.0.0.1 <- Server: 0
    _____________________________________________________________________________________________

    This is getting to be very frustrating, many hours put into this and nothing works.
    I am wondering where did I mess this up so bad. Is it from FOP2, my FreePBX setup or is it my Asterisk configuration files. I really wish that AsteriskNOW upon adding all these apps would have better documentation. I am starting to think that your app is fine because I have also set and wrote to the FreePBX forums as well regarding recording all incoming and outgoing calls. FreePBX doesn't record either and is setup to always record all calls for all extensions. Which leaves me to believe that it may be an Asterisk permission problem, but I have stated within the manager.conf file to grant permissions to these extensions as well as the manager, so I am at a complete loss.

    I know better then to post the problems of other apps in this forum, and I thank you for your many responses since I get no feedback when I post to the FreePBX, or the AsteriskNOW forums regarding this issue.

    Thanks again for your prompt replies!
    Maybe you could give me some more options to try and troubleshoot
    oh by the way, how do I exit debug mode, have tried exit, quit, -q, /q ? have been closing my session then logging back in to reboot. There has to be a better way.

  10. Mon Dec 14 22:10:50 2009

    just looking qat it don't know where it got channel SIP/6910 from... its a dahdi channel specified in FreePBX for the extensions.. this is probably the problem. Where can I specify this as a dahdi channel within fop2?

View more