sorry about that (me not following directions)
for the extensions I have up here is my button.cfg:
[SIP/6910]
type=extension
extension=6910
label=POTS 1
mailbox=[email protected]
context=from-internal
extenvoicemail=*6910@device
[SIP/6920]
type=extension
extension=6920
label=POTS 2
mailbox=[email protected]
context=from-internal
extenvoicemail=*6920@device
[SIP/6930]
type=extension
extension=6930
label=POTS 3
mailbox=6930@device
context=from-internal
extenvoicemail=*6930@device
[SIP/6940]
type=extension
extension=6940
label=POTS 4
mailbox=6940@device
context=from-internal
extenvoicemail=*6940@device
[DAHDI/1]
type=trunk
label=DAHDI
channel=DAHDI/3
channel=DAHDI/4
_________________________________________________________________________________________________
ok start the fop2 in debug mode and trial to dial another extension:
/usr/local/fop2/fop2_server -X 15
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="4444" />
</cross-domain-policy>
- * CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0xec6d730)
- * 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': 'UaOOw2cpN8ysPsC6cZn9nR7z4gL', 'slot': '' }
10.30.20.137 => { 'btn': '0@GENERAL', 'cmd': 'version', 'data': '2.00', 'slot': '' }
10.30.20.137 <= <msg data="1|auth|6910|7049c25fd66678daffafc348c3a2c654" />
10.30.20.137 => { 'btn': '0@GENERAL', 'cmd': 'permit', 'data': 'YWxs', 'slot': '' }
10.30.20.137 => { 'btn': '16@GENERAL', 'cmd': 'zbuttons', 'data': 'ldVBb5swFAfwez8FuU7aGsD2xgEpNEUNHSFRE7Xd0SUvrTcwEThbifrhB2Gd0vrJcm/wQPaP/7OxO7mKs/gmSl8e9kpV8mUU36/jbJUsstAfu+Ph9naRTON5lKThp7442cCW7ws16ksXi/vwTTGNLuI0jKTkzt0TFLsC2v7FbDqLsqx7skqW58eh1z+WcQjPCmQjKjmaLrJ1N1u4ravys5AKasmLM88I9DCghwE9DVjAs2icGW+hQXyepc83+AgWIMECJHqA30X5AHXROncgNiWXUkMS6xCJEeljSB9D+u+RqZCbhrfOVSUPvIADYvQtjdRgpFiQFAuS6kEuuapFLrgzzzumeCxAU1LrJJlRiSxHii1Hqi/Ha9hua2idFf/TQo0IbRfkV4OQjce6sC92mN8ih//A09rgu4EcdqqbVjRK0x3HtdJ9M+qQLjOsy0zv8nXVwO7JmQu1P3B9QzPrDgdGIcWEFMmPvsvvtuquSy4Kh+c5NJiQWgq7bzcRGUZkCJF9nMhsia6JGGB9DlyN+LMcujl57FVf8qp83dKL9cpxdV9g22TXdKywANnHffFjPg/x2W5i13SssAD5Y/dFrcUntROYj8Bs/9Ku6ShhAcFgBIERDEYQGLGF6efH60CX0ewyOSf/ZjrevZloeO4O86h6L3+d/QU=', 'slot': '' }
10.30.20.137 <= <msg data="1|initState||7049c25fd66678daffafc348c3a2c654" />
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|7049c25fd66678daffafc348c3a2c654" />
127.0.0.1 -> Action: Originate
127.0.0.1 -> Channel: SIP/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: 1260845705.0
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: SIP/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
______________________________________________________________________________________________________
heres what it looks like when on the phone dial another extension:
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: 1260846095.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: 1260846095.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: 1260846095.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: 1260846095.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: 1260846095.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: 1260846095.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|20091214-220142|1260846095.2
127.0.0.1 <- Uniqueid: 1260846095.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: /recordings20091214-220142-1260846095.2.wav||
127.0.0.1 <- Uniqueid: 1260846095.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: 1260846095.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: 1260846095.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: 1260846095.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: 1260846095.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: 1260846102.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: 1260846102.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: 1260846095.2
127.0.0.1 <- DestUniqueID: 1260846102.3
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: 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: 1260846102.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: 1260846095.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: 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: 1260846102.3
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: 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: 1260846095.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: 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: 1260846095.2
127.0.0.1 <- Uniqueid2: 1260846102.3
127.0.0.1 <- CallerID1:
127.0.0.1 <- CallerID2: 6920
127.0.0.1 <- Server: 0
_____________________________________________________________________________________________________
highlight 6910 press record:
10.30.20.137 <= <msg data="11|record|11|152f109c512015a15e78c580917db111" />
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-1260846264
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
_________________________________________________________________________________________________
highlight 6920 press record:
10.30.20.137 <= <msg data="11|record|12|152f109c512015a15e78c580917db111" />
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: 6920-1260846321
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
______________________________________________________________________________________________
hope I have posted enough information this time.
All of this was done after I have started fop2 in debug mode.
Thanks in advance,