Hello,<br>it is my understanding that FreeSWITCH doesn't provide a ParkServer per se.<br><br>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.<br>
And then, I need to publish a NOTIFY to all subscribed users informing the status of the park orbit.<br><br>From the wiki (<a href="http://wiki.freeswitch.org/wiki/PRESENCE_IN_event_example">http://wiki.freeswitch.org/wiki/PRESENCE_IN_event_example</a>), 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.<br>
>From the examples, I managed to send a NOTIFY with a content like this<br><br><?xml version="1.0"?><br><dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="" state="full" entity="<a href="mailto:sip%3Aparkserver@test1.com">sip:parkserver@test1.com</a>"><br>
<dialog id="" direction="recipient"><br><state>confirmed</state><br></dialog><br></dialog-info><br><br>but I actually need to send it like this:<br><br><?xml version="1.0"?><br>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="<a href="mailto:sips%3Aparkserver@test1.com">sips:parkserver@test1.com</a>;orbit=1234"><br>
<dialog id="94992014524" <br> call-id="<a href="mailto:12345600@atlanta.example.com">12345600@atlanta.example.com</a>"<br> local-tag="3145678"<br> remote-tag="1234567"<br> direction="recipient"<br>
remote-uri="<a href="mailto:alice@atlanta.example.com">alice@atlanta.example.com</a>"<br> remote-target="<a href="mailto:alice@client.atlanta.example.com">alice@client.atlanta.example.com</a>"><br>
<state>confirmed</state><br></dialog><br></dialog-info><br><br>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>
<br>br,<br>takeshi