[asterisk-bugs] [JIRA] (ASTERISK-28233) pbx_dundi: PJSIP is not a supported technology
Michael Newton (JIRA)
noreply at issues.asterisk.org
Thu Apr 13 14:53:03 CDT 2023
[ https://issues.asterisk.org/jira/browse/ASTERISK-28233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261771#comment-261771 ]
Michael Newton commented on ASTERISK-28233:
-------------------------------------------
@jcolp thanks for the reply; I guess I'm thinking of an endpoint as the destination server itself, but that's really the contact or something. (PJSIP abstracts a lot of stuff which probably makes it a lot more flexible for you guys, but a lot more to learn for the rest of us.)
The same format dialstrings (tech/number at destination) are allowed for PJSIP as well, so it should work per my suggestions above. If I'm reading the code in the commit right, it would be a simple matter of allowing {{pjsip_outgoing_endpoint}} to be empty (or use a separate setting) and then in that case using
{noformat}
snprintf(req, sizeof(req), "%s/%s@%s,,%s", results[x].tech, S_OR(number, ""), ip, S_OR(dundiargs, ""));
{noformat}
> 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
> 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