-
it7 s.r.o.
- Spišská Nová Ves, Slovakia
- http://it-admin.sk
Block or Report
Block or report backslash7
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
-
-
1
from binascii import hexlify
2from struct import pack
3from time import sleep
4from datetime import datetime
5import socket
-
1
; Assign this context to your incoming SIP trunk settings
2[custom-get-did-from-sip]
3exten => _X.,1,Noop(Fixing DID using information from SIP TO header)
4exten => _X.,n,NOOP(Header is: ${SIP_HEADER(TO)})
5exten => _X.,n,Set(pseudodid=${SIP_HEADER(TO)})
-
1
<?php
2header( 'Content-type: application/json;' );
34// Change it according to your nagios.cfg
5$data = file_get_contents( '/var/ramdrive/objects.cache' );