본문 바로가기

Programming

[펌]WebRTC/VoIP/PSTN 관련하여 프로젝트를 구현하고 있는 개발자

반응형
SMALL
안녕하세요, 개인적으로 WebRTC/VoIP/PSTN 관련하여 프로젝트를 구현하고 있는 개발자입니다. Twilio 와 같은 서비스를 구현하는 것이 목표이며, 이번에 작은 진척이 있어서 내용을 공유합니다.
ChatGPT 를 이용한 Chatbot Talk 지원.
* 늦었지만 Chatbot 과 Voice 연동 Action 을 추가해봤습니다. 현재 ChatGPT 와의 연동이 가능하고, Clova 와 다른 AI 는 추후 연동할 예정입니다.
* Starts a talk with chatbot in voice.
* Currently support only chatGPT.
* Check detail at here:
SIP 트렁킹 서비스 지원.
* Added Registration.
* Added Trunking outbound call.
* Check detail at here:
데모 추가.
+14703298699 로 전화를 거실 경우, 다음의 기능들을 테스트해 보실 수 있습니다.
Calling to: +14703298699
* 1: Simple talk action test.
* 2: Transcribe. You can see what it transcriptions at here. https://requestbin.com/r/enlmbyujjj0mg
* 3: Queue join. This will connect to the available agent. But to update the agent's status to 'available' it need manual API calling. So, this will not connect to the agent. Instead of connect to the agent, your call will stay at the queue's waiting actions which loop the given action. You can try how the waiting action is working.
* 4: Voicemail. You can leave some voice message. This is not special action but consists of some basic actions including the recording.
* 5: Conference. You will connect to the conference room. Currently, the conference room is open for anyone who pressed 4. So, you can talk to someone if someone in the conference.
* 6: Chatbot talk. You can talk with the chatbot(chatGPT). Btw, this will not work as your expectation. This is a sad story, to handle the RTP stream correctly, it costs a lot. So, I couldn't put many resources for this feature. So, this will working very slooooooooowly. And the RTP will have a loooooot of jitters. So, please don't expect the quality from here, and consider it is working if it saying something. Because that means it understood something.
* 0: Calling to project developer(me). - Not sure I wll answer. May will ignore the call.
Text to: +14703298699
"call me": Will make a call to you with simple talk action.
"text me": Will send a short SMS to you.
Note: ChatGPT 와 Transcribe 테스트는 생각만큼 잘 작동하지 않습니다. 영세하게 테스트환경을 꾸미다 보니, 충분한 리소스를 할당할 수 없었습니다. 게다가 서버가 유럽(gcp EU-zone)에 있다보니 거리에 따른 latency 지연도 상당합니다. 이점 양해해 주시고, 그저 뭔가 응답이 있으면 그냥 잘 작동하는구나 라고 봐주시면 감사하겠습니다. ^^;;
생성되는 Transcribe 내용은 웹훅을 통해서 확인하실 수 있으며, Transcribe 뿐만 아니라, Call log 등, 생성된 모든 Webhook 내용들은 이곳(https://requestbin.com/r/enlmbyujjj0mg)에서 확인이 가능합니다.
어쩌다보니 PSTN 이야기만 했네요. 하지만 당연하겠지만 WebRTC 역시 지원을 합니다. WebRTC(정확히는 JSSIP)을 이용하여 Registration 및 Trunking Call 이 가능하며, SIP/WebRTC/PSTN 과의 컨퍼런스 콜(Video/Voice mix) 역시 가능합니다.
다름이 아니고, 혼자서 진행하는 프로젝트이다 보니 피드백을 받기가 무척이나 어렵습니다. 한번 둘러보시고 프로젝트에 대해 작은 피드백 하나 부탁드립니다.
 

Welcome to voipbin’s documentation! — voipbin documentation

© Copyright 2020, Sungtae Kim.

api.voipbin.net

 

 

https://www.facebook.com/groups/rtc.korea/permalink/3409919992630011/

 

로그인 또는 가입하여 보기

Facebook에서 게시물, 사진 등을 확인하세요.

www.facebook.com

 

반응형
LIST