[Asterisk-Users] extension to extension dialing

Nora Lavelle nora at silverspringnet.com
Thu Jan 26 18:07:08 MST 2006


Sorry for all the newbie questions. I really appreciate everyone's help
today. 

 

Okay I've got outgoing and incoming calls working with no echo. yay! Now
I'm having an issue with SIP extension to extension calling. Any time I
dial another extension it goes right into voice mail.  My
extensions.conf is pretty small and rough but, here's what I have right
now. Most of it was taken from the voip-info website. Any help as always
VERY appreciated. 

 

Thanks again!

Nora Lavelle

 

# cat extensions.conf 

[incoming]

exten => s,1,Answer();

exten => s,2,Background(ssn-greeting);

exten => *,1,Directory(default)

exten => 205,1,Wait(2)

exten => 205,2,Record(/tmp/asterisk-recording:gsm)

exten => 205,3,Wait(2)

exten => 205,4,Playback(/tmp/asterisk-recording)

exten => 205,5,Wait(2)

exten => 205,6,Hangup 

 

[internal]

exten => 101,1,Macro(stdexten,SIP/101)

exten => 102,1,Macro(stdexten,SIP/102)

exten => 103,1,Macro(stdexten,SIP/103)

exten => 123,1,Macro(stdexten,SIP/123)

exten => 124,1,Macro(stdexten,SIP/124)

exten => 125,1,Macro(stdexten,SIP/125)

exten => 126,1,Macro(stdexten,SIP/126)

exten => 127,1,Macro(stdexten,SIP/127)

exten => 128,1,Macro(stdexten,SIP/128)

exten => 129,1,Macro(stdexten,SIP/129)

exten => 130,1,Macro(stdexten,SIP/130)

exten => 135,1,Macro(stdexten,SIP/135)

exten => 117,1,Macro(stdexten,SIP/117)

exten => 201,1,Macro(stdexten,SIP/201)

 

[voicemail]

exten => 300,1,Answer

exten => 300,2,VoicemailMain(ssn-voicemail-greeting)

exten => 300,3,Hangup

 

[local]

exten => _9NXXXXXX,1,Dial(Zap/g1/${EXTEN:1})

exten => _9NXXXXXX,2,Congestion

 

[longdistance]

exten => _91NXXNXXXXXX,1,Dial(Zap/g1/${EXTEN:1})

exten => _91NXXNXXXXXX,2,Congestion

 

[macro-stdexten]

exten => s,1,Dial(${ARG1},20)

exten => s,2,Goto(s-${DIALSTATUS},1)

exten => s-NOANSWER,1,Voicemail(u${MACRO_EXTEN})

exten => s-NOANSWER,2,Goto(default,s,1)

exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN})

exten => s-BUSY,2,Goto(default,s,1)

exten => s-.,1,Goto(s-NOANSWER,1)

exten => a,1,VoicemailMain(${MACRO_EXTEN})

 

[default]

include => incoming

include => internal

include => voicemail

include => local

include => longdistance

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


More information about the asterisk-users mailing list