Guest User

Untitled

a guest
Aug 31st, 2021
186
224 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(FS_IsReady(session)) then
  2. FS_setStandardStart(session,0)
  3. FS_unsetProxyHeaders(session)
  4.  
  5. --Getting session variable
  6. local callerNumber = FS_getCallerNumberE164(session)
  7. local calledNumber = FS_getCalledNumberE164(session)
  8.  
  9. --Generate/set call sid
  10. local callSid = getNewUUID()
  11. local sipCallSid = FS_getFSRouter_uuid(session)
  12. local accountSid = FS_getAccountSid(session)
  13. FS_LogNotice("25: ProxyOutbound - SipCallSid: " .. sipCallSid .. " ProxyCallSid: " .. callSid .. " Caller: "..callerNumber.." Called: "..calledNumber);
RAW Paste Data