Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:asterisk [2022/06/03 16:38] maffnotes:asterisk [2022/06/06 10:28] (current) maff
Line 149: Line 149:
  
 ===== Files edited ===== ===== Files edited =====
 +
 +<code ini acl.conf>
 +[acl_deny_default]
 +deny    = 0.0.0.0/0
 +deny    = ::
 +
 +[acl_permit_default]
 +permit  = 0.0.0.0/0
 +permit  = ::
 +
 +[acl_local_subnets]
 +permit  = 10.13.37.0/24
 +permit  = 10.46.0.0/16
 +permit  = 172.31.255.0/28
 +permit  = fd46::/16
 +
 +[acl_permit_local_only]
 +deny    = 0.0.0.0/0
 +deny    = ::
 +permit  = 10.13.37.0/24
 +permit  = 10.46.0.0/16
 +permit  = 172.31.255.0/28
 +permit  = fd46::/16
 +</code>
 +
 +<code ini adsi.conf>
 +[intro]
 +alignment = center
 +greeting => hewwo
 +</code>
  
 <code ini cli.conf> <code ini cli.conf>
Line 335: Line 365:
 uri                     = metrics uri                     = metrics
 </code> </code>
 +
 +===== pjsip.conf =====
 +
 +It was at this point that I gave up because the file is approximately three bibles long and simultaneously contains every example known to humanity and yet no information I'm capable of parsing and retaining. I'll come back to this later.
 +
 +====== Dialplan notes ======
 +
 +===== Trunk configuration =====
 +
 +A&A SIP trunks don't seem to indicate the incoming number, or maybe I configured the trunks on A&A's end wrongly. The solution is simply to specify a contact header, so I have devised the following internal dialplan for inbound trunks
 +
 +8 44 1382 00 339
 +
 +Where 8 is the incoming number prefix, 44 is the country-code, 1382 is the area code of the line, 00 is the provider number, and 339 is the last few digits.
 +
 +Provider numbers are as follows
 +
 +00 - A&A VoIP
 +
 +01 - Voipfone
 +
 +02 - sipgate
 +
 +03 - Twilio
 +
 +99 - SIPBroker
  
  
Navigation
  • Home