Pjsip Insecure=port,invite

Home » Asterisk Users » Pjsip Insecure=port,invite
Asterisk Users 2 Comments

Hello!

Looks like faq, but…

Could you , please, point me on how to convert this

[cisco]
type=friend host=192.168.22.253
insecure=port,invite

to pjsip?

as you can see another side is very old cisco router, so I can’t change anything there.

I don’t see any examples here

https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip#Migratingfromchan_siptores_pjsip-ExampleSIPTrunkConfiguration

on insecure=port,invite  psjip  equivalent.

Thank you!

2 thoughts on - Pjsip Insecure=port,invite

  • The equivalent is this:

    [mytrunk]
    type=identify endpoint=mytrunk match 3.0.113.1

    From the page you linked. That says “Match incoming traffic from
    203.0.113.1 and use endpoint mytrunk for it”.

    You also need an endpoint defined like:

    [mytrunk]
    type=endpoint context=from-external disallow=all allow=ulaw

  • Thank you very much!

    It works. Although there is one strange thing here-
    there is no ringback tone on cisco’s side when pjsip is use, but this is another story 🙂

    02.11.2017 14:17, Joshua Colp пишет: