<html><body>
<DIV>Thanks for the response, its looks logical, for some reason the authentication is not working for me, I'm using a Linksys Phone adapter and here is a sample dial plan in extensions.conf and also SIP channels.</DIV>
<DIV> </DIV>
<DIV>exten => 8407,1,Dial(SIP/8407,80,rt) ; permit transfer<BR>exten => 8407,n,Authenticate(9461) <BR>exten => 8407,n,Playback(pbx-invalid)<BR>exten => 8407,n,Hangup()</DIV>
<DIV> </DIV>
<DIV>and in sip.conf</DIV>
<DIV> </DIV>
<DIV>[9507]<BR>type=friend<BR>user=8407<BR>secret=xxxxxxxxxx<BR>;context=from-sip<BR>callerid=8407<BR>host=dynamic<BR>nat=yes<BR>qualify=yes<BR>canreinvite=no<BR>dtmfmode=rfc2833<BR>;incominglimit=1<BR>;mailbox=8407@default<BR>;disallow=all<BR>;allow=ulaw<BR>;allow=alaw<BR>;allow=g729<BR>;allow=g723.1<BR></DIV>
<DIV>I also tried changing type to peer instead of freind and does not work either. I am running Asterisk 1.2.3.</DIV>
<DIV> </DIV>
<DIV>Any help will be appreciated and thanks for all your inputs.</DIV>
<DIV><BR> </DIV>
<DIV> </DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message -------------- <BR>From: Steve Totaro <stotaro@asteriskhelpdesk.com> <BR><BR>> If you are using phones attached to a ZAP FXS port the immediate=yes <BR>> will work. Otherwise, some SIP phones (Grandstream for instance) allows <BR>> you to enter an autodial number. It depends on what is providing the <BR>> dialtone to the handset. If your device does not support autodial, then <BR>> the next best thing is to do what has already been suggested. <BR>> <BR>> OR <BR>> <BR>> [somecontext] <BR>> exten=s,1,answer <BR>> exten=s,2,Authenticate(insertdigitshere) <BR>> exten=s,3,(continue with a real dialplan) <BR>> <BR>> Change the corresponding authenticate gsm file to say what you want <BR>> about contacting the boss. <BR>> <BR>> This gives the impression that phone is restricted for outbound calling <BR>> but if
you enter the authenticate string, you can dialout for <BR>> emergencies or convenience. <BR>> <BR>> Thanks, <BR>> Steve <BR>> <BR>> broadbandvoice@comcast.net wrote: <BR>> > It did not work, how can I put in some user intervention so that any <BR>> > numbers they dial will send them to a message? Restrict their outbound <BR>> > calls and a get a message to contact administrator instead of a busy <BR>> > signal. <BR>> > <BR>> > -------------- Original message -------------- <BR>> > From: "brandon kruz" <HIGHENDPCS@HOTMAIL.COM><BR>> > <BR>> > > thank you russel <BR>> > > forgot to mention this. <BR>> > > <BR>> > > > <BR>> > > >On Sat, 2006-07-22 at 19:38 -0500, brandon kruz wrote: <BR>> > > > > [internal] <BR>> > > > > exten => s,1,Answer() <BR>> > > > > exten => s,n,Playback(custom) <BR>> > > > > exten
=> s,n,Hangup() <BR>> > > > <BR>> > > >This, by itself, does not solve the problem where you want the <BR>> > message <BR>> > > >to be played back when the phone is picked up without any user <BR>> > > >intervention. If you're using zap phones, you can simply set this <BR>> > > >option: <BR>> > > > <BR>> > > >immediate=yes <BR>> > > > <BR>> > > >Then, as soon as the phone goes off hook, the call will begin <BR>> > at the 's' <BR>> > > >extension in the configured context instead of pro viding <BR>> > dialtone. <BR>> > > > <BR>> > > >-- <BR>> > > >Russell Bryant <BR>> > > >Software Developer <BR>> > > >Digium, Inc. <BR>> > > > <BR>> > > >_______________________________________________ <BR>> > > >--Bandwidth and Colocation provided by Easynews.com --
<BR>> > > > <BR>> > > >asterisk-users mailing list <BR>> > > >To UNSUBSCRIBE or update options visit: <BR>> > > > http://lists.digium.com/mailman/listinfo/asterisk-users <BR>> > > <BR>> > > _________________________________________________________________ <BR>> > > Don’t just search. Find. Check out the new MSN Search! <BR>> > > http://search.msn.click-url.com/go/onm00200636ave/direct/01/ <BR>> > > <BR>> > > _______________________________________________ <BR>> > > --Bandwidth and Colocation provided by Easynews.com -- <BR>> > > <BR>> > > asterisk-users mailing list <BR>> > > To UNSUBSCRIBE or update options visit: <BR>> > > http://lists.digium.com/mailman/listinfo/asterisk-users <BR>> > <BR>> > ------------------------------------------------------------------------ <BR>> > <BR>> > ______________________________
_________________ <BR>> > --Bandwidth and Colocation provided by Easynews.com -- <BR>> > <BR>> > asterisk-users mailing list <BR>> > To UNSUBSCRIBE or update options visit: <BR>> > http://lists.digium.com/mailman/listinfo/asterisk-users <BR>> > <BR>> <BR>> _______________________________________________ <BR>> --Bandwidth and Colocation provided by Easynews.com -- <BR>> <BR>> asterisk-users mailing list <BR>> To UNSUBSCRIBE or update options visit: <BR>> http://lists.digium.com/mailman/listinfo/asterisk-users </BLOCKQUOTE></body></html>