<div>Hello,<br> </div>
<div>I have set up 2 different <a href="http://fwd.pulver.com">fwd.pulver.com</a> accounts on my Asterisk. One will ring all my phones through one context, while the other account was set up to fool Nigerian scam artists, and will go directly to a special voicemail (after a few rings to give the impression of ringing a real telephone). I will not even know somebody called until I get the voicemail in the mail.
</div>
<div> </div>
<div>The first register goes like this:</div>
<div>register => 18469:<a href="mailto:secret@fwd.pulver.com">secret@fwd.pulver.com</a>/89</div>
<div> </div>
<div>while the number that goes directly to the answering machine is as follows:</div>
<div>register => 18336:<a href="mailto:secret@fwd.pulver.com">secret@fwd.pulver.com</a>/36</div>
<div> </div>
<div> </div>
<div>Then I match the digits (36 and 89) within the contexts.</div>
<div>89 triggers the [inbound-fwd] context, while 36 triggers [boguscall]:</div>
<div> </div>
<div>[boguscall]<br>exten => 36,1,NoOp(This is context boguscall)<br>exten => 36,2,Wait(0)<br>exten => 36,3,Ringing<br>exten => 36,4,Wait(15)<br>exten => 36,5,Voicemail(su36)<br>exten => 36,6,Hangup</div>
<div> </div>
<div>[inbound-fwd]</div>
<div>exten => 89,2,Goto(ringall,${EXTEN},1) ; will go to context [ringall]</div>
<div><br>[ringall] ; Dial all telephones in the house<br>exten => _X.,1,Dial(SIP/30&SIP/31&SIP/32,35),t</div>
<div> </div>
<div> </div>
<div>Thor</div>
<div> </div>
<div> </div>
<div><span class="gmail_quote">On 10/10/05, <b class="gmail_sendername">Steve Gladden</b> <<a href="mailto:Asterisk@michiganbroadband.com">Asterisk@michiganbroadband.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Sorry this is a bit of a newbie question, I've been at this for a few<br>months and still have not quite figured this one out.
<br><br><br>I've been able to setup one itsp (incoming calls) (sip account) with a<br>register line like this:<br><br>register => <a href="mailto:nnnnnnn:ppppp@sip.provider.net">nnnnnnn:ppppp@sip.provider.net</a><br><br>
-or-<br><br>register => <a href="http://nnnnnnn:ppppp@sip.provider.net/nnn">nnnnnnn:ppppp@sip.provider.net/nnn</a><br>to come directly into an extension in the dialplan<br><br><br>It seems that this only works with the default context in the dialplan.
<br><br><br>I have another sip account from another provider that I would like<br>all of it's incoming calls to come into the s, extension of<br>a new context but I have been unable to figure out<br>how to bring calls from a register line into an alternate context.
<br><br>It seems that register lines are limited to only being used in the<br>general section of sip.conf and you are limited to one context=<br>statement there.<br><br>Is there a way to register a second account and have it's calls come into
<br>another context in the dialplan?<br><br>register lines only seem to work in [general] and it seems like you<br>are limited to only one inbound context here.<br><br>I would like the two inbound call accounts to be 'isolated' from each other
<br>and not have to come in on the same incoming context in the dialplan.<br><br>I'd also like to be able to have them have their own contexts with thier<br>own s, (start) extension available.<br><br><br>Thanks!<br><br>Steve
<br><br><br><br><br><br><br><br><br><br><br><br><br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list
<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>