[asterisk-bugs] [JIRA] (ASTERISK-28233) pbx_dundi: PJSIP is not a supported technology
Kirsty Tyerman (JIRA)
noreply at issues.asterisk.org
Tue Jan 8 19:44:47 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245932#comment-245932 ]
Kirsty Tyerman commented on ASTERISK-28233:
-------------------------------------------
As PJSIP cannot dial a target at an IP address, the proposed solution would require a configuration of a PJSIP endpoint to be dialed.
The "dundi.conf" on Asterisk Server A could be configured as such:
{noformat}
[mappings]
test => test,0,PJSIP,${NUMBER}@ServerA,nopartial
{noformat}
The "pjsip.conf" on Asterisk Server B would need a PJSIP endpoint configured with the name "ServerA" to point to a PJSIP endpoint configured on Server A to accept calls from Server B.
When a lookup is done from Server B, if there is a result the DUNDILOOKUP will respond with a PJSIP dial response. This will dial the target at the PJSIP endpoint that Server A has responded with in the mapping. Since ServerB has ServerA configured in "pjsip.conf" it will be able to call Server A. Any other servers would need a "ServerA" configuration in their "pjsip.conf" configuration, otherwise the DIAL will fail with the following result "Unable to create PJSIP channel - endpoint 'ServerA' was not found".
> pbx_dundi: PJSIP is not a supported technology
> ----------------------------------------------
>
> Key: ASTERISK-28233
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28233
> Project: Asterisk
> Issue Type: New Feature
> Security Level: None
> Components: PBX/pbx_dundi
> Affects Versions: 15.3.0
> Reporter: Kirsty Tyerman
> Assignee: Kirsty Tyerman
> Severity: Minor
> Labels: pjsip
>
> PJSIP is not supported as a technology for a DUNDILOOKUP, it is reported as UNKNOWN.
> I want to configure "dundi.conf" with a mapping that uses PJSIP.
> {noformat}
> [mappings]
> test => test,0,PJSIP,${NUMBER}@192.168.1.1,nopartial
> {noformat}
> When I query the mappings on the CLI it displays as an unknown technology.
> {noformat}
> *CLI> dundi show mappings
> DUNDi Cntxt Weight Local Cntxt Options Tech Destination
> test 0 test NONE Unkno ${NUMBER}@192.168.1.1
> {noformat}
> PJSIP should be a valid technology and should be able to be called via a returned DUNDILOOKUP.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list