Hi
Newbie user, but loving Asterisk so far.
Have installed 1.4 on Ubuntu, set up two SIP provider accounts (primary one is gotalk in Australia) and have calls from outside in, inside out, and between extensions running just fine. No PSTN or IAX setups, just SIP.
What I’d LIKE to do is set up an incoming “extension” - not a SIP device - to receive inbound calls from the “outside”, make a welcome announcement, and to listen for an extension number.
Following Chapter 5 of the O’Reilly book, I’ve got this working from my SIP devices:
Linksys 942 is extension 721
in extensions.conf I have:
[incoming_calls]
exten => _X.,1,NoOp()
exten => _X.,n,Dial(SIP/721)
exten => 701,1,Answer()
exten => 701,n,Background(enter-ext-of-person)
exten => 701,n,WaitExten()
exten => 721,1,Dial(SIP/721,10)
exten => 721,n,Playback(vm-nobodyavail)
exten => 721,n,Hangup()
exten => 722,1,Dial(SIP/722,10)
exten => 722,n,Playback(vm-nobodyavail)
exten => 722,n,Hangup()
so that calls to my SIP provider (i.e. inbound) get sent to 721.
What I can’t get my head around is how to send “inbound” calls - from an outside number, not from my SIP extensions - to go to the “701” extension above.
I’ve tried Dial(SIP/701) and Goto(701)… without success.
Any assistance appreciated; I’ve worked through most of the things I need with the book - I have sip.conf working for two SIP providers… this last piece is just doing my head in.
Have a great day
Mark