Updated README + fix SIP_INFO DTMF crash when trying to send a DTMF while call is ringing

This commit is contained in:
Sylvain Berfini 2013-11-18 11:33:47 +01:00
parent 82eaf99776
commit d5a091ba0a
2 changed files with 3 additions and 2 deletions

3
README
View file

@ -10,6 +10,7 @@ This is Linphone, a free (GPL) video softphone based on the SIP protocol.
- you need at least:
- belle-sip>=1.0.0
- speex>=1.2.0 (including libspeexdsp part)
- libxml2
+ if you want the gtk/glade interface:
- libgtk >=2.16.0
@ -32,7 +33,7 @@ This is Linphone, a free (GPL) video softphone based on the SIP protocol.
Here is the command line to get these dependencies installed for Ubuntu && Debian
$ sudo apt-get install libtool intltool libgtk2.0-dev libosip2-dev libexosip2-dev libspeexdsp-dev libavcodec-dev libswscale-dev libx11-dev libvx-dev libgl1-mesa-dev libglew1.6-dev libv4l-dev
$ sudo apt-get install libtool intltool libgtk2.0-dev libosip2-dev libexosip2-dev libspeexdsp-dev libavcodec-dev libswscale-dev libx11-dev libxv-dev libgl1-mesa-dev libglew1.6-dev libv4l-dev libxml2-dev
+ for optional library
$ sudo apt-get install libreadline-dev libgsm1-dev libtheora-dev libsoup2.4-dev libsqlite3-dev libupnp4-dev

View file

@ -693,7 +693,7 @@ SalMediaDescription * sal_call_get_final_media_description(SalOp *h){
}
int sal_call_send_dtmf(SalOp *h, char dtmf){
if (h->dialog){
if (h->dialog && (belle_sip_dialog_get_state(h->dialog) == BELLE_SIP_DIALOG_CONFIRMED || belle_sip_dialog_get_state(h->dialog) == BELLE_SIP_DIALOG_EARLY)){
belle_sip_request_t *req=belle_sip_dialog_create_queued_request(h->dialog,"INFO");
if (req){
int bodylen;