Authentication and CLI

Hi all,

I am trying to get the FreePBx to authenticate to opensips using username and password this works when I do the following

type=peer
host=192.168.168.252
fromuser=[Username]
username=[Username]
secret=[Password]
insecure=port,invite

however once this get passed on to a service provide to make a phone call the number come up as unknown.
If I remove the authentication using username and password you can see the number.

I have been told the reason this happens is because freepbx send the from as:
<FROM: “612928789456”[username]@192.168.168.251>
and it should be like this:
<FROM: “612928789456” [email protected]>

is there anyway to fix this in freepbx? I have look up different command but none I have found worked.

If you push fromuser=[Username] , then wouldn’t that explain it ?