Asterisk 13 – Sorcery Realtime For Pjsip Publish Objects

Home » Asterisk Users » Asterisk 13 – Sorcery Realtime For Pjsip Publish Objects
Asterisk Users 7 Comments

Hello,

I am currently trying to set up pjsip realtime and would like to have outbound-publish, inbound-publication, and asterisk-publication sorcery object types in ODBC realtime. Is that currently supported? I know that some object types are known working and others are not. I was curious what the status of those objects are.

Thanks!

Matt Hoskins | NPG Corp | Systems Architect

816.749.2815 (Internal: ext. 10015)

7 thoughts on - Asterisk 13 – Sorcery Realtime For Pjsip Publish Objects

  • Matt Hoskins wrote:

    Kia ora,

    It “should” be possible with recent changes that have been done. I
    personally have not tried it, and it would still require a reload to pick up changes regardless.

    Cheers,

  • Excellent. I was using ast-13.1.0 with no luck. I upgraded to 13.2.0 and have made it further, but am having a little difficulty. The outbound-publish object types seems to be working in realtime now. But the asterisk-publication object is only reading from sorcery.conf. I know you said that it *should* work, with no guarantee, which I’m fine with. I
    just want to make sure I don’t have a possible misconfiguration issue.

    Here is my sorcery.conf and extconfig file:

    Sorcery.conf
    ————–

  • Good Morning,

    After further investigation, I found that the res_pjsip_publish_asterisk module does not use the realtime sorcery wizard, but instead only reads from the configuration files. I’ve been able to patch the module, using the logic from the other modules to learn how to make the sorery configuration read from the other sorcery wizards and it’s now working for the asterisk-publication. This thread probably belongs on the asterisk-dev list. I’ve never submitted a patch to the asterisk project, and I doubt my code follows your standards. I’m wondering – is there planned support for asterisk-publication to be realtime-aware? If so, I
    can continue to do my development on 13.2.0 and simply wait for it to get fixed in a future point release. Or, if submitting the patch is the best course of action – I can do that too.

    Suggestions?

    —–Original Message—

  • Matt Hoskins wrote:

    Your configuration looks correct at first glance. Without labbing it up myself I don’t really have anything else to suggest.

  • Awesome!

    https://issues.asterisk.org/jira/browse/ASTERISK-24811

    Matt Hoskins | NPG Corp | Systems Architect

    816.749.2815 (Internal: ext. 10015)

    From: asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] Good Morning,

    After further investigation, I found that the res_pjsip_publish_asterisk module does not use the realtime sorcery wizard, but instead only reads from the configuration files. I’ve been able to patch the module, using the logic from the other modules to learn how to make the sorery configuration read from the other sorcery wizards and it’s now working for the asterisk-publication. This thread probably belongs on the asterisk-dev list. I’ve never submitted a patch to the asterisk project, and I doubt my code follows your standards. I’m wondering – is there planned support for asterisk-publication to be realtime-aware? If so, I
    can continue to do my development on 13.2.0 and simply wait for it to get fixed in a future point release. Or, if submitting the patch is the best course of action – I can do that too.

    I’ve got some free time and can take a look. Give me the issue number after you’ve created it.

    The guidelines for filing an issue are here[1] and include links for submitting a patch. I know of noone currently working on it.

    _____

    Spam
    <http://spamaway.npgco.com/canit/b.php?iNSgiMT3&m