You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for your hard work. I'm currently trying to achieve a project for school and I needed a python package to create SIP session and establish RTP connection afterward.
My question may be a bit technical, so I apologies if that's not the kind of question I should be asking there.
In fact, the material I'm trying to create a SIP session with, does not use a proxy. So I need to send only an INVITE request and not a REGISTER one. I read your code and I tried to accommodate some parts in order to make it match with my needs. So I used the "invite" function which is in your pyVoIP/SIP module (instead of the "register" one) in your call to VoIPPhone.start(). It takes 4 parameters :
self,
number: str,
ms: Dict[int, Dict[str, "RTP.PayloadType"]],
sendtype: "RTP.TransmitType",
And I don't understand where it gets the number, ms and sendtype parameters in an ordinary use. I mean, the function "register" that you use to establish a SIP session doesn't need these parameters, and I can't find the call to the function "invite" which fill this parameters.
One more time, I apologies for this question that I sense as too much technical.
Best regards and hoping for your answer,
Ivanhoé from France.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello Tyler !
First, thanks for your hard work. I'm currently trying to achieve a project for school and I needed a python package to create SIP session and establish RTP connection afterward.
My question may be a bit technical, so I apologies if that's not the kind of question I should be asking there.
In fact, the material I'm trying to create a SIP session with, does not use a proxy. So I need to send only an INVITE request and not a REGISTER one. I read your code and I tried to accommodate some parts in order to make it match with my needs. So I used the "invite" function which is in your pyVoIP/SIP module (instead of the "register" one) in your call to VoIPPhone.start(). It takes 4 parameters :
self,
number: str,
ms: Dict[int, Dict[str, "RTP.PayloadType"]],
sendtype: "RTP.TransmitType",
And I don't understand where it gets the number, ms and sendtype parameters in an ordinary use. I mean, the function "register" that you use to establish a SIP session doesn't need these parameters, and I can't find the call to the function "invite" which fill this parameters.
One more time, I apologies for this question that I sense as too much technical.
Best regards and hoping for your answer,
Ivanhoé from France.
Beta Was this translation helpful? Give feedback.
All reactions