How can I make calls via PJSIP extension with dynamic host without create [identify] section to avoid this “anonymous” massage?
Dynamic endpoints don’t have identify sections!
I’m having difficulty understanding your question.
First of all I wanna to set dynamic endpoint so I don’t create [identify] section, at this case i can not make any calls even internal calls and receive that Anonymous massage.
once i set [identify] section with specific endpoint IP address it works well but i don’t want that i need to set it dynamically.
You have to register, to an AOR.
direct_media = no
trust_id_outbound = yes
device_state_busy_at = 1
dtmf_mode = rfc4733
type = auth
type = aor
mailboxes = 7001@example
Here is my PJSIP.conf.
what else is needing to register to an AOR?
The client must actually register.
There should only be one type=aor section with any particular name.
Please mark up as pre-formatted text.
transport-udp] type=transport protocol=udp bind=0.0.0.0 [endpoint-tamplet](!) type= endpoint context=frominternal disallow=all allow=ulaw,alaw,gsm direct_media = no trust_id_outbound = yes device_state_busy_at = 1 dtmf_mode = rfc4733 [auth-endpoint](!) type = auth auth_type=userpass [endpoint-aor](!) type = aor max_contacts=5 qualify_frequency=60 (endpoint-tamplet) auth=7001 aors=7001 callerid=omar<7001> (auth-endpoint) password= 7001 username= 7001 (endpoint-aor) mailboxes = 7001@example  type=identify endpoint=7001 match=192.168.99.0/24
;===============TRANSPORT [simpletrans] type=transport protocol=udp bind=0.0.0.0 ;===============EXTENSION 6001  type=endpoint context=internal disallow=all allow=ulaw auth=auth6001 aors=6001 [auth6001] type=auth auth_type=userpass password=6001 username=6001  type=aor max_contacts=1
still the same issue even i tried the Asterisk example.
BTW the extension is registered but this massage appears when dial any extension in the same “context”.
The From header is expected to contain the endpoint name in the user portion. CallerID is then expected to be transported using other methods (such as Remote-Party-ID or P-Asserted-Identity).
Thank you very much, I discovered that there is check box “hide caller ID” in MicroSIP softphone, once I uncheck it worked well.