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
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield  <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to