On Thu, Nov 2, 2017, at 04:50 AM, Dmitry Melekhov wrote:
> 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?

The equivalent is this:

[mytrunk]
type=identify
endpoint=mytrunk
match=203.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

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to