[gelöst] Nach bristuff-Update: Manager sendet keine Extensionstate-Events mehr!

thomasd

Neuer User
Mitglied seit
14 Okt 2004
Beiträge
22
Punkte für Reaktionen
0
Punkte
1
Hallo,

nach dem Update von bristuff-0.3.0-PRE-1p auf bristuff-0.3.0-PRE-1v sendet der manager keine Events vom Typ "Extensionstate" mehr.
Kann mir jemand auf die Sprünge helfen?

Viele Grüße
Thomas
 
Zuletzt bearbeitet:
Ich bin auch auf die 1v umgestiegen. Ich lasse mir den Status der Extensions mit 'hints' anzeigen, es gibt keine Probleme.

Beschreib deine Konfiguration mal genauer.

Udo
 
Hallo udosw,

ich mache eine Telnet zum Managerinterface , logge mich ein und erhalte bei der alten Version die Events, bei der neuen aber nicht!

Vielen Grüße,
Thomas

extensions.conf:

exten => 17,hint,SIP/sipura17
exten => 8559,hint,SIP/snom8559
...

manager.conf:

[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[td]
secret = td
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
 
Hier das protokoll mit dem neuen Bristuff/asterisk 1.2.13:

Edit Guard-X: Bitte Code-Tags verwenden!
Code:
Asterisk Call Manager/1.0

Asterisk Call Manager/1.0
Response: Success
Message: Authentication accepted

Event: Newchannel
Privilege: call,all
Channel: Zap/4-1
State: Rsrvd
CallerID: 0163xxxx1857
CallerIDName: <unknown>
Uniqueid: asterisk-2401-1162030764.9018


Event: Newstate
Privilege: call,all
Channel: Zap/4-1
State: Ring
CallerID: 0163xxxx1857
CallerIDName: <unknown>
Uniqueid: asterisk-2401-1162030764.9018


Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: praxis_in
Extension: 87
Priority: 1
Application: NoOp
AppData: 
Uniqueid: asterisk-2401-1162030764.9018


Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: praxis_in
Extension: 87
Priority: 2
Application: SetVar
AppData: EXTEN=
Uniqueid: asterisk-2401-1162030764.9018

Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: praxis_in
Extension: 87
Priority: 6
Application: GotoIf
AppData: 0?asterisk|praxis|1
Uniqueid: asterisk-2401-1162030764.9018

Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: praxis_in
Extension: 87
Priority: 7
Application: GotoIf
AppData: 0?asterisk|7|1
Uniqueid: asterisk-2401-1162030764.9018

Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: praxis_in
Extension: 87
Priority: 8
Application: Goto
AppData: asterisk|87|1
Uniqueid: asterisk-2401-1162030764.9018

Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: asterisk
Extension: 87
Priority: 1
Application: Goto
AppData: asterisk|8559|1
Uniqueid: asterisk-2401-1162030764.9018

Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: asterisk
Extension: 8559
Priority: 1
Application: Macro
AppData: ohne-AB|8559|SIP/snom8559
Uniqueid: asterisk-2401-1162030764.9018

Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: macro-ohne-AB
Extension: s
Priority: 1
Application: DBget
AppData: temp=UML/8559
Uniqueid: asterisk-2401-1162030764.9018

Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: macro-ohne-AB
Extension: s
Priority: 102
Application: Goto
AppData: s|3
Uniqueid: asterisk-2401-1162030764.9018

Event: Newexten
Privilege: call,all
Channel: Zap/4-1
Context: macro-ohne-AB
Extension: s
Priority: 3
Application: Dial
AppData: SIP/snom8559|600|g
Uniqueid: asterisk-2401-1162030764.9018

Event: Newchannel
Privilege: call,all
Channel: SIP/snom8559-0825c778
State: Down
CallerID: <unknown>
CallerIDName: <unknown>
Uniqueid: asterisk-2401-1162030767.9019

Event: Dial
Privilege: call,all
Source: Zap/4-1
Destination: SIP/snom8559-0825c778
CallerID: 0163xxxx1857
CallerIDName: <unknown>
SrcUniqueID: asterisk-2401-1162030764.9018
DestUniqueID: asterisk-2401-1162030767.9019

Event: Newcallerid
Privilege: call,all
Channel: SIP/snom8559-0825c778
CallerID: 8559
CallerIDName: <Unknown>
Uniqueid: asterisk-2401-1162030767.9019
CID-CallingPres: 3 (Presentation Allowed, Network Number)

Event: Newchannel
Privilege: call,all
Channel: SIP/snom8559-0825c778
State: Ringing
CallerID: 8559
CallerIDName: <unknown>
Uniqueid: asterisk-2401-1162030767.9019

Event: Newstate
Privilege: call,all
Channel: Zap/4-1
State: Ringing
CallerID: 0163xxxx1857
CallerIDName: <unknown>
Uniqueid: asterisk-2401-1162030764.9018


Event: Hangup
Privilege: call,all
Channel: SIP/snom8559-0825c778
Uniqueid: asterisk-2401-1162030767.9019
Cause: 16
Cause-txt: Normal Clearing

Event: Hangup
Privilege: call,all
Channel: Zap/4-1
Uniqueid: asterisk-2401-1162030764.9018
Cause: 16
Cause-txt: Normal Clearing
 
Zuletzt bearbeitet:
Hier das Log mit dem alten bristuff/asterisk-1.2.2:

Edit Guard-X: Bitte Code-Tags verwenden!
Code:
Asterisk Call Manager/1.0

Asterisk Call Manager/1.0
Response: Success

Asterisk Call Manager/1.0
Response: Success
Message: Authentication accepted


Event: Newcallerid
Privilege: call,all
Channel: Zap/7-1
CallerID: 0163xxxx1857
CallerIDName: <Unknown>
Uniqueid: asterisk-21177-1162031201.0
CID-CallingPres: 0 (Presentation Allowed, Not Screened)

Event: Newchannel
Privilege: call,all
Channel: Zap/7-1
State: Rsrvd
CallerID: 0163xxxx1857
CallerIDName: <unknown>
Uniqueid: asterisk-21177-1162031201.0


Event: Newstate
Privilege: call,all
Channel: Zap/7-1
State: Ring
CallerID: 0163xxxx1857
CallerIDName: <unknown>
Uniqueid: asterisk-21177-1162031201.0


Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: praxis_in
Extension: 87
Priority: 1
Application: NoOp
AppData: 
Uniqueid: asterisk-21177-1162031201.0


Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: praxis_in
Extension: 87
Priority: 2
Application: SetVar
AppData: EXTEN=
Uniqueid: asterisk-21177-1162031201.0


Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: praxis_in
Extension: 87
Priority: 3
Application: GotoIf
AppData: 0?asterisk|praxis|1
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: praxis_in
Extension: 87
Priority: 4
Application: GotoIf
AppData: 0?asterisk|praxis|1
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: praxis_in
Extension: 87
Priority: 5
Application: GotoIf
AppData: 0?asterisk|bzdverkauf|1
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: praxis_in
Extension: 87
Priority: 6
Application: GotoIf
AppData: 0?asterisk|praxis|1
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: praxis_in
Extension: 87
Priority: 7
Application: GotoIf
AppData: 0?asterisk|7|1
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: praxis_in
Extension: 87
Priority: 8
Application: Goto
AppData: asterisk|87|1
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: asterisk
Extension: 87
Priority: 1
Application: Goto
AppData: asterisk|8559|1
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: asterisk
Extension: 8559
Priority: 1
Application: Macro
AppData: ohne-AB|8559|SIP/snom8559
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: macro-ohne-AB
Extension: s
Priority: 1
Application: DBget
AppData: temp=UML/8559
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: macro-ohne-AB
Extension: s
Priority: 102
Application: Goto
AppData: s|3
Uniqueid: asterisk-21177-1162031201.0

Event: Newexten
Privilege: call,all
Channel: Zap/7-1
Context: macro-ohne-AB
Extension: s
Priority: 3
Application: Dial
AppData: SIP/snom8559|600|g
Uniqueid: asterisk-21177-1162031201.0

Event: Newchannel
Privilege: call,all
Channel: SIP/snom8559-07d9
State: Down
CallerID: <unknown>
CallerIDName: <unknown>
Uniqueid: asterisk-21177-1162031204.1

Event: Dial
Privilege: call,all
Source: Zap/7-1
Destination: SIP/snom8559-07d9
CallerID: 0163xxxx1857
Ca
Event: Dial
Privilege: call,all
Source: Zap/7-1
Destination: SIP/snom8559-07d9
CallerID: 0163xxxx1857
CallerIDName: <unknown>
SrcUniqueID: asterisk-21177-1162031201.0
DestUniqueID: asterisk-21177-1162031204.1

Event: Newcallerid
Privilege: call,all
Channel: SIP/snom8559-07d9
CallerID: 8559
CallerIDName: <Unknown>
Uniqueid: asterisk-21177-1162031204.1
CID-CallingPres: 0 (Presentation Allowed, Not Screened)


Event: Newchannel
Privilege: call,all
Channel: SIP/snom8559-07d9
State: Ringing
CallerID: 8559
CallerIDName: <unknown>
Uniqueid: asterisk-21177-1162031204.1


Event: Newstate
Privilege: call,all
Channel: Zap/7-1
State: Ringing
CallerID: 0163xxxx1857
CallerIDName: <unknown>
Uniqueid: asterisk-21177-1162031201.0


Event: ExtensionStatus
Privilege: call,all
Exten: 8559
Context: asterisk
Status: 8
CallerID: "8559" <>


Event: Hangup
Privilege: call,all
Channel: SIP/snom8559-07d9
Uniqueid: asterisk-21177-1162031204.1
Cause: 16
Cause-txt: Normal Clearing


Event: Hangup
Privilege: call,all
Channel: Zap/7-1
Uniqueid: asterisk-21177-1162031201.0
Cause: 16
Cause-txt: Normal Clearing

Event: ExtensionStatus
Privilege: call,all
Exten: 8559
Context: asterisk
Status: 0
CallerID: "" <>
 
Sorry, Tippfehler im ersten Post: Ich meinte den Event ExtensionStatus:

Event: ExtensionStatus
Privilege: call,all
Exten: 8559
Context: asterisk
Status: 0
CallerID: "" <>
 
So, selber gefunden...
In der manager.conf werden die AMI Privileges festgelegt (soso)

Dann versteht man auch das Changelog:

0.3.0-PRE-1r
- fixed devicestates for peer register/unregister
- moved extensionstates to AMI privilege "extensionstatus"

Also muß es in der manager.conf stehen:

[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[td]
secret = td
read = system,call,log,verbose,command,agent,user,extensionstatus
write = system,call,log,verbose,command,agent,user,extensionstatus
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.