[size=100]hello
I am newbie in asterisk, I have now four days configuring but nothing happens, here is my story.
I have two asterisk server that i want to connect them usig SIP, server1=192.168.1.10 and server2=192.168.1.11.
with server1 I connected an x-lite softphone with the user test1 and with server2 I connected Zoiper softphone with the user test2.
This is the problem: I want the zoiper phone to call the x-lite phone, simple
PS: the x-lite phone should only recieve calls an the number 1444
and here is the config
in server1 sip.conf
[general]
register => test2:test2@192.168.1.11/test1
register => test1:test1@192.168.1.10
[test1]
name=test1
type=friend
secret=test1
context=inbound
host=dynamic
disallow=all
allow=ulaw
[server2]
type=friend
host=192.168.1.11
context=inbound
trunk=yes
in server1 extension.conf
[inbound]
exten => 1444,1,Answer
exten => 1444,2,wait(1)
exten => 1444,3,Dial(SIP/test1)
in server2 sip.conf
[general]
register => test1:test1@192.168.1.10/test2
register => test2:test2@192.168.1.11
[test2]
type=friend
secret=test2
context=inbound
host=dynamic
disallow=all
allow=ulaw
[server1]
type=friend
host=192.168.1.10
context=inbound
in server2 extension.conf
[inbound]
exten => _14XX,1,Dial(SIP/${EXTEN}@192.168.1.10,120)
exten => _14XX,2,Hangup
exten => _14XX,102,Hangup
the two server are connected well, but the problem is that x-lite softphone does not recieve any call, it doesin’t ring !!!
So her is the log of the asterisk console:
server2 (caller)
server1 (reciever)
I really need some help ,really i apreciate any kind of advice.
Thanx
[/size]