[Asterisk-Users] just softphone

Forrest Beck jonforrest.beck at gmail.com
Thu May 18 14:20:42 MST 2006


You need to either need to put all your extensions in the same context or
use a GoTo command.

 

Try this instead:

extensions.conf 

[internal1]
exten => 311000,1,Dial(SIP/teste1)
exten => 312000,1,Dial(SIP/teste2) 
exten => 313000,1,Dial(SIP/teste3)

 

sip.conf

[teste1]
type=friend
username=teste1
secret=123
qualify=yes
nat=no 
host=dynamic
canreinvite=no

context=internal1

[teste2]
type=friend
username=teste2 
secret=123
qualify=yes
nat=no
host=dynamic
canreinvite=no

context=internal1

[teste3]
type=friend
username=teste3
secret=123
qualify=yes
nat=no
host=dynamic
canreinvite=no

context=internal1

 

or..

 

http://www.asteriskguru.com/tutorials/goto.html

 

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ralph
Liebessohn
Sent: Thursday, May 18, 2006 7:18 AM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] just softphone

 

Hi,

I'm trying to start with Asterisk, but I could not put 2 softphones to talk.
The asterisk server rejects the connections always when I dial.


May 17 07:49:22 NOTICE[1924]: Rejected connect attempt from 192.168.0.106
<http://192.168.0.106/> 

What is necessary to put it to work?
There is no need to configure external lines.

extensions.conf 

[internal1]
exten => 311000,1,Dial(SIP/teste1)

[internal2] 
exten => 312000,1,Dial(SIP/teste2) 

[internal3]
exten => 313000,1,Dial(SIP/teste3) 

[teste1]


sip.conf

[teste1]
type=friend
username=teste1
secret=123


qualify=yes
nat=no 
host=dynamic
canreinvite=no

context=internal

[teste2]
type=friend
username=teste2 
secret=123


qualify=yes
nat=no
host=dynamic
canreinvite=no

context=internal2

[teste3]
type=friend
username=teste3
secret=123


qualify=yes
nat=no
host=dynamic
canreinvite=no

context=internal3



-- 
Ralph Liebessohn
ICQ: 74835911
Skype: liebessohn 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060518/af252c9d/attachment.htm


More information about the asterisk-users mailing list