Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rufgruppe mit Teilnehmer erzeugt nil value error #321

Open
mminks opened this issue Dec 5, 2013 · 1 comment
Open

Rufgruppe mit Teilnehmer erzeugt nil value error #321

mminks opened this issue Dec 5, 2013 · 1 comment

Comments

@mminks
Copy link

mminks commented Dec 5, 2013

GS 5.1.2, frische Installation

Ich habe eine Rufgruppe erstellt (Alle Rufgruppen-Teilnehmer klingeln parallel). Diese hat eine Rufnummer. Rufe ich nun auf dieser Nummer durch, sagt er mit "no active agents". Soweit so gut. Jetzt füge ich einen Rufgruppen-Teilnehmer mit einer Durchwahl hinzu. Der Teilnehmer ist mit seinem SIP-Account am System angemeldet.

Das Logfile sagt mir nun folgendes:

2013-12-05 15:25:55.331431 [INFO] switch_cpp.cpp:1274 #E# [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] PRESENCE_INBOUND - protocol: any, account: 03616663374, state: alerting
2013-12-05 15:25:55.331431 [DEBUG] switch_cpp.cpp:1274 #E# [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] PRESENCE - retrieve account data - account: 03616663374
2013-12-05 15:25:55.331431 [INFO] switch_cpp.cpp:1274 ### [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] AUTH_GATEWAY - sip_gateway ~ ^gateway1, gateway=1|dus.net SIP Gateway, ip: 83.125.8.42
2013-12-05 15:25:55.331431 [INFO] switch_cpp.cpp:1274 ### [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] CALLER_DATA - no data - unauthenticated call: =/
2013-12-05 15:25:55.331431 [INFO] switch_cpp.cpp:1274 ### [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] ROUTE 1 - inbound=33/replace dus.net user_id with phone number, destination: phonenumber=, destination_number: 000387234296
2013-12-05 15:25:55.331431 [DEBUG] switch_cpp.cpp:1274 ### [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] CALL_FORWARDING - huntgroup=1, service: noanswer, destination: Voicemail=, number: 
2013-12-05 15:25:55.331431 [INFO] switch_cpp.cpp:1274 ### [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] DESTINATION_NEW - huntgroup=1/@1, number: 000387234296
2013-12-05 15:25:55.331431 [INFO] switch_cpp.cpp:1274 ### [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] DIALPLAN start - caller_id: 03616663374 "03616663374" , number: 000387234296, language: de
2013-12-05 15:25:55.331431 [INFO] switch_cpp.cpp:1274 ### [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] LOOP 1 - destination: huntgroup=1/@1, number: 000387234296
EXECUTE sofia/gemeinschaft/03616663374@dus.net export(alert_info=http://amooma.de;info=Ringer1;x-line-id=0)
2013-12-05 15:25:55.331431 [DEBUG] switch_channel.c:1143 EXPORT (export_vars) [alert_info]=[http://amooma.de;info=Ringer1;x-line-id=0]
EXECUTE sofia/gemeinschaft/03616663374@dus.net export(effective_callee_id_number=000387234296)
2013-12-05 15:25:55.331431 [DEBUG] switch_channel.c:1143 EXPORT (export_vars) [effective_callee_id_number]=[000387234296]
EXECUTE sofia/gemeinschaft/03616663374@dus.net export(effective_callee_id_name=default (000387234296))
2013-12-05 15:25:55.331431 [DEBUG] switch_channel.c:1143 EXPORT (export_vars) [effective_callee_id_name]=[default (000387234296)]
2013-12-05 15:25:55.331431 [INFO] switch_cpp.cpp:1274 ### [9c9854ca-b215-4c77-ba5d-ddc10f3bee98] HUNTGROUP 1 - name: default (000387234296), strategy: ring_all, members: 1
2013-12-05 15:25:55.331431 [ERR] mod_lua.cpp:198 ...usr/share/freeswitch/scripts/dialplan/hunt_group.lua:111: attempt to index field 'account' (a nil value)
stack traceback:
    ...usr/share/freeswitch/scripts/dialplan/hunt_group.lua:111: in function <...usr/share/freeswitch/scripts/dialplan/hunt_group.lua:92>
    (tail call): ?
    /usr/share/freeswitch/scripts/dialplan/dialplan.lua:695: in function 'switch'
    /usr/share/freeswitch/scripts/dialplan/dialplan.lua:922: in function 'run'
    /usr/share/freeswitch/scripts/dialplan_default.lua:110: in main chunk
2013-12-05 15:25:55.331431 [DEBUG] freeswitch_lua.cpp:370 DBH handle (nil) released.
2013-12-05 15:25:55.331431 [DEBUG] switch_cpp.cpp:1049 sofia/gemeinschaft/03616663374@dus.net destroy/unlink session from object
EXECUTE sofia/gemeinschaft/03616663374@dus.net set(script=-ERR Cannot execute script
)
2013-12-05 15:25:55.331431 [DEBUG] mod_dptools.c:1367 sofia/gemeinschaft/03616663374@dus.net SET [script]=[-ERR Cannot execute script
]

Mache ich etwas falsch?

@rwsirconic
Copy link

Zeile 111 in hunt_group.lua löst hilft. Hunt-Groups funktionieren dann.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants