Problem WIth DialOut

The outbound proxy is wrongly specified, and, if this log has been consistently redacted, appears to be unnecessary.

Outbound proxy, in chan_pjsip, is handled as though it were received in a Record-Route header. For the INVITE to contain the final target, and not the outbound proxy, the lr parameter needs to be present. Some providers do not like Route headers, even when there is a real outbound proxy, so there is another parameter (which I think is non-standard), “hide”.

So, if you really do need an outbound proxy (i.e. if the first hop domain is not the final domain, or an explicit Route header is needed), you need:

sip:195.xxx.xxx.xxx\;lr

or

sip:195.xxx.xxx.xxx\;lr\;hide

depending on whether or not a Route header is tolerated or required. The backlash is because this goes into a .conf file, and ; starts a comment.

Without ;lr, the request URI is the first hop, and the Route header is a chain, ending in the final destination. With ;lr, he request URI is the final destination, and the Route header starts with the first hop, and doesn’t include the final destination.

1 Like