Dear all:
 

Could tell me to have the environmental parameter can only get the username of from header  and the domain of from header?
 
ex: 
     caller: john@iptel.org
     callee: mary@iptel2.org
 
use $SIP_OUSER => mary
       $SIP_RURI => iptel2.org
 
      $xxx => john
      $xxx => iptel.org
 
       exec_msg("echo reguest from $XXX | mail -s 'request for you' xx@xx.xx.xx");
 
      $xxx =>username of from header
 
Thank you
changyu
2007/03/14