Created
August 17, 2011 01:43
-
-
Save mistergibson/1150617 to your computer and use it in GitHub Desktop.
Review Welcome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent: a simple configuration that handles incoming sip calls. | |
@extensions.conf: | |
[from-sip] | |
exten => s,1,Wait,1; | |
exten => s,2,Dial(SIP/s,30); # not sure if this works. | |
exten => s,3,Hangup; | |
# what I need here is a way to handle calls to unknown/undefined (s). I'll probably just playback(not-available) and hang up. Any syntax hints appreciated. | |
@sip.conf: | |
[1000] | |
context=from-sip | |
type=friend | |
host=dynamic | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment