On 11:25, Sun 29 Jan 06, Peter Molnar wrote: > Hello, > > i want to use asterisk as a ZAP-FXO / SIP gateway. > > It works fine when I use a SIP provider and register my Asterisk as client > there - incoming calls are routed to an extension in a specified context. > > What I want to do now is to not use the SIP provider and make asterisk accept > calls directly at sip:[EMAIL PROTECTED]:5060. The best would be > associate [EMAIL PROTECTED] with an extension, [EMAIL PROTECTED] with an > other extension in the > dialplan. > > I did not figure out from the docs how to configure this scenario.
In sip.conf in the [general] part you have: context=.... In that context you should have something like: exten => foo,1,Dial(SIP/my_phone) exten => bar,1,Dial(SIP/wifes_phone) or if you want to do more stuff you can use this setup to Goto a specific context for foo and bar: exten => foo,1,Goto(foo-incoming,s,1) Have fun -- Michiel van Baak http://michiel.vanbaak.info [EMAIL PROTECTED] GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D "Why is it drug addicts and computer afficionados are both called users?" _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
