PJSIP Keep Alive using OPTIONS?

OA
Oded Arbel
Sun, Jun 24, 2018 1:39 PM

This question has been asked before on the list but no answer was received (
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2013-February/015735.html
).

Why doesn't, or how can I make, PJSIP send keepalive messages as SIP
OPTIONS messages?

The problem I'm trying to solve is that I have systems behind a rather
short-tempered NAT, which apparently does SIP detection, and the default
keepalive messages sent by the standard PJSIP configuration are sent using
a different mapping than the SIP mapping, and do not keep the SIP mapping
open.

I've seen that pjsua_acc has a ka_transport field, but I found
no documentation how to set it up and reviewing the source code didn't
provide me with understanding on even whether it can be used to do what I
want.

Any suggestions?

Oded Arbel

This question has been asked before on the list but no answer was received ( http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2013-February/015735.html ). Why doesn't, or how can I make, PJSIP send keepalive messages as SIP OPTIONS messages? The problem I'm trying to solve is that I have systems behind a rather short-tempered NAT, which apparently does SIP detection, and the default keepalive messages sent by the standard PJSIP configuration are sent using a different mapping than the SIP mapping, and do not keep the SIP mapping open. I've seen that pjsua_acc has a ka_transport field, but I found no documentation how to set it up and reviewing the source code didn't provide me with understanding on even whether it can be used to do what I want. Any suggestions? -- Oded Arbel
VA
varun ahluwalia
Mon, Jun 25, 2018 4:05 AM

Can you enable (backward) keep-alive at Server?
regards,

On Sun, Jun 24, 2018 at 7:09 PM, Oded Arbel oded.arbel@greenfieldtech.net
wrote:

This question has been asked before on the list but no answer was received
(http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.
org/2013-February/015735.html).

Why doesn't, or how can I make, PJSIP send keepalive messages as SIP
OPTIONS messages?

The problem I'm trying to solve is that I have systems behind a rather
short-tempered NAT, which apparently does SIP detection, and the default
keepalive messages sent by the standard PJSIP configuration are sent using
a different mapping than the SIP mapping, and do not keep the SIP mapping
open.

I've seen that pjsua_acc has a ka_transport field, but I found
no documentation how to set it up and reviewing the source code didn't
provide me with understanding on even whether it can be used to do what I
want.

Any suggestions?

Oded Arbel


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Varun.

Can you enable (backward) keep-alive at Server? regards, On Sun, Jun 24, 2018 at 7:09 PM, Oded Arbel <oded.arbel@greenfieldtech.net> wrote: > This question has been asked before on the list but no answer was received > (http://lists.pjsip.org/pipermail/pjsip_lists.pjsip. > org/2013-February/015735.html). > > Why doesn't, or how can I make, PJSIP send keepalive messages as SIP > OPTIONS messages? > > The problem I'm trying to solve is that I have systems behind a rather > short-tempered NAT, which apparently does SIP detection, and the default > keepalive messages sent by the standard PJSIP configuration are sent using > a different mapping than the SIP mapping, and do not keep the SIP mapping > open. > > I've seen that pjsua_acc has a ka_transport field, but I found > no documentation how to set it up and reviewing the source code didn't > provide me with understanding on even whether it can be used to do what I > want. > > Any suggestions? > -- > Oded Arbel > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- Varun.