[Asterisk-Users] Callerid & AGI Thougts

WipeOut wipe_out at users.sourceforge.net
Wed Feb 18 06:48:52 MST 2004


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..







More information about the asterisk-users mailing list