<div dir="ltr"><div><div><br>Preciso autenticar uma conta VONO num Asterisk 1.4.44.<br></div>Já revirei vários foruns e blogs da internet porém sempre que ligo para o número VONO autenticado no Asterisk, recebo a mensagem de caixa postal.<br>
<br></div><div>Já alterei minhas configurações para sugestões que encontrei aqui no grupo, e mesmo assim não funciona.<br>Usando softphone Linphone e ATA (sem/com NAT) funciona normalmente.<br></div><div><br></div>Segue minhas configurações e alguns debugs:<br>
<br>iron*CLI> sip show settings <br><br>Global Settings:<br>----------------<br> SIP Port: 5060<br> Bindaddress: 0.0.0.0<br> Videosupport: Yes<br> AutoCreatePeer: No<br> Allow unknown access: Yes<br>
Allow subscriptions: Yes<br> Allow overlap dialing: Yes<br> Promsic. redir: No<br> SIP domain support: No<br> Call to non-local dom.: Yes<br> URI user is phone no: No<br> Our auth realm asterisk<br>
Realm. auth: No<br> Always auth rejects: No<br> Call limit peers only: Yes<br> Direct RTP setup: No<br> User Agent: SIP Server<br> MWI checking interval: 10 secs<br> Reg. context: (not set)<br>
Caller ID: asterisk<br> From: Domain: <br> Record SIP history: On<br> Call Events: Off<br> IP ToS SIP: CS3<br> IP ToS RTP audio: EF<br> IP ToS RTP video: AF41<br>
T38 fax pt UDPTL: Yes<br> RFC2833 Compensation: No<br> SIP realtime: Disabled<br><br>Global Signalling Settings:<br>---------------------------<br> Codecs: 0x10c (ulaw|alaw|g729)<br>
Codec Order: alaw:20,ulaw:20,g729:20<br> T1 minimum: 100<br> No premature media: No<br> Relax DTMF: No<br> Compact SIP headers: Yes<br> RTP Keepalive: 0 (Disabled)<br>
RTP Timeout: 0 (Disabled)<br> RTP Hold Timeout: 0 (Disabled)<br> MWI NOTIFY mime type: application/simple-message-summary<br> DNS SRV lookup: Yes<br> Pedantic SIP support: No<br> Reg. min duration 60 secs<br>
Reg. max duration: 3600 secs<br> Reg. default duration: 120 secs<br> Outbound reg. timeout: 20 secs<br> Outbound reg. attempts: 0<br> Notify ringing state: Yes<br> Notify hold state: Yes<br> SIP Transfer mode: open<br>
Max Call Bitrate: 384 kbps<br> Auto-Framing: No <br><br>Default Settings:<br>-----------------<br> Context: default<br> Nat: RFC3581<br> DTMF: rfc2833<br>
Qualify: 0<br> Use ClientCode: No<br> Progress inband: Never<br> Language: pt_BR<br> MOH Interpret: default<br> MOH Suggest: <br> Voice Mail Extension: voicemail<br>
Forward Detected Loops: Yes<br><br><br>register => <a href="http://login_vono:senha_vono@vono.net.br:5060/login_vono">login_vono:senha_vono@vono.net.br:5060/login_vono</a><br><br><br>[login_vono]<br>username=login_vono<br>
type=peer<br>srvlookup=yes<br>secret=senha_vono<br>reinvite=no<br>qualify=2000<br>nat=no<br>insecure=very<br>host=<a href="http://vono.net.br">vono.net.br</a><br>fromuser=login_vono<br>fromdomain=<a href="http://vono.net.br">vono.net.br</a><br>
dtmfmode=rfc2833<br>domain=<a href="http://vono.net.br">vono.net.br</a><br>disallow=all<br>context=default<br>canreinvite=no<br>allow=ulaw<br>allowguest=yes<br>aut=md5<br>registertimeout=5<br>bindport=5060<br><br><br>SIP DEBUG<br>
<br>REGISTER 11 headers, 0 lines<br>Reliably Transmitting (no NAT) to <a href="http://201.86.87.35:5060">201.86.87.35:5060</a>:<br>REGISTER sip:<a href="http://vono.net.br">vono.net.br</a> SIP/2.0<br>v: SIP/2.0/UDP 207.84.244.116:5060;branch=z9hG4bK33317f8a;rport<br>
f: <<a href="mailto:sip%3Alogin_vono@vono.net.br">sip:login_vono@vono.net.br</a>>;tag=as7ffd0485<br>t: <<a href="mailto:sip%3Alogin_vono@vono.net.br">sip:login_vono@vono.net.br</a>><br>i: <a href="mailto:2c5b73890e64b671350de5b152b7bb78@207.84.244.116">2c5b73890e64b671350de5b152b7bb78@207.84.244.116</a><br>
CSeq: 102 REGISTER<br>User-Agent: SIP Server<br>Max-Forwards: 70<br>Expires: 120<br>m: <<a href="mailto:sip%3Alogin_vono@207.84.244.116">sip:login_vono@207.84.244.116</a>><br>o: registration<br>l: 0<br><br><br>---<br>
<br><--- SIP read from <a href="http://201.86.87.35:5060">201.86.87.35:5060</a> ---><br>SIP/2.0 200 OK<br>v: SIP/2.0/UDP 207.84.244.116:5060;received=207.84.244.116;branch=z9hG4bK33317f8a;rport=5060<br>f: <<a href="mailto:sip%3Alogin_vono@vono.net.br">sip:login_vono@vono.net.br</a>>;tag=as7ffd0485<br>
t: <<a href="mailto:sip%3Alogin_vono@vono.net.br">sip:login_vono@vono.net.br</a>>;tag=aprqu6sria1-mrtu5o00000c6<br>i: <a href="mailto:2c5b73890e64b671350de5b152b7bb78@207.84.244.116">2c5b73890e64b671350de5b152b7bb78@207.84.244.116</a><br>
CSeq: 102 REGISTER<br>Contact: <<a href="mailto:sip%3Alogin_vono@207.84.244.116">sip:login_vono@207.84.244.116</a>>;expires=205<br><br><br><-------------><br>--- (7 headers 0 lines) ---<br>Scheduling destruction of SIP dialog '<a href="mailto:2c5b73890e64b671350de5b152b7bb78@207.84.244.116">2c5b73890e64b671350de5b152b7bb78@207.84.244.116</a>' in 32000 ms (Method: REGISTER)<br>
[Jun 16 19:50:31] NOTICE[20211]: chan_sip.c:13978 handle_response_register: Outbound Registration: Expiry for <a href="http://vono.net.br">vono.net.br</a> is 205 sec (Scheduling reregistration in 190 s)<br>Reliably Transmitting (no NAT) to <a href="http://201.86.87.35:5060">201.86.87.35:5060</a>:<br>
OPTIONS sip:<a href="http://vono.net.br">vono.net.br</a> SIP/2.0<br>v: SIP/2.0/UDP 207.84.244.116:5060;branch=z9hG4bK122bb537;rport<br>f: "asterisk" <<a href="mailto:sip%3Aasterisk@207.84.244.116">sip:asterisk@207.84.244.116</a>>;tag=as75306cfb<br>
t: <sip:<a href="http://vono.net.br">vono.net.br</a>><br>m: <<a href="mailto:sip%3Aasterisk@207.84.244.116">sip:asterisk@207.84.244.116</a>><br>i: <a href="mailto:34f39281227bf6d73e7f4a3c22db7083@207.84.244.116">34f39281227bf6d73e7f4a3c22db7083@207.84.244.116</a><br>
CSeq: 102 OPTIONS<br>User-Agent: SIP Server<br>Max-Forwards: 70<br>Date: Mon, 16 Jun 2014 22:50:31 GMT<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO<br>k: replaces<br>l: 0<br><br><br>---<br>
<br>
<--- SIP read from <a href="http://201.86.87.35:5060">201.86.87.35:5060</a> ---><br>SIP/2.0 405 Method Not Allowed<br>v: SIP/2.0/UDP 207.84.244.116:5060;received=207.84.244.116;branch=z9hG4bK122bb537;rport=5060<br>
f: "asterisk" <<a href="mailto:sip%3Aasterisk@207.84.244.116">sip:asterisk@207.84.244.116</a>>;tag=as75306cfb<br>
t: <sip:<a href="http://vono.net.br">vono.net.br</a>>;tag=aprqngfrt-1e4rv620000c6<br>i: <a href="mailto:34f39281227bf6d73e7f4a3c22db7083@207.84.244.116">34f39281227bf6d73e7f4a3c22db7083@207.84.244.116</a><br>CSeq: 102 OPTIONS<br>
Allow: INVITE,ACK,BYE,REGISTER,CANCEL<br><br><br><-------------><br>--- (7 headers 0 lines) ---<br>Really destroying SIP dialog '<a href="mailto:34f39281227bf6d73e7f4a3c22db7083@207.84.244.116">34f39281227bf6d73e7f4a3c22db7083@207.84.244.116</a>' Method: OPTIONS<br>
<br><div><br></div><div>Quem puder ajudar, será bem vindo.<br><br></div><div>Grato,<br><br></div><div><br clear="all"><div><div><div>
Urik<br></div>
</div></div></div></div>