Documentation Index
Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
Use this file to discover all available pages before exploring further.
Audience: Asterisk admin comfortable editing
pjsip.conf. Time: 10 minutes. Driver: chan_pjsip.Prerequisites
- Asterisk 16 or later (17, 18, 20, 21 all work)
- chan_pjsip loaded (
pjsip show version) - Outbound UDP 5060 allowed
- SIP ALG disabled upstream
Step 1: create trunk in SmartAlex
SIP Trunk wizard, pick Asterisk. Save and copy credentials.Step 2: pjsip.conf configuration
Append to/etc/asterisk/pjsip.conf (or use a separate conf file):
YOUR_USERNAME and YOUR_PASSWORD with values from SmartAlex.
Step 3: extensions.conf dialplan
Add a context for inbound calls from SmartAlex:Step 4: verify registration
smartalex showing Registered.
Step 5: add extensions in SmartAlex
Settings, then PBX. Populate the directory.Step 6: link agent and test
Agent Studio, then Telephony tab. Link the trunk. Call, verify, transfer.Asterisk-specific notes
- SIP tracing:
asterisk -rvvvvthenpjsip set logger on. - TLS transport: add a
type=transportsection withprotocol=tlsand point to your cert bundle. Use port 5061. - Custom headers: use
PJSIP_HEADER()in dialplan if you need to inspect P-Asserted-Identity or other SIP headers on transferred calls. - Multiple SmartAlex trunks: each trunk needs its own unique section names (append
-2,-3, etc.).
Next steps
FreePBX
GUI on top of Asterisk.
Troubleshooting
Error reference.

