Hi all ,
Im new here just started learning asterisk. I have start with reading and doing the lesson out of (asterisk: the definitive guide ) I have installed asterisk on ubuntu server 12.04. and setup up a sip.conf file and extensions.conf file in /etc/asterisk. Im having trouble calling extensions 100 to 101 and 101 to 100 but I can call extension 200 which plays hello world. this is what i get in asterisk -rvvvvv sorry have not learned how to setup logging hoping that comes soon in the book.
== Using SIP RTP CoS mark 5
– Executing [101@LocalSets:1] NoOp(“SIP/0000FFFF0001-0000000e”, “”) in new stack
== Spawn extension (LocalSets, 101, 2) exited non-zero on ‘SIP/0000FFFF0001-0000000e’
I made sure that all my firewalls were off on my macs and its all internal so the router should have no play in this?
thanks for the help!
here is my config.
sip.conf
[general]
context=unauthenticated
allowguest=no
srvlookup=yes
udpbindaddr=0.0.0.0
tcpenable=no
office-phone
type=friend
context=LocalSets
host=dynamic
nat=yes
secret=changed
dtmfmode=auto
disallow=all
allow=ulaw
allow=alaw
;;;;;;;;;;;;;;;;;;;;;
;;Phones;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;
0000FFFF0001 ;Mac Desktop
0000FFFF0002 ;Alienware Laptop
0000FFFF0003 ;Linksys ATA
secret=Changed
allow=gsm
extensions.conf
[LocalSets]
exten => 100,1,NoOp()
same => n,Dail(SIP/0000FFFF0001)
exten => 101,1,NoOp()
same => n,Dail(SIP/0000FFFF0002)
exten => 200,1,Answer()
same => n,Playback(hello-world)
same => n,Hangup()