hello…i new to asterisk…i have installed asterisk in my local machine in linux…i have also installed a virtual computer…virtualbox in this system…i than installed 2 twinkle phones…one in my local machine and other in the virtual machine…and i have registered them both with asterisk…there exists a problem which is that i am able to call from virtual machine to local machine and they both connect but when i try to call from host machine to virtual machine it does not work…
following are my sip.config and extension.config files…here billy is in host machine and blaine is in virtual machine…
sip.config:
[general]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
[blaine]
type=friend
context=phones
host=dynamic
[billy]
type=friend
context=phones
host=dynamic
…
extension.config:
[globals]
[general]
autofallthrough=yes
[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
[internal]
exten => s,1,Verbose(1|Echo test application)
exten => s,n,Echo()
exten => s,n,Hangup()
exten => 1000,1,Verbose(1|Extension 1000)
exten => 1000,n,Dial(SIP/billy,30)
exten => 1000,n,Hangup()
exten => 1002,1,Verbose(1|Extension 1002)
exten => 1002,n,Dial(SIP/blaine,30)
exten => 1002,n,Hangup()
[phones]
include => internal
include => default