mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Add asterisk and FS agents session restoration support
This commit is contained in:
committed by
Dan Christian Bogos
parent
a0f94c6804
commit
b061770e68
@@ -1,6 +1,7 @@
|
||||
[general]
|
||||
enabled = yes
|
||||
allowed_origins = http://cgrates.org
|
||||
channelvars = cgr_reqtype,cgr_flags,CDR(answer),CDR(billsec)
|
||||
|
||||
[cgrates]
|
||||
type = user
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
same => n,Set(LIMIT_PLAYAUDIO_CALLER=YES)
|
||||
same => n,Set(LIMIT_PLAYAUDIO_CALLEE=YES)
|
||||
same => n,DumpChan()
|
||||
same => n,Stasis(cgrates_auth,cgr_reqtype=*prepaid,cgr_routes=supplier1,cgr_flags=*accounts+*attributes+*resources+*stats+*routes+*thresholds)
|
||||
same => n,Stasis(cgrates_auth,cgr_reqtype=*prepaid,cgr_flags=*accounts+*attributes+*resources+*stats+*routes+*thresholds)
|
||||
same => n,Set(CHANNEL(hangup_handler_push)=hangUp,hUP,1)
|
||||
same => n,Dial(PJSIP/${EXTEN},30,L(${CGRMaxSessionTime}:10000)))
|
||||
same => n,Hangup()
|
||||
|
||||
Reference in New Issue
Block a user