I create 2 trunks (SIP and IAX2), purpose being that SIP is used as failover.
At first, in the IAX GUI there is a mistake in the account description: username is to be set with peer hostname, host is not used and auth-user contain the username which is OK.
In both trunks, in outbound calls, I created two rules, only difference being In-prefix (first empty, second = 0). When I call from Software client call is going out using IAX2 but if I call the using a phone it goes through SIP.
Is there a possibility to order trunks and how tare they choosed as we don’t want to use In-prefix? If a trunk is defined as failover, will it be also used as “normal” trunk?
What would be great too is the possibility to disable a trunk
Thanks for any hint