Hi All, I am trying to transfer a call to voicemail from command line. I have a setup which will run these commands when the called user status is busy. I have been fairly successful to establish this, however i am stuck at some point. Would require your help to proceed. I have a running call which is currently answered and i am trying to transfer it to an extension using the below command. Command : uuid_transfer 8e908d4b-7a49-4984-94c4-9a18b9afd122 XML 1 Now the challenge is my extension looks something like this.<extension name="user_voicemail"> <condition field="${sip_h_X-Call-Type}" expression="^User-VM$"> <action application="answer"/> the command used parses through my dialplan context but does not enter into this extension. I want to pass the Header sip_h_X-Call-Type as User-VM, how can I do it using the above command. Do let me know. Regards,Sunil More
<extension name="user_voicemail"> <condition> <action application="info"/> <action application="log" data="${sip_h_X-Call-Type}"/> <action application="log" data="${X-Call-Type}"/> </condition> <condition field="${sip_h_X-Call-Type}" expression="^User-VM$"> <action application="answer"/> ... and see out, with /log debug in info - check variable On 05.11.2015 13:50, sunil more wrote:
<extension name="user_voicemail"> <condition field="${sip_h_X-Call-Type}" expression="^User-VM$"> <action application="answer"/>
participants (2)
-
sunil more
-
Денис