search for: func_header_read

Displaying 3 results from an estimated 3 matches for "func_header_read".

2006 Oct 23
0
SIP_HEADER function; what names are available?
...st and > b) the request URI is not a SIP header, so you can't get to > it using a stock SIP_HEADER() function. > > However, I suppose that there is nothing stopping you from > hacking the source for your Asterisk installation to provide > access to the URI... In chan_sip.c:func_header_read() you > could do something like: > > static char *func_header_read(struct ast_channel *chan, char > *cmd, char *data, char *buf, size_t len) { <snip/> > content = get_header(&p->initreq, data); > > if (ast_strlen_zero(content)) { > <new> > /* lo...
2006 Oct 18
0
cut ip adress from caller id number display (ci$co 7941)
...ome bug in firmware, but I would like to find some workaround, maybe using SIP_HEADER function, but seems, that this can be used only when calling from SIP to SIP, i.e. not possible to use SIP_HEADER function when I call SIP phone from IAX channel: Oct 18 12:34:22 WARNING[13242]: chan_sip.c:9307 func_header_read: This function can only be used on SIP channels. any other idea, or tip to another firmware with correct behaviour? thanks PJ
2014 Mar 30
0
handset forwarding Diversion header cannot be set on Local channels
...000484) and not all Telco providers handle diversion header gracefully, some dont like to see "202" in header. i tried to set the sip header in target "3333333333 at test" but asterisk see's this as local channel and wont do sip add header: WARNING[13584]: chan_sip.c:20562 func_header_read: This function can only be used on SIP channels. is there anyway around this? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140329/51870f2e/attachment.html>