The idea of this is to save on the Toll fee if I call from my local site.
I already have a PJSIP Trunk that is connected to Remote site and user from both sites currently can call each other without any issue.
Are the following steps correct to implement this?
Create an Outbound rule on the local site to route to the PJSip trunk
Create an Inbound rule on the remote site to route to the Remote FreePBX’s PSTN Trunk
Appreciate if somebody can give me some pointers. Thank you.
There are many recipes for an intermediary “tie-line” trunk between two FreePBI but you probably need to use the [from-internal] context. Then its just routing on either end . . .
Indeed the I in IAX is for ‘Inter’ the A is for ‘Asterisk’ and the X for ‘exchange’ for completeness add the 2 which is for "second version’ =
IAX2 ( it just works, traverses firewalls easily on both ends and conserves bandwidth when you have multiple concurrent calls (with whatever codec) and you add trunk=yes to the definition )