<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
> /[root@dhcppc0 asterisk]# vi extensions.conf<br>
> [tutorial]<br>
> exten => 1234,1,Dial(SIP,gianca)/<br>
> /exten => 12345,1,Dial(SIP,giusy)<br>
> /<br>
> Here the XLITE user data:<br>
><br>
> /Display Name: gianca/<br>
> /Username: 1234/<br>
> /Password: pwd_gianca/<br>
> /Authorization User Name: 1234/<br>
> /Domain: <a href="http://192.168.1.100/" target="_blank">192.168.1.100/</a><br>
<br>
Your XLITE user name should be the same as the sip account name(gianca
not 1234). <br>
<br>
And the extensions.conf should be:<br>
<br>
exten => 1234,1,Dial(SIP/gianca)<br>
<br>
giancarlo lombardo wrote:
<blockquote
cite="mid:4aa504790911080853m5bbeac06x45395f28989774cb@mail.gmail.com"
type="cite">
<div>Ciao,</div>
<div>the problem is still present, does anyone have some other
suggestion ?</div>
<div> </div>
<div>Below the output of CLI with debug option on XLITE IP and show
peers command:</div>
<div> </div>
<div><em>dhcppc0*CLI><br>
<--- SIP read from <a moz-do-not-send="true"
href="http://192.168.1.116:14166">192.168.1.116:14166</a> ---><br>
REGISTER sip:192.168.1.100 SIP/2.0<br>
Via: SIP/2.0/UDP
192.168.1.116:14166;branch=z9hG4bK-d8754z-4d4ced5bca35b64c-1---d8754z-;rport<br>
Max-Forwards: 70<br>
Contact: <a class="moz-txt-link-rfc2396E" href="mailto:sip:1234@192.168.1.116:14166;rinstance=c18a16f442f17333"><sip:1234@192.168.1.116:14166;rinstance=c18a16f442f17333></a><br>
To: "gianca"<<a moz-do-not-send="true"
href="mailto:sip%3A1234@192.168.1.100">sip:1234@192.168.1.100</a>><br>
From: "gianca"<<a moz-do-not-send="true"
href="mailto:sip%3A1234@192.168.1.100">sip:1234@192.168.1.100</a>>;tag=be7e8a36<br>
Call-ID: YTMxMzY0OTJiOTczNjlmNzZkNzEzMTE2N2FmM2E3NmE.<br>
CSeq: 1 REGISTER<br>
Expires: 3600<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO<br>
User-Agent: X-Lite release 1103k stamp 53621<br>
Content-Length: 0</em></div>
<div><br>
<em><-------------><br>
--- (12 headers 0 lines) ---<br>
Using latest REGISTER request as basis request<br>
Sending to 192.168.1.116 : 14166 (NAT)</em></div>
<div><em><--- Transmitting (NAT) to <a moz-do-not-send="true"
href="http://192.168.1.116:14166">192.168.1.116:14166</a> ---><br>
SIP/2.0 404 Not found<br>
Via: SIP/2.0/UDP
192.168.1.116:14166;branch=z9hG4bK-d8754z-4d4ced5bca35b64c-1---d8754z-;received=192.168.1.116;rport=14166<br>
From: "gianca"<<a moz-do-not-send="true"
href="mailto:sip%3A1234@192.168.1.100">sip:1234@192.168.1.100</a>>;tag=be7e8a36<br>
To: "gianca"<<a moz-do-not-send="true"
href="mailto:sip%3A1234@192.168.1.100">sip:1234@192.168.1.100</a>>;tag=as0194534b<br>
Call-ID: YTMxMzY0OTJiOTczNjlmNzZkNzEzMTE2N2FmM2E3NmE.<br>
CSeq: 1 REGISTER<br>
User-Agent: Asterisk PBX<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br>
Supported: replaces<br>
Content-Length: 0</em></div>
<div><br>
<em><------------><br>
Scheduling destruction of SIP dialog
'YTMxMzY0OTJiOTczNjlmNzZkNzEzMTE2N2FmM2E3NmE.' in 32000 ms (Method:
REGISTER)<br>
Really destroying SIP dialog
'YTMxMzY0OTJiOTczNjlmNzZkNzEzMTE2N2FmM2E3NmE.' Method: REGISTER<br>
dhcppc0*CLI> sip show peers<br>
Name/username Host Dyn Nat ACL Port Status<br>
giusy/giusy (Unspecified) D 0
Unmonitored<br>
gianca/gianca (Unspecified) D 0
Unmonitored<br>
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 2
offline]<br>
dhcppc0*CLI></em><br>
<br>
<br>
</div>
<div class="gmail_quote">2009/11/8 Ahmed Ossama <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:ahmed@master-zone.net">ahmed@master-zone.net</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
Try this in X-Lite config section:<br>
<br>
/Display Name: gianca/<br>
/Username: //gianca/<br>
/Password: pwd_gianca/<br>
/Authorization User Name: //gianca/<br>
/Domain: 192.168.1.100<br>
<br>
/<br>
Ahmed Ossama<br>
<div>
<div class="h5"><br>
giancarlo lombardo wrote:<br>
> Dear all,<br>
> I'm setting up a connection via XLITE softphone and asterisk 1.4
but I<br>
> get the error:<br>
> /Registration error: 404 Not found/<br>
><br>
> Here my configuration file of asterisk:<br>
><br>
> /[root@dhcppc0 asterisk]# vi sip.conf<br>
> [gianca]<br>
> type=friend<br>
> username=gianca<br>
> secret=pwd_gianca<br>
> host=dynamic<br>
> context=tutorial/<br>
> /[giusy]<br>
> type=friend<br>
> username=giusy<br>
> secret=pwd_giusy<br>
> host=dynamic<br>
> context=tutorial/<br>
><br>
> /[root@dhcppc0 asterisk]# vi extensions.conf<br>
> [tutorial]<br>
> exten => 1234,1,Dial(SIP,gianca)/<br>
> /exten => 12345,1,Dial(SIP,giusy)<br>
> /<br>
> Here the XLITE user data:<br>
><br>
> /Display Name: gianca/<br>
> /Username: 1234/<br>
> /Password: pwd_gianca/<br>
> /Authorization User Name: 1234/<br>
> /Domain: <a moz-do-not-send="true" href="http://192.168.1.100/"
target="_blank">192.168.1.100/</a><br>
> Here the output of wireshark in between Xlite client and asterisk
server:<br>
> //<br>
> /0040 2e 31 30 30 20 53 49 50 2f 32 2e 30 0d 0a 56 69 .100 SIP<br>
> /2.0..Vi<br>
> 0050 61 3a 20 53 49 50 2f 32 2e 30 2f 55 44 50 20 31 a: SIP/2
.0/UDP 1<br>
> 0060 39 32 2e 31 36 38 2e 31 2e 31 31 36 3a 35 34 30 92.168.1
.116:540<br>
> 0070 35 30 3b 62 72 61 6e 63 68 3d 7a 39 68 47 34 62 50;branc
h=z9hG4b<br>
> 0080 4b 2d 64 38 37 35 34 7a 2d 32 34 32 38 38 65 37 K-d8754z
-24288e7<br>
> 0090 32 38 32 36 64 30 31 32 38 2d 31 2d 2d 2d 64 38 2826d012
8-1---d8<br>
> 00a0 37 35 34 7a 2d 3b 72 70 6f 72 74 0d 0a 4d 61 78 754z-;rp
ort..Max<br>
> 00b0 2d 46 6f 72 77 61 72 64 73 3a 20 37 30 0d 0a 43 -Forward
s: 70..C<br>
> 00c0 6f 6e 74 61 63 74 3a 20 3c 73 69 70 3a 31 32 33 ontact:
<sip:123<br>
</div>
</div>
> 00d0 34 40 31 39 32 2e 31 36 38 2e 31 2e 31 31 36 3a
//4@192.16/<br>
> <mailto:<a moz-do-not-send="true" href="mailto:4@192.16">4@192.16</a>>/
8.1.116:<br>
<div>
<div class="h5">> 00e0 35 34 30 35 30 3b 72 69 6e 73 74 61 6e
63 65 3d 54050;ri nstance=<br>
> 00f0 36 33 61 39 66 64 62 62 62 62 39 64 30 33 62 30 63a9fdbb
bb9d03b0<br>
> 0100 3e 0d 0a 54 6f 3a 20 22 67 69 61 6e 63 61 22 3c >..To:
" gianca"<<br>
> 0110 73 69 70 3a 31 32 33 34 40 31 39 32 2e 31 36 38 sip:1234
@192.168<br>
> 0120 2e 31 2e 31 30 30 3e 0d 0a 46 72 6f 6d 3a 20 22
.1.100>. .From: "<br>
> 0130 67 69 61 6e 63 61 22 3c 73 69 70 3a 31 32 33 34
gianca"< sip:1234<br>
> 0140 40 31 39 32 2e 31 36 38 2e 31 2e 31 30 30 3e 3b @192.168
.1.100>;<br>
> 0150 74 61 67 3d 65 34 35 64 65 35 36 62 0d 0a 43 61 tag=e45d
e56b..Ca<br>
> 0160 6c 6c 2d 49 44 3a 20 4e 47 49 33 59 6a 49 7a 4d ll-ID: N
GI3YjIzM<br>
> 0170 6a 49 79 4e 47 49 77 5a 54 6b 77 4d 54 63 35 5a jIyNGIwZ
TkwMTc5Z<br>
> 0180 47 49 77 4d 57 51 33 4d 57 5a 69 4f 57 4a 6b 4e GIwMWQ3M
WZiOWJkN<br>
> 0190 44 59 2e 0d 0a 43 53 65 71 3a 20 31 20 52 45 47 DY...CSe
q: 1 REG<br>
> 01a0 49 53 54 45 52 0d 0a 45 78 70 69 72 65 73 3a 20 ISTER..E
xpires:<br>
> 01b0 33 36 30 30 0d 0a 41 6c 6c 6f 77 3a 20 49 4e 56 3600..Al
low: INV<br>
> 01c0 49 54 45 2c 20 41 43 4b 2c 20 43 41 4e 43 45 4c ITE, ACK
, CANCEL<br>
> 01d0 2c 20 4f 50 54 49 4f 4e 53 2c 20 42 59 45 2c 20 , OPTION
S, BYE,<br>
> 01e0 52 45 46 45 52 2c 20 4e 4f 54 49 46 59 2c 20 4d REFER, N
OTIFY, M<br>
> 01f0 45 53 53 41 47 45 2c 20 53 55 42 53 43 52 49 42 ESSAGE,
SUBSCRIB<br>
> 0200 45 2c 20 49 4e 46 4f 0d 0a 55 73 65 72 2d 41 67 E, INFO.
.User-Ag<br>
> 0210 65 6e 74 3a 20 58 2d 4c 69 74 65 20 72 65 6c 65 ent: X-L
ite rele<br>
> 0220 61 73 65 20 31 31 30 33 6b 20 73 74 61 6d 70 20 ase 1103
k stamp<br>
> 0230 35 33 36 32 31 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 53621..C
ontent-L<br>
> 0240 65 6e 67 74 68 3a 20 30 0d 0a 0d 0a ength: 0<br>
> ..../<br>
> /0000 00 17 c4 59 b6 56 00 0a e6 23 92 6b 08 00 45 00 ...Y.V..<br>
> .#.k..E.<br>
> 0010 01 ea 0b 80 00 00 40 11 e9 5a c0 a8 01 64 c0 a8 ......@.
.Z...d..<br>
> 0020 01 74 13 c4 d3 22 01 d6 10 53 53 49 50 2f 32 2e .t..."..
.SSIP/2.<br>
> 0030 30 20 34 30 34 20 4e 6f 74 20 66 6f 75 6e 64 0d 0 404 No
t found.<br>
> 0040 0a 56 69 61 3a 20 53 49 50 2f 32 2e 30 2f 55 44 .Via: SI
P/2.0/UD<br>
> 0050 50 20 31 39 32 2e 31 36 38 2e 31 2e 31 31 36 3a P 192.16
8.1.116:<br>
> 0060 35 34 30 35 30 3b 62 72 61 6e 63 68 3d 7a 39 68 54050;br
anch=z9h<br>
> 0070 47 34 62 4b 2d 64 38 37 35 34 7a 2d 32 34 32 38 G4bK-d87
54z-2428<br>
> 0080 38 65 37 32 38 32 36 64 30 31 32 38 2d 31 2d 2d 8e72826d
0128-1--<br>
> 0090 2d 64 38 37 35 34 7a 2d 3b 72 65 63 65 69 76 65 -d8754z-
;receive<br>
> 00a0 64 3d 31 39 32 2e 31 36 38 2e 31 2e 31 31 36 3b d=192.16
8.1.116;<br>
> 00b0 72 70 6f 72 74 3d 35 34 30 35 30 0d 0a 46 72 6f rport=54
050..Fro<br>
> 00c0 6d 3a 20 22 67 69 61 6e 63 61 22 3c 73 69 70 3a m: "gian
ca"<sip:<br>
</div>
</div>
> 00d0 31 32 33 34 40 31 39 32 2e 31 36 38 2e 31 2e 31
//1234@192/<br>
> <mailto:<a moz-do-not-send="true" href="mailto:1234@192">1234@192</a>>/
.168.1.1<br>
<div class="im">> 00e0 30 30 3e 3b 74 61 67 3d 65 34 35 64 65
35 36 62 00>;tag= e45de56b<br>
> 00f0 0d 0a 54 6f 3a 20 22 67 69 61 6e 63 61 22 3c 73 ..To: "g
ianca"<s<br>
> 0100 69 70 3a 31 32 33 34 40 31 39 32 2e 31 36 38 2e ip:1234@
192.168.<br>
> 0110 31 2e 31 30 30 3e 3b 74 61 67 3d 61 73 36 35 35
1.100>;t ag=as655<br>
> 0120 64 36 66 31 32 0d 0a 43 61 6c 6c 2d 49 44 3a 20 d6f12..C
all-ID:<br>
> 0130 4e 47 49 33 59 6a 49 7a 4d 6a 49 79 4e 47 49 77 NGI3YjIz
MjIyNGIw<br>
> 0140 5a 54 6b 77 4d 54 63 35 5a 47 49 77 4d 57 51 33 ZTkwMTc5
ZGIwMWQ3<br>
> 0150 4d 57 5a 69 4f 57 4a 6b 4e 44 59 2e 0d 0a 43 53 MWZiOWJk
NDY...CS<br>
> 0160 65 71 3a 20 31 20 52 45 47 49 53 54 45 52 0d 0a eq: 1 RE
GISTER..<br>
> 0170 55 73 65 72 2d 41 67 65 6e 74 3a 20 41 73 74 65 User-Age
nt: Aste<br>
> 0180 72 69 73 6b 20 50 42 58 0d 0a 41 6c 6c 6f 77 3a risk PBX
..Allow:<br>
> 0190 20 49 4e 56 49 54 45 2c 20 41 43 4b 2c 20 43 41 INVITE,
ACK, CA<br>
> 01a0 4e 43 45 4c 2c 20 4f 50 54 49 4f 4e 53 2c 20 42 NCEL, OP
TIONS, B<br>
> 01b0 59 45 2c 20 52 45 46 45 52 2c 20 53 55 42 53 43 YE, REFE
R, SUBSC<br>
> 01c0 52 49 42 45 2c 20 4e 4f 54 49 46 59 0d 0a 53 75 RIBE, NO
TIFY..Su<br>
> 01d0 70 70 6f 72 74 65 64 3a 20 72 65 70 6c 61 63 65 pported:
replace<br>
> 01e0 73 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 s..Conte
nt-Lengt<br>
> 01f0 68 3a 20 30 0d 0a 0d 0a h: 0....<br>
> /<br>
><br>
> Any help is welcome.<br>
><br>
><br>
> --<br>
> Giancarlo Lombardo<br>
</div>
>
------------------------------------------------------------------------<br>
<div>
<div class="h5">><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a moz-do-not-send="true"
href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a>
--<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a moz-do-not-send="true"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true"
href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a>
--<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a moz-do-not-send="true"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Giancarlo Lombardo<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
<br>
</body>
</html>