Hi,<br><br>I am using Asterisk 1.4.12.1 version.<br><br>Scenario for the call is as below:<br><br>UAC Asterisk UAC Transfered to<br> |----------Invite----------------->| | |<br>
| |-----------Invite------------>| |<br> | |<----------302 Moved-----| |<br> | |-------------Invite---------------------------->|<br>
<br><br>I am setting a transfer context using set(__TRANSFER_CONTEXT=outgoing) .<br>Now in outgoing context , I am fetching a SIP header.<br>But asterisk gives me warnings as below & do not returns value of sip header.<br>
<br>WARNING[5410]: chan_sip.c:11678 function_sipchaninfo_read: This function can only be used on SIP channels.<br>WARNING[5410]: chan_sip.c:11503 func_header_read: This function can only be used on SIP channels. <br>
<br>Can you please let me know why this is happening?<br>Why I do not get SIP header in transfer context?<br><br>Is anybody there who have faced the same issue before?<br><br>Thanks in advance!!<br><br>--<br>Krunal Patel<br>
<br>