<div dir="ltr"><div><div><div><div><div><div><div>I'm having a strange problem recently with a Yealink SIP-T28P phone connected to Asterisk 11.4.0 via openvpn. It was working fine for months, and now when I dial anything from the phone, it shows "Forbidden", and the Asterisk console shows:<br>
<br>[May 21 10:47:49] NOTICE[28518][C-00000004]: chan_sip.c:25189 handle_request_invite: Failed to authenticate device "Ext 110" <<a href="mailto:sip%3A110@192.168.6.2">sip:110@192.168.6.2</a>>;tag=1130259112<br>
<br></div>Asterisk 192.168.6.2<br></div>OpenVPN on router 10.8.0.1<br></div>Remote Yealink phone 10.8.0.6<br><br></div>The remote phone shows as being registered:<br></div>PBX*CLI> sip show peers<br>Name/username Host Dyn Forcerport ACL Port Status Description<br>
110/110 10.8.0.6 D A 5062 OK (111 ms) Yealink OpenVPN<br><br></div>Also, if there is voicemail in the mailbox for 110, the phone's message light is lit and it beeps periodically.<br><br>toshi*CLI> sip show peer 110<br>
<br><br> * Name : 110<br> Description : Yealink OpenVPN<br> Secret : <Set><br> MD5Secret : <Not set><br> Remote Secret: <Not set><br> Context : remote-phones<br> Record On feature : automon<br>
Record Off feature : automon<br> Subscr.Cont. : <Not set><br> Language :<br> Tonezone : <Not set><br> AMA flags : Unknown<br> Transfer mode: open<br> CallingPres : Presentation Allowed, Not Screened<br>
Callgroup : 1<br> Pickupgroup : 1<br> Named Callgr :<br> Nam. Pickupgr:<br> MOH Suggest :<br> Mailbox : 110<br> VM Extension : asterisk<br> LastMsgsSent : 1/0<br> Call limit : 4<br> Max forwards : 0<br>
Dynamic : Yes<br> Callerid : "Ext 110" <110><br> MaxCallBR : 384 kbps<br> Expire : 608<br> Insecure : no<br> Force rport : No<br> Symmetric RTP: No<br> ACL : Yes<br>
DirectMedACL : No<br> T.38 support : No<br> T.38 EC mode : Unknown<br> T.38 MaxDtgrm: -1<br> DirectMedia : No<br> PromiscRedir : No<br> User=Phone : No<br> Video Support: Yes<br> Text Support : No<br> Ign SDP ver : No<br>
Trust RPID : Yes<br> Send RPID : Yes<br> Subscriptions: Yes<br> Overlap dial : No<br> DTMFmode : rfc2833<br> Timer T1 : 500<br> Timer B : 32000<br> ToHost :<br> Addr->IP : <a href="http://10.8.0.6:5062">10.8.0.6:5062</a><br>
Defaddr->IP : <a href="http://10.8.0.6:5060">10.8.0.6:5060</a><br> Prim.Transp. : UDP<br> Allowed.Trsp : UDP<br> Def. Username: 110<br> SIP Options : (none)<br> Codecs : (ulaw)<br> Codec Order : (ulaw:20)<br>
Auto-Framing : No<br> Status : OK (237 ms)<br> Useragent : Yealink SIP-T28P 2.61.23.3 00:15:65:xx.xx.xx<br> Reg. Contact : <a href="http://sip:110@10.8.0.6:5062">sip:110@10.8.0.6:5062</a><br> Qualify Freq : 60000 ms<br>
Keepalive : 0 ms<br> Sess-Timers : Accept<br> Sess-Refresh : uas<br> Sess-Expires : 1800 secs<br> Min-Sess : 90 secs<br> RTP Engine : asterisk<br> Parkinglot :<br> Use Reason : No<br> Encryption : No<br>
<br></div>sip.conf:<br><br><div><div><div>[110]<br>context=remote-phones<br>type=peer<br>host=dynamic<br>qualify=1500<br>canreinvite=no<br>dtmfmode=rfc2833<br>progressinband=no<br>callgroup=1<br>pickupgroup=1 ; We can do call pickup for call group 1<br>
call-limit=4<br>busy-level=1<br>qualify=yes<br>deny=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a><br>permit=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a><br>nat=no<br>qualify=8000<br>description=Yealink OpenVPN<br>
defaultuser=110<br>secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br>callerid="Ext 110" <110><br>mailbox=110<br>defaultip=10.8.0.6<br>port=5060<br>disallow=all<br>allow=ulaw<br><br></div><div>Any suggestions on what might be happening here, and how it could be resolved?<br>
<br>THANKS ALL!<br><br><br></div></div></div></div>