Roderick A. Anderson
2008-May-13 15:45 UTC
[asterisk-users] How to test dialplan w/o a trunk
I'm working my way through the Starfish book again trying to rid myself of the baggage ({sip, extensions, voicemail}.conf) I brought from another system and build the dialplan I really want. I will be doing this on a test system without a trunk. Just sitting on the LAN behind the firewall. Can I, and if so how do I, set-up sip.conf to force my soft-phone to go to a specific context when I take it off-hook? (The [Dial/Answer] button in ZoIPer). Or should I set up an extension that just goes to the context? I guessing [613] ... context=incoming ... should do it. I don't have the system on the bench yet but would like to get the dialplan fairly close the first time. :-) TIA, Rod --
Roderick A. Anderson wrote:> Can I, and if so how do I, set-up sip.conf to force my soft-phone to go > to a specific context when I take it off-hook?This can be done with a analog phone, but I don't believe you can do it on a sip channel.> (The [Dial/Answer] button > in ZoIPer). Or should I set up an extension that just goes to the context? >That's the route I'd follow. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Roderick A. Anderson wrote:> I'm working my way through the Starfish book again trying to rid myself > of the baggage ({sip, extensions, voicemail}.conf) I brought from > another system and build the dialplan I really want. > > I will be doing this on a test system without a trunk. Just sitting on > the LAN behind the firewall. > > Can I, and if so how do I, set-up sip.conf to force my soft-phone to go > to a specific context when I take it off-hook? (The [Dial/Answer] button > in ZoIPer). Or should I set up an extension that just goes to the context? > > I guessing > > [613] > ... > context=incoming > ... > > should do it. > > I don't have the system on the bench yet but would like to get the > dialplan fairly close the first time. :-) > > > TIA, > Rod >Yeah, that should work for sip.conf after filling in the blanks, then in extensions.conf you need an incoming context to do something like the echo test or whatever. Thanks, Steve Totaro