Stefan Sayer writes:
if you can get the contact to send the INVITE to into your web app, it is for sure possible to get it into an external app server like sems, where you set it as dlg.next_hop, and your outbound proxy selects the correct socket for it.
stefan,
i don't think there is a mechanism to automatically select a correct socket. socket info is in location table along with contact uri and it gets set correctly, when lookup function is called or when given manually as parameter to t_uac_dlg function.
if i just make a call
INVITE contact-uri
using my sip proxy as outbound proxy, no lookup function will be called and no socket info will get set.
-- juha