Route header pjsip

Hello, I have a TRUNK with register and I need put route field in header of REGISTER.

Like this image

How Can I add this ?

outbound_proxy is the only thing that might achieve that. Your second red splodge would need to be the URI of the proxy and the first hop for the request.

I did try it, but dont work.

type=registration
auth_rejection_permanent=false
max_retries=10000000
outbound_auth=auth_TEST
server_uri=sip:551434362690@xxx.xx.net.br:5060
client_uri=sip:551434362690@xxx.xx.net.br
line=yes
endpoint=TEST
transport = transport-udp
retry_interval=15
expiration=3600
forbidden_retry_interval=10
fatal_retry_interval=10
contact_user=TEST
outbound_proxy=sbc.xxx.com.br:5090

The only other option would be to use the add header functions, but I’m not sure I’d advise that, as I think Route is a header that the system should be managing.

You would need to state and show what actually happens with that configuration, as well you likely want:

\;lr

At the end of the outbound_proxy URI to do loose routing.

Hello Jcolp I did put “sip:” before ip and works!

outbound_proxy=sip:xxx.xxx.com:5090

Thanks
@david551 -Thank for answer.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.