[asterisk-bugs] [JIRA] (ASTERISK-29131) Was using autodomain in sip.conf, now in pjsip how do I direct calls to a context by domain name when they come from the same location..

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Oct 16 10:10:36 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252472#comment-252472 ] 

Asterisk Team commented on ASTERISK-29131:
------------------------------------------

We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

If this issue is actually a bug please use the Bug issue type instead.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

> Was using autodomain in sip.conf, now in pjsip how do I direct calls to a context by domain name when they come from the same location..
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29131
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29131
>             Project: Asterisk
>          Issue Type: Information Request
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 16.12.0
>            Reporter: Jake Corcoran
>            Severity: Minor
>
> In sip.conf I used to use:
> [general]
> context = sip-in
> bindport = 5060
> bindaddr = x.x.x.x
> ;sip domain settings
> autodomain = yes
> domain = sip1.domain.com,sip1-in
> domain = sip2.domain.com,sip2-in
> However, in PJSIP I can't understand how to do this.  Calls come through one endpoint with one IP.  Do I create multiple endpoints for this using a different "match" in the identify sections and work with it as though its more than just one endpoint with different set contexts for each?  Must I handle it in the dialplan (which I don't want to do)?
> I might be overlooking something really simple, as I'm very new to this PJSIP.  Any help, ideas, or advice would be greatly appreciated.  Thanks everyone who reads this!!



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list