Looks like I got my answer from CallCentric finally.
Hello,
To address your concern, if you would like to route a specific call to a specific IVR, then if you would, please perform the following in order to do so.
Within your extensions_custom.conf file please use the following incoming context:
[incoming]
exten => s,1,Set(Var_TO=${SIP_HEADER(TO)})
exten => s,2,GotoIf($["${Var_TO}" = “sip:[email protected]”]?extension1,s,1:3)
exten => s,3,GotoIf($["${Var_TO}" = “sip:[email protected]”]?ext-did,1403xxxxxxx,1:4)
exten => s,4,GotoIf($["${Var_TO}" = “sip:[email protected]”]?ext-did,1778xxxxxxx,1:5)
exten => h,5,Macro(hangupcall)
Next, from your FreePBX interface, please visit the inbound routes configuration page and create a new inbound route. Locate the setting ‘DID Number’ and enter in your 17772733849 number. Route this inbound call to the custom application ‘incoming,s,1’ (without the quotes).
Once you have done so, please create a new inbound route for each number, (such as 1403xxxxxxx and 1778xxxxxxx) and route those inbound calls to the specific IVR in which you would like to route your inbound calls to. Should you experience any issues then please upload a copy of your exntesions_custom.conf file as well as a screenshot of your inbound routes page within your FreePBX interface.
If you do experience any issues, please let us know.