Skip to content

Instantly share code, notes, and snippets.

View jugaso's full-sized avatar

Jugaso jugaso

  • stop the world i want to go down
View GitHub Profile
@jugaso
jugaso / rtp.conf
Created January 4, 2018 16:43
Coud Server Config
[general]
;
; RTP start and RTP end configure start and end addresses
;
; Defaults are rtpstart=5000 and rtpend=31000
;
rtpstart=10000
rtpend=20000
canreinvite=no
@jugaso
jugaso / sip.conf
Created January 4, 2018 16:43
Cloud Server config asterisk
sip.conf
[general]
bindaddr=0.0.0.0
bindport=5060
context = billing
dtmfmode=RFC2833
disallow=all
allow=ulaw
allow=alaw
@jugaso
jugaso / extensions.conf
Last active January 4, 2018 16:40
How hability message chat on asterisk
;Acrescentar as linhas abaixo no arquivo extensions.conf
;Referenciar no arquivo SIP.conf este MENSAGEIRO
[MENSAGEIRO]
exten => _.,1,NoOp(SMS receiving dialplan invoked)
exten => _.,n,NoOp(To ${MESSAGE(to)})
exten => _.,n,NoOp(From ${MESSAGE(from)})
exten => _.,n,NoOp(Body ${MESSAGE(body)})
;exten => _.,n,AGI(chatplan.php,${MESSAGE(from)})
@jugaso
jugaso / sip.conf
Created January 4, 2018 16:32
How hability message on asterisk
[general]
accept_outofcall_message=yes
outofcall_message_context=dialplan_name
auth_message_requests=yes