Skip to content

Instantly share code, notes, and snippets.

@THUFIR
Created July 13, 2016 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save THUFIR/5ecad091202731b8db5c3b786f75b7d9 to your computer and use it in GitHub Desktop.
Save THUFIR/5ecad091202731b8db5c3b786f75b7d9 to your computer and use it in GitHub Desktop.
asterisk.mordor.bounceme.net
mordor*CLI>
mordor*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
TELNYX/TELNYX 192.76.120.10 No No 5060 OK (108 ms)
demo_alice (Unspecified) D Yes Yes 0 UNKNOWN
demo_bob (Unspecified) D Yes Yes 0 UNKNOWN
hawat/hawat (Unspecified) D Yes Yes 0 UNKNOWN
thufir/thufir 192.168.1.5 D Yes Yes 5062 OK (10 ms)
5 sip peers [Monitored: 2 online, 3 offline Unmonitored: 0 online, 0 offline]
mordor*CLI>
mordor*CLI> sip show peer TELNYX
* Name : TELNYX
Description :
Secret : <Not set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : inbound
Record On feature : automon
Record Off feature : automon
Subscr.Cont. : <Not set>
Language :
Tonezone : <Not set>
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Named Callgr :
Nam. Pickupgr:
MOH Suggest :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 0/0
Call limit : 0
Max forwards : 0
Dynamic : No
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : -1
Insecure : port,invite
Force rport : No
Symmetric RTP: No
ACL : No
DirectMedACL : No
T.38 support : No
T.38 EC mode : Unknown
T.38 MaxDtgrm: 4294967295
DirectMedia : Yes
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Ign SDP ver : No
Trust RPID : Yes
Send RPID : No
Path support : No
Path : N/A
TrustIDOutbnd: Legacy
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost : sip.telnyx.com
Addr->IP : 192.76.120.10:5060
Defaddr->IP : (null)
Prim.Transp. : UDP
Allowed.Trsp : UDP
Def. Username: TELNYX
SIP Options : (none)
Codecs : (ulaw|g729)
Auto-Framing : No
Status : OK (108 ms)
Useragent :
Reg. Contact :
Qualify Freq : 30000 ms
Keepalive : 0 ms
Sess-Timers : Refuse
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
RTP Engine : asterisk
Parkinglot :
Use Reason : No
Encryption : No
mordor*CLI>
mordor*CLI> sip show peer thufir
* Name : thufir
Description :
Secret : <Set>
MD5Secret : <Not set>
Remote Secret: <Not set>
Context : myphones
Record On feature : automon
Record Off feature : automon
Subscr.Cont. : <Not set>
Language :
Tonezone : <Not set>
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Named Callgr :
Nam. Pickupgr:
MOH Suggest :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 0/0
Call limit : 0
Max forwards : 0
Dynamic : Yes
Callerid : "thufir" <>
MaxCallBR : 384 kbps
Expire : 2961
Insecure : port,invite
Force rport : Yes
Symmetric RTP: Yes
ACL : No
DirectMedACL : No
T.38 support : No
T.38 EC mode : Unknown
T.38 MaxDtgrm: 4294967295
DirectMedia : Yes
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Ign SDP ver : No
Trust RPID : Yes
Send RPID : No
Path support : No
Path : N/A
TrustIDOutbnd: Legacy
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost :
Addr->IP : 192.168.1.5:5062
Defaddr->IP : (null)
Prim.Transp. : UDP
Allowed.Trsp : UDP
Def. Username: thufir
SIP Options : (none)
Codecs : (ulaw|g729)
Auto-Framing : No
Status : OK (10 ms)
Useragent :
Reg. Contact : sip:thufir@192.168.1.5:5062
Qualify Freq : 30000 ms
Keepalive : 0 ms
Sess-Timers : Refuse
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
RTP Engine : asterisk
Parkinglot :
Use Reason : No
Encryption : No
mordor*CLI>
mordor*CLI> dialplan show
__func_periodic_hook_context__ ael-builtin-h-bubble ael-default ael-demo
ael-dundi-e164 ael-dundi-e164-canonical ael-dundi-e164-customers ael-dundi-e164-local
ael-dundi-e164-lookup ael-dundi-e164-switch ael-dundi-e164-via-pstn ael-iaxprovider
ael-iaxtel700 ael-international ael-local ael-longdistance
ael-std-exten-ael ael-trunkint ael-trunkld ael-trunklocal
ael-trunktollfree chanvar default demo
globals local myphones outbound
parkedcalls public inbound
mordor*CLI> dialplan show inbound
[ Context 'inbound' created by 'pbx_config' ]
'_+1NXXNXXXXXX' => 1. NoOp() [pbx_config]
2. Dial(SIP/thufir,60) [pbx_config]
3. Hangup() [pbx_config]
-= 1 extension (3 priorities) in 1 context. =-
mordor*CLI>
mordor*CLI> dialplan show outbound
[ Context 'outbound' created by 'pbx_config' ]
'_1NXXNXXXXXX' => 1. NoOp() [pbx_config]
2. Set(CALLERID(name)=opm) [pbx_config]
3. Log(NOTICE, Dialing out from ${CALLERID(all)} to ${EXTEN:1} through ${TOLL}) [pbx_config]
4. Dial(${TOLL}/${EXTEN:1},60) [pbx_config]
5. Playtones(congestion) [pbx_config]
6. Hangup() [pbx_config]
-= 1 extension (6 priorities) in 1 context. =-
mordor*CLI>
mordor*CLI> dialplan show myphones
[ Context 'myphones' created by 'pbx_config' ]
'1000' => 1. Dial(SIP/1000) [pbx_config]
2. Hangup() [pbx_config]
'1001' => 1. Dial(SIP/1001) [pbx_config]
2. Hangup() [pbx_config]
'201' => 1. Answer() [pbx_config]
2. Playback(tt-monty-knights) [pbx_config]
3. Hangup() [pbx_config]
'202' => 1. Answer() [pbx_config]
2. Playback(welcome) [pbx_config]
3. Playback(demo-echotest) [pbx_config]
4. Echo() [pbx_config]
5. Playback(demo-echodone) [pbx_config]
6. Playback(vm-goodbye) [pbx_config]
7. Hangup() [pbx_config]
'4000' => 1. Playback(tt-monkeys) [pbx_config]
'5000' => 1. Playback(tt-monkeysintro) [pbx_config]
'555' => 1. Playback(hello-world) [pbx_config]
2. Playback(echo-test) [pbx_config]
3. Echo() [pbx_config]
4. Playback(demo-echodone) [pbx_config]
'6001' => 1. Dial(SIP/demo_alice,20) [pbx_config]
'6002' => 1. Dial(SIP/demo_bob,20) [pbx_config]
'6003' => 1. Dial(SIP/thufir,20) [pbx_config]
'6004' => 1. Dial(SIP/hawat,20) [pbx_config]
'6005' => 1. Dial(SIP/piter,20) [pbx_config]
-= 12 extensions (25 priorities) in 1 context. =-
mordor*CLI>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment