FreeCalypso > hg > themwi-system-sw
diff 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 |
line wrap: on
line diff
--- a/sip-in/invite.c Sun Sep 18 15:29:30 2022 -0800 +++ b/sip-in/invite.c Sun Sep 18 15:44:22 2022 -0800 @@ -352,6 +352,19 @@ } void +signal_invite_ringing(call) + struct call *call; +{ + struct sip_msg_out resp; + + start_response_out_msg(&resp, "180 Ringing"); + fill_invite_resp_from_call(&resp, call); + out_msg_finish(&resp); + sip_tx_packet(&resp, &call->udp_sin); + call->sip_state = SIP_STATE_RINGING; +} + +void signal_invite_error(call) struct call *call; {