March 24, 2023, 9:48am
I am able to send a PIDF file in the form of SIP/XML packet from my endpoint. I see on the console that:
[2023-03-13 13:13:19] WARNING res_pjsip_pubsub.c: No registered publish handler for event presence from 23
What should I do such that this packet gets sent to the other endpoint.
Thank you for your support.
March 24, 2023, 9:54am
Handling incoming presence information in that form is not supported by Asterisk.
March 24, 2023, 9:57am
Is there possibility of notify or subscribe by the endpoints to such packets in this case?
March 24, 2023, 9:58am
Endpoints can SUBSCRIBE, but the NOTIFY requests they receive will be generated by Asterisk based on information within Asterisk. PUBLISH requests will be rejected and none of that information conveyed.
March 24, 2023, 10:00am
Interesting. I am basically using extension of PIDF, PIDF-LO to convey address information of the endpoint. Is there anyway by which address conveying is supported?
March 24, 2023, 10:01am
Within PUBLISH, no. Newer versions of Asterisk support geolocation for calls on INVITE, there is no support within FreePBX itself as of this time for it.
Asterisk Geolocation Capabilities ⋆
March 24, 2023, 10:07am
That’s a lot helpful. It should be possible to retrieve the XML PIDF document and upload it such that it can be used for access of information by reference. Is it? Could I have some hints for it.
By the way, FreePBX supports INVITE messages containing a URI pointing to this XML file, right?
March 24, 2023, 10:10am
I have no hints. That’s not something Asterisk is involved with or touches. To us it’s just a reference string. Nothing more.
As I stated, newer versions of Asterisk support geolocation/E911 which includes by reference and functionality exists to preserve/access/pass through that information.
March 24, 2023, 10:19am
do the newer versions of asterisk support PUBLISH messages as well?
March 24, 2023, 10:20am
No. No version of Asterisk supports PUBLISH like that.
April 23, 2023, 10:21am
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.