SMAsterisk send init to SMGeneric and process answer

This commit is contained in:
DanB
2016-09-14 20:27:22 +02:00
parent 7fe5a0feba
commit 49696b89dd
10 changed files with 68 additions and 41 deletions

View File

@@ -1,6 +1,8 @@
[internal]
exten => _1XXX,1,NoOp()
same => n,Set(CGRMaxSessionTime=0); use it to disconnect automatically the call if bridge is not active
same => n,DumpChan()
same => n,Stasis(cgrates_auth,cgr_reqtype=*prepaid,cgr_destination=${EXTEN})
same => n,Dial(PJSIP/${EXTEN},30)
same => n,Dial(PJSIP/${EXTEN},30,L(${CGRMaxSessionTime}))
same => n,Hangup()

View File

@@ -15,6 +15,7 @@ load = app_voicemail.so
load = app_directory.so
load = app_confbridge.so
load = app_queue.so
load = app_dumpchan.so
; Bridging