i had in sip.conf file :
[102]
deny=0.0.0.0/0.0.0.0
secret=123456
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=no
type=user
nat=yes
port=5060
qualify=yes
qualifyfreq=60
transport=udp
avpf=no
icesupport=no
encryption=no
and i have zoiper soft phone … now when the type is friend or peer the soft phone can register and do calls .
but if type was user , the server return error “wrong pwd”
I’m here want to ask .
shouldnt when i use the type=user that the phone get registered and work and only receive calls only ???
isn’t type=user for incoming calls only ?
also i have Q .
is there a difference between 'incoming call"
and soft phone want to register ?
what is the difference between them ?
how can i differentiate that ?
The peer doesn’t appear to be providing an address of record (which is in the To header on registers)!
Please provide the SIP debugging.
ast_log(LOG_NOTICE, "Registration from '%s' failed for '%s' - %s\n",
sip_get_header(req, "To"), ast_sockaddr_stringify(addr),
reason);
(Note, when quoting anything from SIP on this forum, you need to use un-formatted text, otherwise everything in <> gets lost. However, I think it is still in the raw HTML and there is no To header content there, either.)