o Juha Heinanen [07/19/09 18:41]:
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.
hm, i guess a lookup_socket function could be useful to add to sr.
Stefan
--
Stefan Sayer
VoIP Services
[email protected]
www.iptego.com
IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany
Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev