[asterisk-dev] [Code Review] New Application: Originate

Russell Bryant russell at digium.com
Thu Dec 18 12:41:40 CST 2008


Steve Murphy wrote:
> OK, this makes more sense; but how are you going to handle the
> other stuff where they want to play with channel fields like CID,
> CDR, etc? wouldn't
> 
> Set(ORIGINATE_VAR(CALLERID(name)=Me))

This would be invalid syntax.

> or 
> Set(ORIGINATE_VAR(CALLERID(name))=Me) (or whatever)
 >
> be quite difficult/impossible?

This example is fine.  We would store off "CALLERID(name)" to be set to 
"Me" on the new channel.


-- 
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list