But without the insecure=invite my trunks don't register. is it normal do not have the insecure parameter ?
When I set the same voip trunk on a ATA unit, I only use user and password, so I think that asterisk should be fine with the same, but i checked the need of insecure=invite or insecure=very (old style).
PEER details:
"username=account_user
type=peer
secret=account_password
qualify=yes
nat=force_rport,comedia
host=voip.provider.it
fromuser=account_user
fromdomain=voip.provider.it
dtmfmode=rfc2833
canreinvite=no
insecure=invite"
string:
"account_user:account_password@voip.provider.it/account_user"