Hello, it is my understanding that FreeSWITCH doesn't provide a ParkServer per se.
So, to provide for this, I will have an entry in the dialplan to play MOH on the channel continuously till someone retrieve the call. And then, I need to publish a NOTIFY to all subscribed users informing the status of the park orbit. >From the wiki (http://wiki.freeswitch.org/wiki/PRESENCE_IN_event_example), it seems I could use "sendevent PRESENCE_IN" for this, but I was unable to figure out how the message must be sent to fill all required attributes in the xml. >From the examples, I managed to send a NOTIFY with a content like this <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="" state="full" entity="sip:[email protected] <sip%[email protected]>"> <dialog id="" direction="recipient"> <state>confirmed</state> </dialog> </dialog-info> but I actually need to send it like this: <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sips:[email protected] <sips%[email protected]> ;orbit=1234"> <dialog id="94992014524" call-id="[email protected]" local-tag="3145678" remote-tag="1234567" direction="recipient" remote-uri="[email protected]" remote-target="[email protected]"> <state>confirmed</state> </dialog> </dialog-info> So, is it possible to set the lacking attributes? (I've tried to set content-length and pass the xml to sendevent, but nothing changed). br, takeshi
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
