wooden-actor-49036
12/27/2025, 1:07 AMSIP call ended, and invite failed , i tried to up asterisk bridge between my sip-server and pbx server (provider side), but this is also failed, have the same issues
Can sip api be more flexible with this?
trunk = SIPOutboundTrunkInfo(
_name_=_"Skyline PBX"_,
_address_=_"my-livekit-sip-dns-in-kubernetes_or_asterisk-dns:5060"_,
_auth_username_=_"USERNAME_THAT_I_USED_IN_MICROSIP"_,
_auth_password_=_"PASSWORD_THAT_I_USED_IN_MICROSIP"_,
_numbers_=[_"*"_],
_transport_=SIP_TRANSPORT_UDP,
_media_encryption_=SIP_MEDIA_ENCRYPT_DISABLE,
)
trunk_resp = await lkapi.sip.create_outbound_trunk(CreateSIPOutboundTrunkRequest(_trunk_=trunk))
trunk_id = trunk_resp.sip_trunk_id
call_req = CreateSIPParticipantRequest(
_sip_trunk_id_=trunk_id,
_sip_call_to_=number,
_room_name_=_"test-skyline-call"_,
_participant_identity_=_"skyline-caller"_,
_media_encryption_=SIP_MEDIA_ENCRYPT_DISABLE,
)
call_resp = await lkapi.sip.create_sip_participant(call_req)