[Freeswitch-users] FS-2828

ib-freeswitch at bzsolutions.it ib-freeswitch at bzsolutions.it
Tue Dec 20 02:46:17 MSK 2011


Hi,
  I'm studing FS-2828, why freeswitch statemachine always rewrite a  180 with SDP in a 183 ?

I already ported (it's a test and it must be cleaned from my debug logs) FS-2828 patch to current GIT but my patch didn't forward new SDP when 180 is received after first 183

http://pastebin.com/dqiBcYC8

Now I'm working also to forward same 18X to ALEG, i don't want to touch FS state machine i'm working exporting channels variables from BLEG to ALEG, i create a function:
void sofia_glue_pass_18X(private_object_t *tech_pvt, int forward_18X, int forward_180_sdp);



   if (sofia_use_soa(tech_pvt)) {
                  nua_respond(tech_pvt->nh,
                  switch_true(switch_channel_get_variable(channel, "forward_180_sdp")) ? 180 : 183,
                  switch_true(switch_channel_get_variable(channel, "forward_180_sdp")) ? "RINGING" : "PROGRESS",
                  //SIP_183_PROGRESS

Is it the right way?

Thanks Igor-



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list