I have recently set up a new version of FreePBX and are having some issues where when I look at the calls in CLI mode I can see the calls seem to show on the wrong trunk. (Please see below)
== Using SIP RTP CoS mark 5
– Executing [079292200@from-trunk:1] Set(“SIP/072811271-000004cc”, “__DIRECTION=INBOUND”) in new stack
– Executing [079292200@from-trunk:2] Gosub(“SIP/072811271-000004cc”, “sub-record-check,s,1(in,079292200,yes)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/072811271-000004cc”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/072811271-000004cc”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/072811271-000004cc”, “NOW=1474862274”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/072811271-000004cc”, “__DAY=26”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/072811271-000004cc”, “__MONTH=09”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/072811271-000004cc”, “__YEAR=2016”) in new stack
The inbound call was made to 079292200 but it shows on the trunk 0728211271. I have set CallerID’s on both the trunk and inbound route. What am I missing as the call seems to be routing correctly - the issue is that I’m using FOP2 and the call shows up as being on the wrong trunk.
Any ideas??