Matt Hoskins
2015-Feb-18 18:46 UTC
[asterisk-users] Asterisk 13 - sorcery realtime for pjsip publish objects
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 ---------------- [res_pjsip] endpoint=realtime,ps_endpoints auth=realtime,ps_auths aor=realtime,ps_aors domain_alias=realtime,ps_domain_aliases [res_pjsip_endpoint_identifier_ip] identify=realtime,ps_endpoint_id_ips [res_pjsip_outbound_publish] outbound-publish=realtime,ps_outbound_publish [res_pjsip_pubsub] inbound-publication=realtime,ps_inbound_publication [res_pjsip_publish_asterisk] asterisk-publication=realtime,ps_asterisk_publication extconfig.conf ------------------- ps_endpoints => odbc,asterisk-realtime ps_auths => odbc,asterisk-realtime ps_aors => odbc,asterisk-realtime ps_domain_aliases => odbc,asterisk-realtime ps_endpoint_id_ips => odbc,asterisk-realtime ps_outbound_publish => odbc,asterisk-realtime ps_inbound_publication => odbc,asterisk-realtime ps_asterisk_publication => odbc,asterisk-realtime Matt Hoskins | NPG Corp | Systems Architect 816.749.2815 (Internal: ext. 10015) -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua Colp Sent: Wednesday, February 18, 2015 10:55 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 13 - sorcery realtime for pjsip publish objects Matt Hoskins wrote:> Hello,Kia ora,> 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.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, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: http://spamaway.npgco.com/canit/urlproxy.php?_q=aHR0cDovL3d3dy5kaWdpdW0uY2 9t&_r=YmFzZQ%3D%3D & http://spamaway.npgco.com/canit/urlproxy.php?_q=aHR0cDovL3d3dy5hc3Rlcmlzay 5vcmc%3D&_r=YmFzZQ%3D%3D -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://spamaway.npgco.com/canit/urlproxy.php?_q=aHR0cDovL3d3dy5hcGktZGlnaX RhbC5jb20%3D&_r=YmFzZQ%3D%3D -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://spamaway.npgco.com/canit/urlproxy.php?_q=aHR0cDovL3d3dy5hc3Rlcmlzay 5vcmcvaGVsbG8%3D&_r=YmFzZQ%3D%3D asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://spamaway.npgco.com/canit/urlproxy.php?_q=aHR0cDovL2xpc3RzLmRpZ2l1bS 5jb20vbWFpbG1hbi9saXN0aW5mby9hc3Rlcmlzay11c2Vycw%3D%3D&_r=YmFzZQ%3D%3D -- BEGIN-ANTISPAM-VOTING-LINKS ------------------------------------------------------ Teach CanIt if this mail (ID 01NRQTiBC) is spam: Spam: http://spamaway.npgco.com/canit/b.php?i=01NRQTiBC&m=355a208e3378&t=2015021 8&c=s Not spam: http://spamaway.npgco.com/canit/b.php?i=01NRQTiBC&m=355a208e3378&t=2015021 8&c=n Forget vote: http://spamaway.npgco.com/canit/b.php?i=01NRQTiBC&m=355a208e3378&t=2015021 8&c=f ------------------------------------------------------ END-ANTISPAM-VOTING-LINKS
Joshua Colp
2015-Feb-19 16:07 UTC
[asterisk-users] Asterisk 13 - sorcery realtime for pjsip publish objects
Matt Hoskins wrote:> 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.Your configuration looks correct at first glance. Without labbing it up myself I don't really have anything else to suggest. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Matt Hoskins
2015-Feb-19 16:07 UTC
[asterisk-users] Asterisk 13 - sorcery realtime for pjsip publish objects
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----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt Hoskins Sent: Wednesday, February 18, 2015 12:47 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 13 - sorcery realtime for pjsip publish objects 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 ---------------- [res_pjsip] endpoint=realtime,ps_endpoints auth=realtime,ps_auths aor=realtime,ps_aors domain_alias=realtime,ps_domain_aliases [res_pjsip_endpoint_identifier_ip] identify=realtime,ps_endpoint_id_ips [res_pjsip_outbound_publish] outbound-publish=realtime,ps_outbound_publish [res_pjsip_pubsub] inbound-publication=realtime,ps_inbound_publication [res_pjsip_publish_asterisk] asterisk-publication=realtime,ps_asterisk_publication extconfig.conf ------------------- ps_endpoints => odbc,asterisk-realtime ps_auths => odbc,asterisk-realtime ps_aors => odbc,asterisk-realtime ps_domain_aliases => odbc,asterisk-realtime ps_endpoint_id_ips => odbc,asterisk-realtime ps_outbound_publish => odbc,asterisk-realtime ps_inbound_publication => odbc,asterisk-realtime ps_asterisk_publication => odbc,asterisk-realtime -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua Colp Sent: Wednesday, February 18, 2015 10:55 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 13 - sorcery realtime for pjsip publish objects Matt Hoskins wrote:> Hello,Kia ora,> 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.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, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: http://spamaway.npgco.com/canit/urlproxy.php?_q=aHR0cDovL3d3dy5kaWdpdW0uY2 9t&_r=YmFzZQ%3D%3D & http://spamaway.npgco.com/canit/urlproxy.php?_q=aHR0cDovL3d3dy5hc3Rlcmlzay 5vcmc%3D&_r=YmFzZQ%3D%3D
Joshua Colp
2015-Feb-19 16:15 UTC
[asterisk-users] Asterisk 13 - sorcery realtime for pjsip publish objects
Matt Hoskins wrote:> 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.The guidelines for filing an issue are here[1] and include links for submitting a patch. I know of noone currently working on it. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Apparently Analagous Threads
- Asterisk 13 - sorcery realtime for pjsip publish objects
- Asterisk 13 - sorcery realtime for pjsip publish objects
- Wiki (pjsip+realtime) says don't put the transports into realtime. Still true?
- asterisk-users Digest, Vol 123, Issue 38
- PJSIP does not qualify contacts after starting Asterisk