Calls are being routed to the wrong did, even though I have the did configure under inbound routes.
Here is the log:
[2019-12-24 16:28:58] VERBOSE[10866][C-0000000b] netsock2.c: Using SIP RTP TOS bits 184
[2019-12-24 16:28:58] VERBOSE[10866][C-0000000b] netsock2.c: Using SIP RTP CoS mark 5
[2019-12-24 16:28:58] VERBOSE[13425][C-0000000b] pbx.c: Executing [3125555555@from-trunk:1] Set(“SIP/from-pstn-0000000d”, “__DIRECTION=INBOUND”) in new stack
[2019-12-24 16:28:58] VERBOSE[13425][C-0000000b] pbx.c: Executing [3125555555@from-trunk:2] Gosub(“SIP/from-pstn-0000000d”, “sub-record-check,s,1(in,3125555555,dontcare)”) in new stack
And for the inbound settings I have:
type=peer
context=from-trunk
insecure=very
canreinvite=yes
host=64.99.88.77
disallow=all
allow=ulaw