how can ı defıne sipcall stattus for outbound call...
# ask-ai
m
how can ı defıne sipcall stattus for outbound calls ? ı only catch ringing . not active status ? @millions-hair-24956
g
To define the
sip.callStatus
for outbound calls, you should monitor the
sip.callStatus
attribute of the SIP participant. This attribute indicates the current call status, such as
dialing
,
ringing
, or
active
. The
active
status is set when the call is picked up by the callee, which could be a person or an answering machine. If you are only catching the
ringing
status, ensure that you are listening for changes in the
sip.callStatus
attribute and that your setup allows for the transition to
active
when the call is answered. According to LiveKit documentation, the
sip.callStatus
attribute will change to
active
when the call is established. If you are not seeing this status, it might be due to the timing of your event listener or the specific telephony provider's behavior. Make sure your application is set up to handle the
participant_attributes_changed
event to detect when the status changes to
active
. Would you like more detailed guidance on setting up event listeners for SIP participant attributes? Sources: - SIP participant attributes - LiveKit Slack Discussion 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.