I was able to gather some more information: The message is sent out. However, my proxy is listening on multiple ports and the request is forwarded using a different port then it came in on. How do I force the request to go out (to the next hop) using the same transport as the one it came in on? Thanks, Brocha -----Original Message----- From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Brocha Strous Sent: Tuesday, December 25, 2007 11:40 AM To: pjsip at pjsip.org Subject: default next hop for proxy Hi, I tried modifying the proxy.h proxy_calculate_target function instead of rejecting messages that are sent to me with no other routing information forward them to a static next hop so at the end of the function I added instead of the 404 not found code: if (is_uri_local(target)) { // pjsip_host_port global.defNextHop is intitialized // somewhere else target->host = global.defNextHop.host; target->port = global.defNextHop.port; proxy_postprocess(tdata); } This does not seem to work. The message is logged as going to the right place with the right transport but it does not actually get sent. What am I missing? Thanks, Brocha _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org