mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
do not send 501 to out of dialog BYE, but rather 481.
This commit is contained in:
parent
d56d927caf
commit
d16f15f1ed
2 changed files with 7 additions and 2 deletions
5
NEWS
5
NEWS
|
|
@ -1,4 +1,5 @@
|
|||
linphone-3.7...??
|
||||
Liblinphone level improvements thanks to belle-sip new SIP stack:
|
||||
* multiple SIP transports simualtaneously now allowed
|
||||
* IP dual stack: can use IPv6 and IPv4 simultaneously
|
||||
* fully asynchronous behavior: no more lengthly DNS or connections
|
||||
|
|
@ -7,8 +8,8 @@ linphone-3.7...??
|
|||
* better management of network disconnections
|
||||
* SIP/TLS handled through lightweighted polarssl library (instead of openssl)
|
||||
* SIP transaction state machines improved (RFC6026)
|
||||
* Privacy API
|
||||
* Full support of rich presence
|
||||
* Privacy API (RFC3323, RFC3325)
|
||||
* Full support of rich presence in (RFC4480)
|
||||
|
||||
|
||||
linphone-3.6.1 -- June 17, 2013
|
||||
|
|
|
|||
|
|
@ -208,6 +208,10 @@ static void process_request_event(void *sal, const belle_sip_request_event_t *ev
|
|||
resp=belle_sip_response_create_from_request(req,481);/*INFO out of call dialogs are not allowed*/
|
||||
belle_sip_provider_send_response(((Sal*)sal)->prov,resp);
|
||||
return;
|
||||
}else if (strcmp("BYE",method)==0) {
|
||||
resp=belle_sip_response_create_from_request(req,481);/*out of dialog BYE */
|
||||
belle_sip_provider_send_response(((Sal*)sal)->prov,resp);
|
||||
return;
|
||||
}else {
|
||||
ms_error("sal process_request_event not implemented yet for method [%s]",belle_sip_request_get_method(req));
|
||||
resp=belle_sip_response_create_from_request(req,501);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue