Skip to content

Commit 4a3212e

Browse files
committed
rename.
1 parent 754f4c3 commit 4a3212e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

livekit-api/livekit/api/sip_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -757,15 +757,15 @@ async def create_sip_participant(
757757
*,
758758
timeout: Optional[float] = None,
759759
trunk_id: Optional[str] = None,
760-
outbound_trunk: Optional[SIPOutboundConfig] = None,
760+
outbound_trunk_config: Optional[SIPOutboundConfig] = None,
761761
) -> SIPParticipantInfo:
762762
"""Create a new SIP participant.
763763
764764
Args:
765765
create: Request containing participant details
766766
timeout: Optional request timeout in seconds
767767
trunk_id: Optional SIP trunk ID to use for the participant
768-
outbound_trunk: Optional outbound trunk configuration for the participant
768+
outbound_trunk_config: Optional outbound trunk configuration for the participant
769769
770770
Returns:
771771
Created SIP participant
@@ -789,8 +789,8 @@ async def create_sip_participant(
789789
if trunk_id:
790790
create.sip_trunk_id = trunk_id
791791

792-
if outbound_trunk:
793-
create.trunk = outbound_trunk
792+
if outbound_trunk_config:
793+
create.trunk = outbound_trunk_config
794794

795795
return await self._client.request(
796796
SVC,

0 commit comments

Comments
 (0)