PJSIP outgoing loadbalancing

Hello,

In the PJSIP configuration, i put few IP’s in a supplier trunk : remote_hosts = 192.168.x.x,192.x,x,x.
But all outgoing calls use everytime the same IP, there are an option to use in loadbalancing ?

Thank you in advance

There is no built in load balancing for that. You’d either need to use SRV records for load balancing, or do it in dialplan.

it is a pity that the function does not exist, thank you so much