-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createSipParticipant Does not have an option to specify "Outgoing" Number to use #202
Comments
https://github.com/livekit/python-sdks/blob/main/livekit-protocol/livekit/protocol/sip.pyi livekit.protocol.sip.CreateSIPParticipantRequest You have to use the SDK and call your livekit server to choose your caller-id 👍👍👍 |
I dont see any field for caller-id? It is the same as the node sdk i mentioned in the ticket, there is not option to choose the caller id, unless i stayed up way too late again and i cannot tell anymore. |
The caller ID is controlled by the |
@dennwc The issue is if the sip_trunk_id has 10 numbers assigned to it, there is no way to choose which specific number to use when starting an outbound call using "createSipParticipant" @AutoScrape123TX comment was not related to the issue. Should probably be tagged as Bug Or "Enhancement" |
@mercuryyy That's right, if you need to select a specific number, you can make a separate Trunk with that number only. It works as intended, so I'm going to close this issue. |
We have clients with 100 numbers on 1 Trunk, we would have to delete 100 trunk_ids if they need to change the trunk settings, and create 100 trunk_ids 1 for each number if they want to be able to chose which number to dial out from. Was that not the point when you allowed 1 trunk_id to have multiple number, to avoid that? It only makes sense that we can chose which number to use when dialing out from the trunk_id that already supports having multiple numbers adding :
Added "caller_id" to the request, where caller_id = one of the numbers we added to the trunk_id |
That makes sense, we could change the API to allow picking a specific number in the short term. In the longer term, I plan to redo the outbound trunks, so that they only include auth settings, etc. Other parameters could be passed directly in the |
@dennwc Sound great. Thank you! |
Hey @dennwc any news/updates/plans on adding this to the next release? |
createSipParticipant(sipTrunkId, number, roomName, opts?): Promise
Does not have an option to pick which (own) number to use when dialing an outbound call?
What if we have 10 numbers assigned to 1 outgoing Trunk, we can't specify the number to use?
I'v looked at -
https://docs.livekit.io/server-sdk-js/classes/SipClient.html
+
https://github.com/livekit/node-sdks/blob/515f379a4e4d507c9f3db7b09b22881ec81c40ad/packages/livekit-server-sdk/src/SipClient.ts#L387
I think this is an important issues
Also please consider adding a update function to accommodate createSipInboundTrunk and createSipoutboundTrunk
Meaning using updateSipInboundTrunk, we wont have to delete the trunk every time we want to add a new phone number to it.
The text was updated successfully, but these errors were encountered: