[asterisk-bugs] [JIRA] (ASTERISK-26694) PJSIP: Notify event not authenticating to the phone.
Luke Escude (JIRA)
noreply at issues.asterisk.org
Wed Jan 4 10:11:09 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234437#comment-234437 ]
Luke Escude edited comment on ASTERISK-26694 at 1/4/17 10:09 AM:
-----------------------------------------------------------------
Here is the configuration for the endpoint. Note we are new to working with PJSIP, so it might look strange.
[142]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
allow=ilbc:30
allow=g729
auth=142-auth
aors=142
rtp_symmetric=yes
force_rport=yes
direct_media=no
rewrite_contact=yes
send_pai=yes
send_rpid=no
mailboxes=142 at voicemail
callerid=TB3 142 <142>
t38_udptl=yes
t38_udptl_ec=redundancy
t38_udptl_maxdatagram=400
t38_udptl_nat=yes
[142-auth]
type=auth
auth_type=userpass
username=142
password=HELLO
realm=asterisk
[142]
type=aor
max_contacts=3
qualify_frequency=15
qualify_timeout=20
We added realm=asterisk to see if that would help, and it doesn't.
was (Author: lukeescude):
Here is the configuration for the endpoint. Note we are new to working with PJSIP, so it might look strange.
[142]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
allow=ilbc:30
allow=g729
auth=142-auth
aors=142
rtp_symmetric=yes
force_rport=yes
direct_media=no
rewrite_contact=yes
send_pai=yes
send_rpid=no
mailboxes=142 at voicemail
callerid=TB3 142 <142>
t38_udptl=yes
t38_udptl_ec=redundancy
t38_udptl_maxdatagram=400
t38_udptl_nat=yes
[142-auth]
type=auth
auth_type=userpass
username=142
password=HELLO
realm=asterisk
[142]
type=aor
max_contacts=3
qualify_frequency=15
qualify_timeout=20
> PJSIP: Notify event not authenticating to the phone.
> ----------------------------------------------------
>
> Key: ASTERISK-26694
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26694
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 13.13.1
> Environment: x64 CentOS
> Reporter: Luke Escude
> Assignee: Unassigned
> Attachments: gs_invalid_event.pcap, gs_noauth.pcap, yealink_works.pcap
>
>
> When sending a NOTIFY packet to the phone via CLI, the following things can be noted:
> With chan_SIP, the phone returns 401 Unauthorized, then the server does another Notify packet with the correct authorization.
> With chan_PJSIP, the phone returns 401 Unauthorized, but the server doesn't properly return with a correctly authenticated packet.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list