<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<br>
In the Asterisk log I see:<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div id="selectable">
<div class="text">
<ol>
<div class="de1">---</div>
<div class="de2">[Mar 23 19:25:29] VERBOSE[4067] chan_sip.c:
[Mar 23 19:25:29] </div>
<div class="de1"><--- SIP read from <a class="moz-txt-link-freetext" href="UDP:198.38.7.34:5065">UDP:198.38.7.34:5065</a>
---></div>
<div class="de2">SIP/2.0 200 OK</div>
<div class="de1">To:
<a class="moz-txt-link-rfc2396E" href="sip:16046289850@sip.babytel.ca"><sip:16046289850@sip.babytel.ca></a>;tag=sd3D4swKRc</div>
<div class="de2">From:
<a class="moz-txt-link-rfc2396E" href="sip:16046289850@sip.babytel.ca"><sip:16046289850@sip.babytel.ca></a>;tag=as07c833c5</div>
<div class="de1">Via: SIP/2.0/UDP
96.48.217.39:5060;branch=z9hG4bK13c68eb7;rport</div>
<div class="de2">Call-ID:
<a class="moz-txt-link-abbreviated" href="mailto:5e070a0021f200c72308ddad6fe2521c@192.168.0.99">5e070a0021f200c72308ddad6fe2521c@192.168.0.99</a></div>
<div class="de1">CSeq: 221 REGISTER</div>
<div class="de2">Contact:
<a class="moz-txt-link-rfc2396E" href="sip:16046289850@96.48.217.39:5060"><sip:16046289850@96.48.217.39:5060></a>;expires=55</div>
<div class="de1">Content-Length: 0</div>
<div class="de2"> </div>
<div class="de1"><-------------></div>
<div class="de2">[Mar 23 19:25:29] VERBOSE[4067] chan_sip.c:
[Mar 23 19:25:29] --- (8 headers 0 lines) ---</div>
<div class="de1">[Mar 23 19:25:29] NOTICE[4067] chan_sip.c:
Outbound Registration: Expiry for nat5.babytel.ca is 55 sec
(Scheduling reregistration in 40 s)</div>
<div class="de2">[Mar 23 19:25:29] VERBOSE[4067] chan_sip.c:
[Mar 23 19:25:29] Really destroying SIP dialog
'<a class="moz-txt-link-abbreviated" href="mailto:5e070a0021f200c72308ddad6fe2521c@192.168.0.99">5e070a0021f200c72308ddad6fe2521c@192.168.0.99</a>' Method:
REGISTER</div>
<div class="de1">[Mar 23 19:25:44] VERBOSE[4003] asterisk.c:
[Mar 23 19:25:44] -- Remote UNIX connection</div>
<div class="de2">[Mar 23 19:26:01] VERBOSE[15640] manager.c:
[Mar 23 19:26:01] == Manager 'sendcron' logged on from
127.0.0.1</div>
<div class="de1">[Mar 23 19:26:01] VERBOSE[15640] manager.c:
[Mar 23 19:26:01] == Manager 'sendcron' logged off from
127.0.0.1</div>
<div class="de2">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] </div>
<div class="de1"><--- SIP read from <a class="moz-txt-link-freetext" href="UDP:192.168.0.28:5060">UDP:192.168.0.28:5060</a>
---></div>
<div class="de2">REGISTER <a class="moz-txt-link-freetext" href="sip:192.168.0.99">sip:192.168.0.99</a> SIP/2.0</div>
<div class="de1">Call-ID:
d7ab3099e71b65e0ae104cc441aecc25@0:0:0:0:0:0:0:0</div>
<div class="de2">CSeq: 4 REGISTER</div>
<div class="de1">From: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=5fbdd638</div>
<div class="de2">To: "201" <a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a></div>
<div class="de1">Max-Forwards: 70</div>
<div class="de2">User-Agent: Jitsi2.6.5390Mac OS X</div>
<div class="de1">Expires: 600</div>
<div class="de2">Contact: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.28:5060;transport=udp;registering_acc=192_168_0_99"><sip:201@192.168.0.28:5060;transport=udp;registering_acc=192_168_0_99></a>;expires=600</div>
<div class="de1">Via: SIP/2.0/UDP
192.168.0.28:5060;branch=z9hG4bK-333334-5e76c348412aa7cadf05777dd72d8a4d</div>
<div class="de2">Authorization: Digest
username="201",realm="asterisk",nonce="2577db3d",uri=<a class="moz-txt-link-rfc2396E" href="sip:192.168.0.99">"sip:192.168.0.99"</a>,response="c3c4a08638f1ac928b1329b312038e75",algorithm=MD5</div>
<div class="de1">Content-Length: 0</div>
<div class="de2"> </div>
<div class="de1"><-------------></div>
<div class="de2">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] --- (12 headers 0 lines) ---</div>
<div class="de1">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] Sending to 192.168.0.28:5060 (NAT)</div>
<div class="de2">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] </div>
<div class="de1"><--- Transmitting (NAT) to
192.168.0.28:5060 ---></div>
<div class="de2">SIP/2.0 401 Unauthorized</div>
<div class="de1">Via: SIP/2.0/UDP
192.168.0.28:5060;branch=z9hG4bK-333334-5e76c348412aa7cadf05777dd72d8a4d;received=192.168.0.28;rport=5060</div>
<div class="de2">From: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=5fbdd638</div>
<div class="de1">To: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=as78b94599</div>
<div class="de2">Call-ID:
d7ab3099e71b65e0ae104cc441aecc25@0:0:0:0:0:0:0:0</div>
<div class="de1">CSeq: 4 REGISTER</div>
<div class="de2">Server: Asterisk PBX 1.8.29.0-vici</div>
<div class="de1">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div>
<div class="de2">Supported: replaces, timer</div>
<div class="de1">WWW-Authenticate: Digest algorithm=MD5,
realm="asterisk", nonce="43b1ba24"</div>
<div class="de2">Content-Length: 0</div>
<div class="de1"> </div>
<div class="de2"> </div>
<div class="de1"><------------></div>
<div class="de2">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] Scheduling destruction of SIP dialog
'd7ab3099e71b65e0ae104cc441aecc25@0:0:0:0:0:0:0:0' in 32000
ms (Method: REGISTER)</div>
<div class="de1">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] </div>
<div class="de2"><--- SIP read from <a class="moz-txt-link-freetext" href="UDP:192.168.0.28:5060">UDP:192.168.0.28:5060</a>
---></div>
<div class="de1">REGISTER <a class="moz-txt-link-freetext" href="sip:192.168.0.99">sip:192.168.0.99</a> SIP/2.0</div>
<div class="de2">Call-ID:
d7ab3099e71b65e0ae104cc441aecc25@0:0:0:0:0:0:0:0</div>
<div class="de1">CSeq: 5 REGISTER</div>
<div class="de2">From: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=5fbdd638</div>
<div class="de1">To: "201" <a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a></div>
<div class="de2">Max-Forwards: 70</div>
<div class="de1">User-Agent: Jitsi2.6.5390Mac OS X</div>
<div class="de2">Expires: 600</div>
<div class="de1">Contact: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.28:5060;transport=udp;registering_acc=192_168_0_99"><sip:201@192.168.0.28:5060;transport=udp;registering_acc=192_168_0_99></a>;expires=600</div>
<div class="de2">Via: SIP/2.0/UDP
192.168.0.28:5060;branch=z9hG4bK-333334-364fb1c68f6d21e3f71292e300535c15</div>
<div class="de1">Authorization: Digest
username="201",realm="asterisk",nonce="43b1ba24",uri=<a class="moz-txt-link-rfc2396E" href="sip:192.168.0.99">"sip:192.168.0.99"</a>,response="ed23dc12d2effb6d02d5c7aa33a260d5",algorithm=MD5</div>
<div class="de2">Content-Length: 0</div>
<div class="de1"> </div>
<div class="de2"><-------------></div>
<div class="de1">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] --- (12 headers 0 lines) ---</div>
<div class="de2">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] Sending to 192.168.0.28:5060 (NAT)</div>
<div class="de1">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] </div>
<div class="de2"><--- Transmitting (NAT) to
192.168.0.28:5060 ---></div>
<div class="de1">SIP/2.0 403 Forbidden</div>
<div class="de2">Via: SIP/2.0/UDP
192.168.0.28:5060;branch=z9hG4bK-333334-364fb1c68f6d21e3f71292e300535c15;received=192.168.0.28;rport=5060</div>
<div class="de1">From: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=5fbdd638</div>
<div class="de2">To: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=as78b94599</div>
<div class="de1">Call-ID:
d7ab3099e71b65e0ae104cc441aecc25@0:0:0:0:0:0:0:0</div>
<div class="de2">CSeq: 5 REGISTER</div>
<div class="de1">Server: Asterisk PBX 1.8.29.0-vici</div>
<div class="de2">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div>
<div class="de1">Supported: replaces, timer</div>
<div class="de2">Content-Length: 0</div>
<div class="de1"> </div>
<div class="de2"> </div>
<div class="de1"><------------></div>
<div class="de2">[Mar 23 19:26:04] NOTICE[4067] chan_sip.c:
Registration from '"201" <a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>'
failed for '192.168.0.28:5060' - Wrong password</div>
<div class="de1">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] Scheduling destruction of SIP dialog
'd7ab3099e71b65e0ae104cc441aecc25@0:0:0:0:0:0:0:0' in 32000
ms (Method: REGISTER)</div>
<div class="de2">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] </div>
<div class="de1"><--- SIP read from <a class="moz-txt-link-freetext" href="UDP:192.168.0.28:5060">UDP:192.168.0.28:5060</a>
---></div>
<div class="de2">REGISTER <a class="moz-txt-link-freetext" href="sip:192.168.0.99">sip:192.168.0.99</a> SIP/2.0</div>
<div class="de1">Call-ID:
d7ab3099e71b65e0ae104cc441aecc25@0:0:0:0:0:0:0:0</div>
<div class="de2">CSeq: 6 REGISTER</div>
<div class="de1">From: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=5fbdd638</div>
<div class="de2">To: "201" <a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a></div>
<div class="de1">Max-Forwards: 70</div>
<div class="de2">User-Agent: Jitsi2.6.5390Mac OS X</div>
<div class="de1">Expires: 600</div>
<div class="de2">Contact: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.28:5060;transport=udp;registering_acc=192_168_0_99"><sip:201@192.168.0.28:5060;transport=udp;registering_acc=192_168_0_99></a>;expires=600</div>
<div class="de1">Via: SIP/2.0/UDP
192.168.0.28:5060;branch=z9hG4bK-333334-9eca7bab7d7d48366170c097cbf3280a</div>
<div class="de2">Content-Length: 0</div>
<div class="de1"> </div>
<div class="de2"><-------------></div>
<div class="de1">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] --- (11 headers 0 lines) ---</div>
<div class="de2">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] Sending to 192.168.0.28:5060 (NAT)</div>
<div class="de1">[Mar 23 19:26:04] VERBOSE[4067] chan_sip.c:
[Mar 23 19:26:04] </div>
<div class="de2"><--- Transmitting (NAT) to
192.168.0.28:5060 ---></div>
<div class="de1">SIP/2.0 401 Unauthorized</div>
<div class="de2">Via: SIP/2.0/UDP
192.168.0.28:5060;branch=z9hG4bK-333334-9eca7bab7d7d48366170c097cbf3280a;received=192.168.0.28;rport=5060</div>
<div class="de1">From: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=5fbdd638</div>
<div class="de2">To: "201"
<a class="moz-txt-link-rfc2396E" href="sip:201@192.168.0.99"><sip:201@192.168.0.99></a>;tag=as78b94599</div>
<div class="de1">Call-ID:
d7ab3099e71b65e0ae104cc441aecc25@0:0:0:0:0:0:0:0</div>
<div class="de2">CSeq: 6 REGISTER</div>
<div class="de1">Server: Asterisk PBX 1.8.29.0-vici</div>
<div class="de2">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE,
REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</div>
<div class="de1">Supported: replaces, timer</div>
<div class="de2">WWW-Authenticate: Digest algorithm=MD5,
realm="asterisk", nonce="610257fc"</div>
<div class="de1">Content-Length: 0</div>
<div class="de2"> </div>
<div class="de1"> </div>
<div class="de2"><------------></div>
</ol>
</div>
<br>
<br>
however, when I look in the console, with "sip set debug on,"
there's no output. Here is the peer:<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div id="selectable">
<div class="text">
<ol>
<div class="de1"> </div>
<div class="de2">linux-k7qk*CLI> </div>
<div class="de1">linux-k7qk*CLI> sip show peers</div>
<div class="de2">Name/username Host
Dyn Forcerport ACL Port Status
</div>
<div class="de1">201/201 (Unspecified)
D N 0 UNKNOWN
</div>
<div class="de2">202/202 (Unspecified)
D N 0 UNKNOWN
</div>
<div class="de1">babytel/16046289850 198.38.7.34
N 5065
Unmonitored </div>
<div class="de2">gs102/gs102 (Unspecified)
D N 0 UNKNOWN
</div>
<div class="de1">4 sip peers [Monitored: 0 online, 3 offline
Unmonitored: 1 online, 0 offline]</div>
<div class="de2">linux-k7qk*CLI> </div>
<div class="de1">linux-k7qk*CLI> sip show peer 201</div>
<div class="de2"> </div>
<div class="de1"> </div>
<div class="de2"> * Name : 201</div>
<div class="de1"> Secret : <Set></div>
<div class="de2"> MD5Secret : <Not set></div>
<div class="de1"> Remote Secret: <Not set></div>
<div class="de2"> Context : default</div>
<div class="de1"> Subscr.Cont. : <Not set></div>
<div class="de2"> Language : en</div>
<div class="de1"> Accountcode : 201</div>
<div class="de2"> AMA flags : Unknown</div>
<div class="de1"> Netborder CPD: No</div>
<div class="de2"> Transfer mode: open</div>
<div class="de1"> CallingPres : Presentation Allowed, Not
Screened</div>
<div class="de2"> Callgroup : </div>
<div class="de1"> Pickupgroup : </div>
<div class="de2"> MOH Suggest : default</div>
<div class="de1"> Mailbox : 201</div>
<div class="de2"> VM Extension : asterisk</div>
<div class="de1"> LastMsgsSent : 32767/65535</div>
<div class="de2"> Call limit : 0</div>
<div class="de1"> Max forwards : 0</div>
<div class="de2"> Dynamic : Yes</div>
<div class="de1"> Callerid : "jitsi201" <201></div>
<div class="de2"> MaxCallBR : 384 kbps</div>
<div class="de1"> Expire : -1</div>
<div class="de2"> Insecure : no</div>
<div class="de1"> Force rport : Yes</div>
<div class="de2"> ACL : No</div>
<div class="de1"> DirectMedACL : No</div>
<div class="de2"> T.38 support : No</div>
<div class="de1"> T.38 EC mode : Unknown</div>
<div class="de2"> T.38 MaxDtgrm: 4294967295</div>
<div class="de1"> DirectMedia : No</div>
<div class="de2"> PromiscRedir : No</div>
<div class="de1"> User=Phone : No</div>
<div class="de2"> Video Support: No</div>
<div class="de1"> Text Support : No</div>
<div class="de2"> Ign SDP ver : No</div>
<div class="de1"> Trust RPID : No</div>
<div class="de2"> Send RPID : Yes</div>
<div class="de1"> TrustIDOutbnd: Legacy</div>
<div class="de2"> Subscriptions: Yes</div>
<div class="de1"> Overlap dial : No</div>
<div class="de2"> DTMFmode : rfc2833</div>
<div class="de1"> Timer T1 : 500</div>
<div class="de2"> Timer B : 32000</div>
<div class="de1"> ToHost : </div>
<div class="de2"> Addr->IP : (null)</div>
<div class="de1"> Defaddr->IP : (null)</div>
<div class="de2"> Prim.Transp. : UDP</div>
<div class="de1"> Allowed.Trsp : UDP</div>
<div class="de2"> Def. Username: 201</div>
<div class="de1"> SIP Options : (none)</div>
<div class="de2"> Codecs : 0x6 (gsm|ulaw)</div>
<div class="de1"> Codec Order : (ulaw:20,gsm:20)</div>
<div class="de2"> Auto-Framing : No</div>
<div class="de1"> Status : UNKNOWN</div>
<div class="de2"> Useragent : </div>
<div class="de1"> Reg. Contact : </div>
<div class="de2"> Qualify Freq : 60000 ms</div>
<div class="de1"> Sess-Timers : Accept</div>
<div class="de2"> Sess-Refresh : uas</div>
<div class="de1"> Sess-Expires : 1800 secs</div>
<div class="de2"> Min-Sess : 90 secs</div>
<div class="de1"> RTP Engine : asterisk</div>
<div class="de2"> Parkinglot : </div>
<div class="de1"> Use Reason : No</div>
<div class="de2"> Encryption : No</div>
<div class="de1"> </div>
<div class="de2">linux-k7qk*CLI> </div>
<div class="de1">linux-k7qk*CLI></div>
</ol>
</div>
</div>
<br>
</div>
<br>
The port seems to be open and listened to:<br>
<br>
<br>
linux-k7qk:~ # <br>
linux-k7qk:~ # lsof -i <a class="moz-txt-link-freetext" href="UDP:5060">UDP:5060</a><br>
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME<br>
asterisk 3520 root 12u IPv4 16438 0t0 UDP *:sip <br>
linux-k7qk:~ # <br>
<br>
<br>
and the bind address is correct:<br>
<br>
linux-k7qk:~ # <br>
linux-k7qk:~ # cat /etc/asterisk/sip.conf | grep bind<br>
bindport=5060 ; UDP Port to bind to (SIP standard
port is 5060)<br>
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0
binds to all)<br>
linux-k7qk:~ # <br>
<br>
<br>
<br>
<br>
so, why, when Jitsi tries to connect to Asterisk, does it return
with:<br>
<br>
15:13:29.040 SEVERE: [29]
service.protocol.AccountManager.doLoadStoredAccounts().213 Failed to
load account {SERVER_PORT=6697,
ACCOUNT_ICON_PATH=resources/images/protocol/irc/irc32x32.png,
AUTO_CHANGE_USER_NAME=true, CHAT_ROOM_PRESENCE_TASK=true,
NO_PASSWORD_REQUIRED=false, ACCOUNT_UID=<a class="moz-txt-link-freetext" href="IRC:201@192.168.0.99:6697">IRC:201@192.168.0.99:6697</a>,
SERVER_ADDRESS=192.168.0.99, USER_ID=201, DEFAULT_ENCRYPTION=true,
PROTOCOL_NAME=IRC, ENCRYPTED_PASSWORD=/hcTkghmfRJWFXrWaKDMmA==,
CONTACT_PRESENCE_TASK=true}<br>
java.lang.IllegalArgumentException: nick name contains invalid
characters: only letters, digits and -, \, [, ], `, ^, {, }, |, _
are allowed<br>
at
net.java.sip.communicator.impl.protocol.irc.IdentityManager.checkNick(IdentityManager.java:194)<br>
at
net.java.sip.communicator.impl.protocol.irc.IrcStack$ServerParameters.<init>(IrcStack.java:354)<br>
at
net.java.sip.communicator.impl.protocol.irc.IrcStack$ServerParameters.<init>(IrcStack.java:311)<br>
at
net.java.sip.communicator.impl.protocol.irc.IrcStack.<init>(IrcStack.java:89)<br>
at
net.java.sip.communicator.impl.protocol.irc.ProtocolProviderServiceIrcImpl.initialize(ProtocolProviderServiceIrcImpl.java:149)<br>
at
net.java.sip.communicator.impl.protocol.irc.ProtocolProviderFactoryIrcImpl.createService(ProtocolProviderFactoryIrcImpl.java:136)<br>
at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.loadAccount(ProtocolProviderFactory.java:983)<br>
at
net.java.sip.communicator.service.protocol.AccountManager.doLoadStoredAccounts(AccountManager.java:204)<br>
at
net.java.sip.communicator.service.protocol.AccountManager.loadStoredAccounts(AccountManager.java:446)<br>
at
net.java.sip.communicator.service.protocol.AccountManager.runInLoadStoredAccountsThread(AccountManager.java:562)<br>
at
net.java.sip.communicator.service.protocol.AccountManager.access$100(AccountManager.java:26)<br>
at
net.java.sip.communicator.service.protocol.AccountManager$2.run(AccountManager.java:487)<br>
<br>
<br>
The "nick name" is 201, no special characters...<br>
<br>
I'm on an older, so want to use Jitsi because it's cross platform.<br>
<br>
<br>
<br>
thanks,<br>
<br>
Thufir<br>
</body>
</html>