|
From: | Jonas Nyman |
Subject: | [Linphone-users] Belle-sip route header |
Date: | Thu, 24 Oct 2013 09:13:54 +0200 |
Hello, Im currently working on replacing our old
sip stack with the new belle-sip. I have got most of the things working but I
cant get the route header to be added. My idea was that when for example the user
would make a call I could simply add SalOpBase
* opBase = (SalOpBase*)op; if(opBase
&& opBase->route) { belle_sip_header_route_t
* routeHeader = belle_sip_header_route_parse(opBase->route); belle_sip_message_add_header(BELLE_SIP_MESSAGE(request),
BELLE_SIP_HEADER(routeHeader)); } } The problem im having is that I get the
routeHeader and its not NULL but it crashes when I try to cast it via
BELLE_SIP_HEADER. Regards |
[Prev in Thread] | Current Thread | [Next in Thread] |