[asterisk-users] Problems Solved, Two Remaining

Steve Matzura sm at noisynotes.com
Wed May 24 10:49:17 CDT 2023


This was supposed to go to the list.


I am now thoroughly confused.

In the [voipms] stanza where endpoint is defined (type=endpoint), 
everything points to voipms. But in the [yealink] stanzas, I tried 
pointing everything
to Steve, one item at a time, then both of them, and nothing changed.

On 5/24/2023 10:00 AM, Stefan Tichy wrote:

block quote
Am Wed, May 24, 2023 at 09:40:18AM -0400 schrieb Steve Matzura:
block quote
On 5/24/2023 7:49 AM, Stefan Tichy wrote:
block quote
Am Tue, May 23, 2023 at 07:22:22PM -0400 schrieb Steve Matzura:

block quote
1. Still can't register my phone
The username and password are correct. I don't know what else to try.
block quote end
You can start a sip trace from the asterisk console.
REGISTER
sip:192.168.1.185:5060
  SIP/2.0
block quote end
block quote end
....
block quote
block quote
Authorization: Digest username="Steve", realm="asterisk",
[May 24 09:26:13] NOTICE[47903]: res_pjsip/pjsip_distributor.c:676 
log_failed_request:
Request 'REGISTER' from .....'  - No matching endpoint found
block quote end
block quote end
In the endpoint section there is a parameter identify_by (default:
"username,ip"). "username" means, the the from-user is used.

Use "yealink" or "Steve" for both user names. Using different names
for a phone make it just more complicated. You might have to change
the phone configuration.

block quote
[yealink]
type = aor
contact =
sip:Steve at 192.168.1.185
block quote end
There should be no "contact" parameter for a phone. The phone sends
the required information with the register request.

block quote end




More information about the asterisk-users mailing list