Doc For PJSIP ICE Support ?

Home » Asterisk Users » Doc For PJSIP ICE Support ?
Asterisk Users 3 Comments

Hello,

Where can I find doc about PJSIP’s ice_support parameter ?

Do you need to configure things elsewhere in Asterisk config files
(rtp.conf, PJSIP transport sections, …) to make ICE work properly ?
I’m asking because, if I’m not mistaken, STUN requires setting a STUN
server so I think ICE most probably, should also require settings some public resources.

Best regards

3 thoughts on - Doc For PJSIP ICE Support ?

  • It needs to also be enabled in rtp.conf.

    STUN is not required for ICE, but can be used to identify another possible ICE candidate. The implementation itself is the same as chan_sip, so you would need to also configure a STUN server in rtp.conf if you want to use STUN with ICE.

  • Thanks Joshua for replying !

    What would you advise :
    – leaving STUN address empty, in rtp.conf, as “STUN is not required for ICE”
    – configure it with one public STUN (I’m using stun.voip.ovh.net for this but I don’t know how this server really works)

    Cheers

    Le mar. 27 oct. 2020 à 09:53, Joshua C. Colp a écrit :

  • That depends on your specific deployment. If the system that Asterisk is on has a public IP address bound, then a STUN server serves no purpose for Asterisk. If it has port forwarding then you can also configure in rtp.conf to place your public IP address as an ICE candidate as well, which removes the need for a STUN server again.