In all the dialplan examples (Both in the book and wiki) most places destination_number is being tested in the <condition>, BUT I want to do something based on caller-id-name / caller-id-number channel variables. But I see that all these variables (Caller-Caller-ID-Name, sip_callee_id_name, sip_auth_username, caller-id-name, caller-id-number) are empty.
however, i see these values properly in the event being fired But not in the xml dialplan (Which is the place i want ot use them) ! What should I do ?
Thanks
Sanjay