Peer Matching With PJSIP

Home » Asterisk Users » Peer Matching With PJSIP
Asterisk Users 1 Comment

Hello,

I’m trying to understand how to configure Asterisk 13’s PJSIP stack. I’ve read the pages in [1] and still have a couple of questions to ask.

In my lab, I’ve configured an Asterisk 13 box to act as an ITSP box and another Asterisk 13 to act as an IPBX.

I’m trying to configure the ITSP box such as it would accept incoming registrations and calls from any IP address (dynamic), if and only if IPBX
provides both a username and a password.

1. From experiments, I’ve found that OPTION messages sent by IPBX box have a From field which contains the following value :
From: ;tag

One thought on - Peer Matching With PJSIP

  • Olivier wrote:

    This is controlled using from_user in the endpoint but does not currently work, there is a fix up[1] to improve this.

    chan_pjsip does not currently support matching based on the IP
    address+port that a device has registered from. You can only explicitly configure this right now.

    [1] https://gerrit.asterisk.org/#/c/2373/