The only difference is that the second one is making up the uri from the “outbound proxy” setting. I have fudged that in the first example by setting the outbound proxy ip to bizphone.iinet.net.au in the hosts file.
I would prefer to not do this and this thread suggests that you can make this work with the pjsip driver.
can anyone help me with this? The server and client uri settings seem the most likely but I cannot make it work through there.
It worked! Thanks! It’s 1am and I can go home now!
I had seen that option in some googled threads but mistakenly assumed that the gui would add in something like that when it built the string. Should really be a checkbox. Idiot me discarding a solution without even trying it. Lucky that was only an hour ago or I would feel a right goose
Googling after the result found me this
with the salient part being - " Loose routing is a parameter on the URI which instructs PJSIP to not change the request URI to that of the outbound proxy. "
Go to Reports -> Asterisk Info -> Registries. If your trunk shows Registered, paste the log for an attempted incoming call, as previously described. If not, post what is shown, and paste the log for an attempted registration.
Also, paste the log for an attempted outgoing call.