On 5/18/06, <b class="gmail_sendername">Benchev</b> <<a href="mailto:bbench@mail.bg">bbench@mail.bg</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> I'm trying to start with Asterisk, but I could not put 2 softphones to<br>> talk. The asterisk server rejects the connections always when I dial.<br>><br>> May 17 07:49:22 NOTICE[1924]: Rejected connect attempt from
<a href="http://192.168.0.106">192.168.0.106</a><br>><br>> What is necessary to put it to work?<br>> There is no need to configure external lines.<br>><br>> extensions.conf<br>><br>> [internal1]<br>> exten => 311000,1,Dial(SIP/teste1)
<br>><br>> [internal2]<br>> exten => 312000,1,Dial(SIP/teste2)<br>><br>> [internal3]<br>> exten => 313000,1,Dial(SIP/teste3)<br>> [teste1]<br>><br>><br>> sip.conf<br>><br>> [teste1]
<br>> type=friend<br>> username=teste1<br>> secret=123<br>><br>> qualify=yes<br>> nat=no<br>> host=dynamic<br>> canreinvite=no<br>> context=internal<br>><br>> [teste2]<br>> type=friend<br>
> username=teste2<br>> secret=123<br>><br>> qualify=yes<br>> nat=no<br>> host=dynamic<br>> canreinvite=no<br>> context=internal2<br>><br>> [teste3]<br>> type=friend<br>> username=teste3
<br>> secret=123<br>><br>> qualify=yes<br>> nat=no<br>> host=dynamic<br>> canreinvite=no<br>> context=internal3<br>Debug/verbose is too short, but<br>probably your peers cannot "meet" in<br>
a mutual context.<br><br>Try:<br>extensions.conf<br>[default]<br>include => internal<br>[internal]<br>exten => 311000,1,Dial(SIP/teste1)<br>exten => 311000,2,Hangup ; Hangup is good<br><br>exten => 312000,1,Dial(SIP/teste2)
<br>exten => 312000,2,Hangup<br><br>exten => 313000,1,Dial(SIP/teste3)<br>exten => 313000,2,Hangup<br><br>Put context=internal or default in all your sip "friends".<br><br>Hope that would do.<br><br>Benchev
<br></blockquote></div><br>Benchev,<br><br><br>thanks for the attention.<br>But didn't solve the problem. I think it is something with access.<br>I set debug and verbose to 10 and got this.<br><br>extensions.conf ( I've changed internal by from-sip)
<br><br>[default]<br>include => from-sip<br>include => demo<br><br>[from-sip]<br>exten => 9222,1,Dial(SIP/9222,25)<br>exten => 9222,2,Hangup<br><br>exten => 9223,1,Dial(SIP/9223,25)<br>exten => 9223,2,Hangup
<br><br>exten => 31200,1,Dial(SIP/312000,25)<br>exten => 31200,2,Hangup<br><br><br>sip.conf<br><br>[general]<br>context=default<br>port=5060 <br>bindaddr=<a href="http://0.0.0.0">0.0.0.0</a> <br>
;srvlookup=yes<br><br><br>[9222]<br>type=friend<br>callerid = "Nome - 9222" <9222><br>username=9222<br>secret=9222<br>host= dynamic<br>context=from-sip<br>dtmfmode=rfc2833<br>nat=yes<br>canreinvite=nocontext=internal
<br><br>[9223]<br>type=friend<br>callerid = "Nome - 9223" <9223><br>username=9223<br>secret=9223<br>host= dynamic<br>context=from-sip<br>dtmfmode=rfc2833<br>nat=yes<br>canreinvite=nocontext=internal<br><br>
[312000]<br>type=friend<br>username=312000<br>secret=312000<br>host=dynamic<br>context=from-sip<br>dtmfmode=rfc2833<br>nat=yes<br>canreinvite=nocontext=internal<br><br>When I try to connect From local machine the softphone only call itself:
<br><br>May 18 10:07:25 DEBUG[2218]: Allocating new SIP call for <a href="mailto:695F71B19D89B72F697CF6D8D59A124B@192.168">695F71B19D89B72F697CF6D8D59A124B@192.168</a><br>.1.73<br>May 18 10:07:25 VERBOSE[2218]: -- Registered SIP '9222' at
<a href="http://192.168.1.73">192.168.1.73</a> port 5061 expires 180<br>0<br>May 18 10:07:25 VERBOSE[2218]: -- Saved useragent "X-Lite release 1105d" for peer 9222<br>May 18 10:07:40 DEBUG[2218]: Auto destroying call '
<a href="mailto:695F71B19D89B72F697CF6D8D59A124B@192.168.1.73">695F71B19D89B72F697CF6D8D59A124B@192.168.1.73</a>'<br><br>When I call From network I got the error Call ended: unknown:<br><br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl
<br>ass: NEW<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">192.168.0.106:4569
</a>]<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">192.168.0.106:4569
</a>]<br> VERSION : 2<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">
192.168.0.106:4569</a>]<br> VERSION : 2<br> CALLING NUMBER : 312000<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl VERSION : 2<br> CALLING NUMBER : 312000
<br> CALLING NAME : 312000<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">
192.168.0.106:4569</a>]<br> VERSION : 2<br> CALLING NUMBER : 312000<br> CALLING NAME : 312000<br> FORMAT : 2<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl
<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> VERSION : 2<br> CALLING NUMBER : 312000<br> CALLING NAME : 312000<br> FORMAT : 2
<br> CAPABILITY : 1550<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">
192.168.0.106:4569</a>]<br> VERSION : 2<br> CALLING NUMBER : 312000<br> CALLING NAME : 312000<br> FORMAT : 2<br> CAPABILITY : 1550<br> USERNAME : 312000<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [
<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl<br>ass: NEW<br> CALLING NAME : 312000<br> FORMAT : 2
<br> CAPABILITY : 1550<br> USERNAME : 312000<br> CALLED NUMBER : 9222<br> DNID : 9222<br><br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT<br> Timestamp: 00010ms SCall: 00001 DCall: 07747 [
<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> CAUSE : No authority found<br>May 18 10:10:14 NOTICE[2213]: Rejected connect attempt from <a href="http://192.168.0.106">192.168.0.106</a><br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl
<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> VERSION : 2<br> CALLING NUMBER : 312000<br> CALLING NAME : 312000<br> FORMAT : 2
<br> CAPABILITY : 1550<br> USERNAME : 312000<br> CALLED NUMBER : 9222<br> DNID : 9222<br>ED NUMBER : 9222<br> DNID : 9222<br><br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT
<br> Timestamp: 00010ms SCall: 00001 DCall: 07747 [<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> CAUSE : No authority found<br><br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl
<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> VERSION : 2<br> CALLING NUMBER : 312000<br> CALLING NAME : 312000<br> FORMAT : 2
<br> CAPABILITY : 1550<br> USERNAME : 312000<br> CALLED NUMBER : 9222<br> DNID : 9222<br><br><br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT<br> Timestamp: 00010ms SCall: 00001 DCall: 07747 [
<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> CAUSE : No authority found<br><br>Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl
<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> VERSION : 2<br> CALLING NUMBER : 312000<br> CALLING NAME : 312000<br> FORMAT : 2
<br> CAPABILITY : 1550<br> USERNAME : 312000<br> CALLED NUMBER : 9222<br> DNID : 9222<br><br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT<br> Timestamp: 00010ms SCall: 00001 DCall: 07747 [
<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> CAUSE : No authority found<br><br>Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK<br>May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subcl
<br>ass: NEW<br> Timestamp: 00003ms SCall: 07747 DCall: 00000 [<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> VERSION : 2<br> CALLING NUMBER : 312000<br> CALLING NAME : 312000<br> FORMAT : 2
<br> CAPABILITY : 1550<br> USERNAME : 312000<br> CALLED NUMBER : 9222<br> DNID : 9222<br><br>Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT<br> Timestamp: 00010ms SCall: 00001 DCall: 07747 [
<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br> CAUSE : No authority found<br><br>Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK<br> Timestamp: 00010ms SCall: 07747 DCall: 00001 [
<a href="http://192.168.0.106:4569">192.168.0.106:4569</a>]<br>May 18 10:10:14 DEBUG[2213]: Received packet 1, (6, 4)<br>May 18 10:10:14 DEBUG[2213]: Cancelling transmission of packet 0<br>May 18 10:10:14 DEBUG[2213]: Really destroying 1, having been acked on final message
<br><br><br clear="all"><br>Any more ideas?<br><br>-- <br>Ralph Liebessohn<br>ICQ: 74835911<br>Skype: liebessohn