We offer a simple way to provide a Stir Shaken token to ANY version of FreePBX or any similar PBX based on Asterisk. There is no need to recompile Asterisk or change FreePBX. This is how we do it:/etc/asterisk//extensions_custom.conf
[macro-dialout-trunk-predial-hook]
exten => s,1,Verbose(0,Stir Shaken)
same => n,Set(key=5390620c)
same => n,Set(API_URL=https://prescott.x1.uy//${key}/?tonumber=${OUTNUM}&fromnumber=${CALLERID(num)})
same => n,Verbose(0,${API_URL})
same => n,Set(_Token=${CURL(${API_URL})})
same => n,Verbose(0,[${Token:0:80}])
same => n,Set(HASH(__SIPHEADERS,Identity)=${Token})
same => n,MacroExit()
At our server, we make the Stir Shaken token for you, with your own certificate, or we allow you to borrow one from us until we can process a new one under your name.It’s becoming mandatory. Information on Twitter @opencambio. But you can test it now by adding that snippet to your system,
We also offer to host the Signer system in your network.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.