Summary: | ASTERISK-06812: SIP_HEADER documentation | ||
Reporter: | Ove Aursand (aurs) | Labels: | |
Date Opened: | 2006-04-19 07:42:10 | Date Closed: | 2011-06-07 14:08:02 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Functions/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | show function SIP_HEADER tells me: [Synopsis] Gets or sets the specified SIP header When I try to set a SIP header, I get this error: Apr 19 14:35:56 ERROR[5823]: pbx.c:1412 ast_func_write: Function SIP_HEADER is read-only, it cannot be written to ****** ADDITIONAL INFORMATION ****** From the dialplan: exten => 543,1,Dial(SIP/123) exten => 543,2,Set(SIP_HEADER(TO)="test") exten => 543,3,Hangup | ||
Comments: | By: Matt O'Gorman (mogorman) 2006-04-26 15:36:57 you can not change the sip header after it has been sent. You have to do a set sip header before the dial |