https://freeswitch.org/jira/secure/attachment/22755/valet_sofia.c.diff On Thu, Feb 19, 2015 at 9:43 AM, e schmidbauer <eschmidbauer@gmail.com> wrote:
Hi, Would anyone want to test out new parking feature for polycoms? The feature is outlined in this doc:
http://support.polycom.com/global/documents/support/technical/products/voice...
Just pull clean FS branch and do a git apply with that diff like git apply --ignore-whitespace ~/valet_sofia.c.diff
make mod_sofia-install make mod_valet_parking-install
restart FS
Provisiong the polycom with:
attendant.resourceList.2.address="orbit+lot@mydomain.com" attendant.resourceList.2.label="Orbit Lot" attendant.resourceList.2.type="automata"
FreeSWITCH dialplan Park in Orbit: <extension name="parking_auto_in"> <condition field="destination_number" expression="^\*7$"> <action application="answer"/> <action application="valet_park" data="lot@mydomain.com auto in 701 799"/> </condition> </extension>
Pick up from Orbit:
<extension name="parking_pickup"> <condition field="destination_number" expression="^\*97(7[0-9][1-9])$"> <action application="answer"/> <action application="valet_park" data="lot@mydomain.com $1"/> </condition> </extension>
Please test and let me know what you think... I'd like to get this feature pushed to valet_parking instead of forking the module
Thanks