[Freeswitch-users] mod_valet_parking: auto reports on wrong leg of call

Brian Stafford brian.stafford at lattice-voice.com
Fri Oct 30 09:16:38 PDT 2009


Brian West wrote:
> You have to be doing it wrong then.
>
> Can you show us your dialplan you should have two extensions one for  
> the lot range and one to attended transfer someone into the lot.
>
> /b
>   
The relevant excerpt from the dialplan is

<extension name="valet_unpark">
<condition field="destination_number" expression="^(41[0-9])$">
<action application="answer"/>
<action application="valet_park" data="valet_lot $1"/>
</condition>
</extension>

<extension name="valet_park">
<condition field="destination_number" expression="^(420)$">
<action application="answer"/>
<action application="valet_park" data="valet_lot auto in 410 419"/>
</condition>
</extension>

x410-419 are the slots and 420 parks a call. Parking by picking one of 
410-419 works fine and subsequently dialling them from another works 
fine, I added x420 for the auto feature.

Regards
Brian




More information about the FreeSWITCH-users mailing list