As this is my first question, please let me first praise the FreeSWITCH team for a fantastic product and all the efforts of the community. The two books really helped convert all my Asterisk AGI / AMI java code to FreeSWITCH. All IVR play/record/dtmf, etc is working perfectly with FreeSwitch now (and the IVR application is quite large).<div>
I came to FreeSwitch after limitations/frustrations with Asterisk. Happy to be aboard, and hope to contribute in time.</div><div><br></div><div>Use case: Controlling an IVR caller using the event socket; caller chooses an option which will park the caller, and page out to a group of phones for someone to pick up the parked caller. If the park is answered the script exits, or if the park times out then an alternate action is taken.</div>
<div><br></div><div>The valet_park command is working fine, and I can decipher through the ChannelExecuteComplete event whether the park was retrieved or not.</div><div><br>I am struggling a bit with the paging to multiple polycom phones.</div>
<div><br></div><div>- using something like 'originate {sip_auto_answer=true}user/1001,user/1002,... &playback(announce_page.PCMU) has limited success - my understanding is that the first phone to answer 'wins' and the other phones do not receive the playback.</div>
<div>- I have better success with conference </div><div>(a) Invite phones into the conference: conference page_group dial {sip_auto_answer=true}user/1001 ... etc </div><div>(b) Play file: conference page_group play announce_page.PCMU (although I am having a codec problem here!)</div>
<div>(c) End the conference: conference page_group hup all</div><div>While the conference by nature has certain pre-stocked files (i.e. you are the first caller, and music on hold, etc), I believe I can silence them all with a custom conference.</div>
<div><br></div><div>My only show stopper is that if a page goes out to a phone with two line buttons, and is already in use (on one line), then things go bad. The incoming conference request is knocking the existing call on hold, the page is playing out, and the user must resume the call with a soft button.</div>
<div><br></div><div>Questions:</div><div>1) Is there a better approach to paging multiple phones that I have yet to try?</div><div>2) Is there a way to avoid paging a phone that already has a caller on it?</div><div>3) Is there conference variable to set the codec to allow the PCMU file to play cleanly (it does play cleanly using originate without setting any explicit codec).</div>
<div><br></div><div>Thank you in advance,</div><div>Ian.</div><div><br></div><div><br></div><div><br></div>