Closed GoogleCodeExporter closed 9 years ago
Looks like changing
tsip_header_get_name(ao_headers[i])
to ao_headers[i].name
seems to be a fix.
Original comment by n...@firespotter.com
on 18 Dec 2012 at 12:17
Looks like you're trying to add a header without value -> will remove the
header.
The right to use is: "ao_headers[i].get_name();" instead of "ao_headers[i].name"
Original comment by boss...@yahoo.fr
on 18 Dec 2012 at 12:47
All my headers have values, however I am adding a new header that is not in the
large list of known headers above. Could that be it? I tried to remove that and
had the same issue. Will switch to the get_name().
Original comment by n...@firespotter.com
on 18 Dec 2012 at 12:50
Should be fixed in SVN r147.
To generate the API:
http://code.google.com/p/sipml5/wiki/FAQ#How_to_reduce_the_size_of_the_scripts_b
efore_deploying
How are you adding the header (I mean code)?
Original comment by boss...@yahoo.fr
on 18 Dec 2012 at 12:51
sip_headers: [{name: 'User-Agent', value: this.userAgent},
{name: 'Organization', value: this.orginization},
{name: 'X-UC-USER', value: this.identity_}]});
Original comment by n...@firespotter.com
on 18 Dec 2012 at 1:06
This is strange because we're using the same code at
http://code.google.com/p/sipml5/source/browse/trunk/call.htm?r=144#361
Do you see your headers in the outgoing requests?
Original comment by boss...@yahoo.fr
on 19 Dec 2012 at 5:38
I do after I changed the code to call that function that doesn't exist.
Original comment by n...@firespotter.com
on 19 Dec 2012 at 6:52
Fixed in API v1.1.0 (SVN r148)
http://code.google.com/p/sipml5/wiki/Downloads
Original comment by boss...@yahoo.fr
on 20 Dec 2012 at 7:15
Original issue reported on code.google.com by
n...@firespotter.com
on 17 Dec 2012 at 11:43