<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>&gt;&gt;Check out /path/to/src/asterisk/doc/README.variables<BR></DIV>
<DIV>&gt;${DIALEDPEERNUMBER} would give it to me if I sliced it up.</DIV>
<DIV>&gt;exten =&gt; s,n,Set(Foo=${CUT(DIALEDPEERNUMBER,@,2)})<BR>&gt;exten =&gt; s,n,Set(Foo=${CUT(Foo,/n,1)})</DIV>
<DIV>&nbsp;</DIV>
<DIV>${CHANNEL} gets me something similar.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Too bad I now have to rename my contexts. Putting a - in them makes using Cut with ${CHANNEL} difficult!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cameron</DIV></DIV></DIV></DIV></DIV></DIV></div><br>
                <hr size=1> 
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spamguard/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">All New Yahoo! Mail</a> – Tired of unwanted email come-ons? Let our SpamGuard protect you.</body></html>