Updated Asterisk and FreePBX broke buttons
-
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: MD5127.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: 0127.0.0.1 -> Action: Login
127.0.0.1 -> Username: admin
127.0.0.1 -> AuthType: MD5
127.0.0.1 -> Key: 2c7feaf4d64027f448dca2dbb633994e127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Authentication accepted
127.0.0.1 <- Server: 0127.0.0.1 -> Action: MailboxStatus
127.0.0.1 -> Mailbox: 6920@default127.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: 0127.0.0.1 -> Action: MailboxCount
127.0.0.1 -> Mailbox: 6920@default127.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: 0127.0.0.1 -> Action: MailboxStatus
127.0.0.1 -> Mailbox: 6910@default127.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: 0127.0.0.1 -> Action: MailboxCount
127.0.0.1 -> Mailbox: 6910@default127.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: 0127.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: fop2state127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Channel status will follow
127.0.0.1 <- Server: 0Response: Success
Message: Channel status will follow
Server: 0127.0.0.1 <- Event: StatusComplete
127.0.0.1 <- Items: 0
127.0.0.1 <- Server: 0127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Queue status will follow
127.0.0.1 <- Server: 0Response: Success
Message: Queue status will follow
Server: 0127.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: 0127.0.0.1 <- Event: QueueStatusComplete
127.0.0.1 <- Server: 0127.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: 0Response: Success
Eventlist: start
Message: Peer status list will follow
Server: 0127.0.0.1 <- Event: PeerlistComplete
127.0.0.1 <- EventList: Complete
127.0.0.1 <- ListItems: 0
127.0.0.1 <- Server: 0127.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: 0Response: Error
Message: Invalid/unknown command: Agents. Use Action: ListCommands to show available commands.
Server: 0127.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 connected10.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: True127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Originate successfully queued
127.0.0.1 <- Server: 0Response: Success
Message: Originate successfully queued
Server: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 010.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: True127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Originate successfully queued
127.0.0.1 <- Server: 0Response: Success
Message: Originate successfully queued
Server: 0127.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: 0never 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@devicereally 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: TrueSo 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: 0So, 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.
-
-
-
-
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: MD5127.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: 0127.0.0.1 -> Action: Login
127.0.0.1 -> Username: admin
127.0.0.1 -> AuthType: MD5
127.0.0.1 -> Key: 4b74bbb14a0ff4ce7a901cad84a165e2127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Authentication accepted
127.0.0.1 <- Server: 0127.0.0.1 -> Action: MailboxStatus
127.0.0.1 -> Mailbox: 6920@default127.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: 0127.0.0.1 -> Action: MailboxCount
127.0.0.1 -> Mailbox: 6920@default127.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: 0127.0.0.1 -> Action: MailboxStatus
127.0.0.1 -> Mailbox: 6910@default127.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: 0127.0.0.1 -> Action: MailboxCount
127.0.0.1 -> Mailbox: 6910@default127.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: 0127.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: fop2state127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Channel status will follow
127.0.0.1 <- Server: 0Response: Success
Message: Channel status will follow
Server: 0127.0.0.1 <- Event: StatusComplete
127.0.0.1 <- Items: 0
127.0.0.1 <- Server: 0127.0.0.1 <- Response: Success
127.0.0.1 <- Message: Queue status will follow
127.0.0.1 <- Server: 0Response: Success
Message: Queue status will follow
Server: 0127.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: 0127.0.0.1 <- Event: QueueStatusComplete
127.0.0.1 <- Server: 0127.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: 0Response: Success
Eventlist: start
Message: Peer status list will follow
Server: 0127.0.0.1 <- Event: PeerlistComplete
127.0.0.1 <- EventList: Complete
127.0.0.1 <- ListItems: 0
127.0.0.1 <- Server: 0127.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: 0Response: Error
Message: Invalid/unknown command: Agents. Use Action: ListCommands to show available commands.
Server: 0127.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: 0127.0.0.1 <- Uniqueid: 1262047966.32
127.0.0.1 <- Server: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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: 0127.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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login