Dear friends,
  Does anyone know how do i convert hex to int in the dialplan. I want to do 
this:-
Take the sip call-id in hex, use CUT to extract the first part , and convert it 
to an int. But the math function ony takes arguments as int. Can anyone suggest 
how to do that?
eg:- 
exten => _X.,n,Set(sipcid = ${CUT(SIPCALLID,-,1)})  ---> evaluates to E305CEC5
I want this hex value in int. But i cant think of a clean solution. 
Please help.

Thanks in advance.





With warm regards.

Vivek J. Joshi.

[EMAIL PROTECTED]
Trikon electronics Pvt. Ltd.

All science is either physics or stamp collecting.
                -- Ernest Rutherford



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to