Author |
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: March 07 2007 at 8:41am | IP Logged
|
|
|
Hi
I know I ask lots of questions. ;)
Is there any way to listen for calls on more than one IP address when we have multiple IP addresses assigned to our Network adapter?
Regards
Jalal Abedinejad
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: March 07 2007 at 10:47am | IP Logged
|
|
|
Hi Jalal,
No problem with asking questions. We only hope that we can keep up. :)
Right now as you know, the media engine uses a single IP address that is available on the host. There is no way to configure more than one IP address.
We have thought about this capability - possibly to add it in the future but we have not had many requests for it.
Logically, it would not seem to be too hard to get the media engine to do this. Instead of specifying a single IP address, we could have the media engine use all available IP addresses (or a user specified list of IP addresses) and bind to those IP addresses. When SIP protocol packets are received, the media engine would have to know what NIC or IP address the SIP packet was received on and use that IP address in its outgoing SIP messages.
What gets a bit harder is when the media engine has to initiate a call (or initiate any other SIP transaction). Depending on the call endpoint, which host IP address should the media engine use in the outgoing SIP protocol packets?
If you have further thoughts on how multiple IP address support can improve the product, please post your ideas freely. If you have a specific deployment scenario you are thinking about, post that information too. Often considering a specific deployment scenario makes things much clearer and easier to think about.
Support
|
Back to Top |
|
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: March 10 2007 at 3:57am | IP Logged
|
|
|
Hi
As you know there is no need to assign an address when opening a socket. It is optional to bind to a specific IP address using bind method. If you want to bind to a specific port but you don't want specify the IP address you may use ADDR_ANY as is described in http://msdn2.microsoft.com/en-us/library/ms737550.aspx.
When you receive a call there is no problem as you said. There is no problem also when you want to start a call. You should just not use bind method to assign a specific IP address.
The problem is when one wants to have 3 different IP addresses on the computer but wants just use two specific IP address of them for the SIP. This a rare situation. For such situations you may have a MakeCall function that accepts source IP address. I think this can solve the problem.
So I suggest change START_SIP_TELEPHONY_PARAMS so that let the user specify an IP address, or simply just ignore the IP address. There is no need to assign two or more IP addresses.
Thanks
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: March 12 2007 at 10:31am | IP Logged
|
|
|
Hi Jalal,
Thanks for that very excellent explanation. You have an interesting idea here. We now understand exactly what you are saying.
I think supporting the above capability would be fairly straight forward to implement in the current media engine. We have placed this request in the media engine “to do” list for consideration.
In your experience, what types of VOIP apps have you come across that required this capability? It would be interesting to get your short thought on this.
Once again, that was a good explanation.
Support
|
Back to Top |
|
|
Jalal Vetran
Joined: April 24 2006 Location: Iran Posts: 188
|
Posted: March 12 2007 at 11:07am | IP Logged
|
|
|
Hi
YOU >> what types of VOIP apps have you come across that required this capability?
I think all VOIP applications. I don't think our customers would be satisfied with specifing IP addresses manually. The less configuration makes more customers satisfied. In addition most of users use DHCP to assign IP addresses. Changing our VOIP configuration to define the dynamic IP address would be difficult.
Regards
Jalal Abedinejad
|
Back to Top |
|
|