2014-11-12 2:45 GMT-02:00 Luis Eduardo Cortes :
I solved my issue by changing type=friend with type=peer in
 section, afterwards, googling I’ve found this article that explain me why:
Re: type=friend is bad for you
Postby thor » Tue Aug 02, 2011 11:24 am Another little known fact about the difference between peer and friend:
Friend will challenge INVITEs. When making outbound calls from a registered phone/peer another challenge will be issued.
This means type=friend requires second INVITE with authentication credentials, while peer will accept INVITE without challenge.
In other words type=friend does not care about the phone registration status and always tries to authenticate as if the phone never registered.