> I have a system put together with 3 Companies behind it and want the > Receptionist to Answer the phone Accordingly. Here are my thoughts. > > DID Number - 704-123-0031 > > Extension.conf > > [main] > exten => 0031,1,Goto(test,s,1) > > [test] > exten => s,1,Answer > exten => s,2,agi,callid.agi > Exten => s,3,Dial(SIP/Recp) > > > > > AGI.conf - Brief Descrip. > > $AGI->set_callerid('CompanyA') > > > The concept behind this is for the Receptionist to know who is being > called and not who is calling.. Would this work? > > Thanks, > > -gcc > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersI like using whisper tones... recored the file companyname_whisper.gsm and put it in /var/lib/asterisk/sounds Then add the lines to extensions.conf exten => 0031,1,Dial(SIP/Recp|20|A(companyname_whisper.gsm)r)
I have a system put together with 3 Companies behind it and want the Receptionist to Answer the phone Accordingly. Here are my thoughts. DID Number - 704-123-0031 Extension.conf [main] exten => 0031,1,Goto(test,s,1) [test] exten => s,1,Answer exten => s,2,agi,callid.agi Exten => s,3,Dial(SIP/Recp) AGI.conf - Brief Descrip. $AGI->set_callerid('CompanyA') The concept behind this is for the Receptionist to know who is being called and not who is calling.. Would this work? Thanks, -gcc
AstGrp wrote:>I have a system put together with 3 Companies behind it and want the >Receptionist to Answer the phone Accordingly. Here are my thoughts. > >DID Number - 704-123-0031 > >Extension.conf > >[main] >exten => 0031,1,Goto(test,s,1) > >[test] >exten => s,1,Answer >exten => s,2,agi,callid.agi >Exten => s,3,Dial(SIP/Recp) > > > > >AGI.conf - Brief Descrip. > >$AGI->set_callerid('CompanyA') > > >The concept behind this is for the Receptionist to know who is being >called and not who is calling.. Would this work? > > >Why use an AGI for that ?? Just use.. exten => s,2,SetCallerID(ComapanyA<704-123-0031>) You may have to check the syntax because I have done it from memory.. :) Later..
Hi,> -----Original Message----- > I have a system put together with 3 Companies behind it and > want the Receptionist to Answer the phone Accordingly. Here > are my thoughts. > > DID Number - 704-123-0031 > > Extension.conf > > [main] > exten => 0031,1,Goto(test,s,1) > > [test] > exten => s,1,Answer > exten => s,2,agi,callid.agi > Exten => s,3,Dial(SIP/Recp) > > > > > AGI.conf - Brief Descrip. > > $AGI->set_callerid('CompanyA') > > > The concept behind this is for the Receptionist to know who > is being called and not who is calling.. Would this work?Yes, I use this in my home/office setup. In fact, if your phone's support callerid-names, you could just set that and leave the callerid-number intact. Florian
todd@tlsolutions.net said:>> > I like using whisper tones... > > recored the file companyname_whisper.gsm and put it in > /var/lib/asterisk/sounds > > Then add the lines to extensions.conf > > exten => 0031,1,Dial(SIP/Recp|20|A(companyname_whisper.gsm)r) > >In my implementation of this the file extension had to be left off. exten => 0031,1,Dial(SIP/Recp|20|A(companyname_whisper)r) Robert
Can be done easily enough from the dialplan [incoming] exten => 0031,1,SetVar(BackupCLID = ${CALLERID}) exten => 0031,2,SetVar(CALLERID = "Company A <(555)555-1212> exten => 0031,3,Dial(SIP/Recp) [companya] exten => 100,1,SetVar(CALLERID = ${BackupCLID}) exten => 100,2,Dial(Sip/CaBoss) The extensions could easily become a macro that dials with fixing the callerid back to the original and then dialing where it needs too. On Wed, 2004-02-18 at 07:15, AstGrp wrote:> I have a system put together with 3 Companies behind it and want the > Receptionist to Answer the phone Accordingly. Here are my thoughts. > > DID Number - 704-123-0031 > > Extension.conf > > [main] > exten => 0031,1,Goto(test,s,1) > > [test] > exten => s,1,Answer > exten => s,2,agi,callid.agi > Exten => s,3,Dial(SIP/Recp) > > > > > AGI.conf - Brief Descrip. > > $AGI->set_callerid('CompanyA') > > > The concept behind this is for the Receptionist to know who is being > called and not who is calling.. Would this work? > > Thanks, > > -gcc > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Steven Critchfield <critch@basesys.com>