<br>You can pull anything from the header with SIP_HEADER<br><br>I'll often just pass them into a Perl AGI as $ARGV[0] $ARGV[1] with this line:<br><br><br>exten =&gt; myapp,2,AGI(myapp.agi|${SIP_HEADER(From)}|${SIP_HEADER(To)})
<br><br><br>Note also you can get *anything* in the SIP header&nbsp; SIP_HEADER(Mumblefratz) etc.<br>