I would like to interconnect LCS Server with Asterisk. So, i saw that LCS uses TCP ports while Asterisk uses UDP ports.
Is it right ?
So, i found 2 solutions. The first, using SER, but I don’t know at all how it works. The second is a patch for Asterisk. It allows accept TCP connections on the server (http://bugs.digium.com/view.php?id=4903&nbn=4). But I think it’s not very stable.
Someone has already used one of these solutions ??
I am not sure how the TCP patch enables integration with LCS, as this patch would allow the RTP stream over TCP as opposed to UDP, based on my understanding of the patch. For the SIP interface messaging itself, both use TCP.
What exactly are you trying to acheive with LCS integration?
[quote=“aurelius”]In first case, I only want to do a trunk between LCS and Asterisk. Some phones will register on LCS and others on Asterisk.
I searched on Google but i didn’t find any help to do that.[/quote]
My understanding of LCS is that it is a SIP proxy that would allow you to use it for connecting two SIP endpoints. So, this could be Asterisk and a SIP compliant softphone, and since they would reinvite the RTP stream is direct between the clients anyway. Have you tried it?
I have only TCP opened on my firewall for the SIP listening ports on my ATAs while I have UDP opened for the RTP ports. Seems to work fine, but then again Asterisk does purport to only support UDP. As on the server Asterisk is indeed only listening on UDP.
Also, what leads you to believe that LCS does not support UDP anyway? I believe it most likely does (although do not know firsthand):
I did not realize there was an active SER branch (OpenSER). This is great news as the iptel.org implementation has been stagnant for a while. Thanks for the information.
Use t_relay_to_udp and t_relay_to_tcp to create a stateful proxy for Asterisk->LCS using the iptel.org implementation.
Unsure how this is accomplished with the OpenSER implementation.