]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4779 try this patch
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 8 Nov 2012 15:52:20 +0000 (09:52 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 8 Nov 2012 15:52:20 +0000 (09:52 -0600)
libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c

index 5f4122980545b557714871cb58088a3d3b047065..dbb9bc2ccd4635a956eb5aa6550c43359cc117e0 100644 (file)
@@ -1 +1 @@
-Wed Nov  7 10:37:42 CST 2012
+Thu Nov  8 09:48:11 CST 2012
index 3316d535c37388cd076bc3dbd6f88960157d798c..9b862415a31cd3fad22ba37ef54337342ade282a 100644 (file)
@@ -1245,6 +1245,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
   int status = 200;
   char const *phrase = "OK", *reason = NULL;
   char const *invite_branch;
+  char const *pl_s = NULL;
 
   assert(cr->cr_orq);
   assert(cr->cr_method == sip_method_invite);
@@ -1256,6 +1257,11 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
     goto error;
   }
 
+  tl_gets(tags,
+                 SIPTAG_PAYLOAD_STR_REF(pl_s),
+                 TAG_END());
+  
+
   assert(ds->ds_leg);
 
   msg = nta_outgoing_getrequest(cr->cr_orq);
@@ -1305,7 +1311,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
     while (sip->sip_supported)
       sip_header_remove(msg, sip, (sip_header_t*)sip->sip_supported);
 
-    if (ss == NULL || ss->ss_state > nua_callstate_ready)
+    if (ss == NULL || ss->ss_state > nua_callstate_ready || pl_s)
       ;
     else if (cr->cr_offer_recv && !cr->cr_answer_sent) {
       if (nh->nh_soa == NULL) {