comparison sip-in/invite.c @ 65:7c0309df59f8

sip-in: handling of ALERTING state
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Sep 2022 15:44:22 -0800
parents 02761f1ae5e5
children 5beb51de1bae
comparison
equal deleted inserted replaced
64:1f863c63f96b 65:7c0309df59f8
350 else 350 else
351 invite_new_call(req, ess, sin); 351 invite_new_call(req, ess, sin);
352 } 352 }
353 353
354 void 354 void
355 signal_invite_ringing(call)
356 struct call *call;
357 {
358 struct sip_msg_out resp;
359
360 start_response_out_msg(&resp, "180 Ringing");
361 fill_invite_resp_from_call(&resp, call);
362 out_msg_finish(&resp);
363 sip_tx_packet(&resp, &call->udp_sin);
364 call->sip_state = SIP_STATE_RINGING;
365 }
366
367 void
355 signal_invite_error(call) 368 signal_invite_error(call)
356 struct call *call; 369 struct call *call;
357 { 370 {
358 struct sip_msg_out resp; 371 struct sip_msg_out resp;
359 int rc; 372 int rc;