Ok, found a way that will work for me. Little bash script:

        echo "Channel: LOCAL/33...@from-internal-custom" >callfile2.txt
        echo "MaxRetries: 1" >>callfile2.txt
        echo "RetryTime: 60" >>callfile2.txt
        echo "WaitTime: 30" >>callfile2.txt
        echo "Application: Page" >>callfile2.txt
echo "Data: LOCAL/page2...@ext-paging&LOCAL/page2...@ext-paging&LOCAL/page2...@ext-paging" >>callfile2.txt

        chmod 777 callfile2.txt
        chown asterisk:asterisk callfile2.txt
        mv callfile2.txt /var/spool/asterisk/outgoing/

And the following dialplan:

        exten => 33333,1,Answer
        exten => 33333,n,Playback(invalid)
        exten => 33333,n,Hangup

Off course the ext-paging is autocreated by freepbx. Just tested this on Aastra phones and works great.



----
Andre Courchesne - Consultant
http://www.net-forces.com
Phone: (514) 667-8448
MSN: [email protected]
Skype: VoipForces

L'information contenue dans le présent document est la propriété de Andre Courchesne. Et est divulguée en toute confidentialité. Cette information ne doit pas être utilisée, divulguée à d'autres personnes ou reproduite sans le consentement écrit explicite de Andre Courchesne.

The information contained in this document is confidential and property of Andre Courchesne. It shall not be used, disclosed to others or reproduced without the express written consent of Andre Courchesne.

Andre Courchesne - Consultant wrote:
Anyone has any hints on paging multiple SIP extensions and play a wav file. I am able to to it but it plays only on 1 extension (the first one that auto-answer)...


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to