[general] ....
externip=1.1.1.1 localnet=192.168.2.0/255.255.255.0 localnet=10.5.1.0/255.255.255.192 localnet=......
....
cm_sip_trunk_base_Outbound disallow=all type=peer allow=alaw allow=ulaw canreinvite=yes context=<REPLACE> dtmfmode=rfc2833 insecure=invite,port nat=force_rport,comedia port=5060 qualify=yes username=<REPLACE> secret=<REPLACE> trustedip=no trustrpid=yes sendrpid=pai
cm_sip_trunk_01 host=31.169.63.81
cm_sip_trunk_02 host=31.169.63.82
cm_sip_trunk_base_Inbound disallow=all type=peer allow=alaw allow=ulaw canreinvite=yes context=default dtmfmode=rfc2833 insecure=invite,port nat=force_rport,comedia port=5060 qualify=yes username=<REPLACE> secret=<REPLACE> trustedip=no trustrpid=yes sendrpid=pai
cm_sip_trunk_01 host=31.169.58.10
cm_sip_trunk_02 host=31.169.58.11
extensions.conf [default] exten => _31765727000,1,Verbose(2,"incoming) exten => _31765727000,1,Answer() exten => _31765727000,n,DoeIetsLeuksMetDezeCall exten => _31765727000,n,Hangup
[trunkinbound]
; DID call routing process ; exten => _XXXXXXXXXX,1,AGI(agi-DID_route.agi) ; use this one instead of the one below if you are having delay issues, and match to number of received digits
exten => s,1,AGI(agi-DID_route.agi) exten => s,n,Hangup()
; If you have DIDs that arrive with a plus and 1 at the beginning that you want to filter out, then uncomment exten => _+X.,1,Goto(trunkinbound,${EXTEN:1},1)