[Serusers] Exec_msg help awk

Binu Nair binu at staff.ownmail.com
Fri Apr 21 14:38:28 CEST 2006


Has any one tried doing exec_msg with an awk command. 

I want to the line below using the exec_msg command. I basically want to extract the caller's id (from $SIP_HF_CONTACT variable).

uid=`echo  $SIP_HF_CONTACT | awk -F : '{print $2}' | awk -F @ '{print($1)}' ;`




Thanks & Regards,


Binu V B
Trikon Electronics Pvt Ltd





More information about the sr-users mailing list