[Freeswitch-users] Conference Caller Announce

Michael Collins msc at freeswitch.org
Sat Jun 16 01:59:32 MSD 2012


Show us the dialplan code where you put the caller into the conference.
-MC

On Fri, Jun 15, 2012 at 11:21 AM, Brian Meaney <brian.meaney at bsb.ie> wrote:

>  Hi and thanks for your response. I altered the expression to include
> parentheses, and the number is successfully picked up. I also attempted to
> simplify the ‘res’ expression by using $1-{domain}
> However, it still wont connect to the conference. Sophia output is now:-**
> **
>
> ** **
>
> 2012-06-15 18:12:53.303084 [DEBUG] mod_commands.c:3092 Command
> conference(35319017881-192.168.3.178 play
> file_string:///tmp/799d7748-e75b-425c-bccd-1e6632eacc72-name.wav!conference/conf-has_joined.wav):
> ****
>
> Conference 35319017881-192.168.3.178 not found****
>
> ** **
>
> Its clear my issue is now with how the ‘res’ statement should be formed. I
> now have:-****
>
> ** **
>
> <action application="set" data="res=${sched_api +1 none conference
> $1 at conference_2 play
> file_string://${namefile}!conference/conf-has_joined.wav}"/>****
>
> ** **
>
> How should I construct the statement such that it connects the caller to
> the conference named conference_2 ? Should I even be referencing the
> conference name, seeing as I already have the expression matching in place
> earlier in the definition?****
>
> ** **
>
>  ****
>
> ** **
>
>  ****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Michael
> Collins
> *Sent:* 15 June 2012 18:43
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Conference Caller Announce****
>
> ** **
>
> As best I can tell it looks like this line is the problem:
> <condition field="destination_number" expression="^xxxxxxxxxxx$">
>
> You need to wrap the capture value in parens like this:
> <condition field="destination_number" expression="^(xxxxxxxxxxx)$">
>
> That should make $1 have something useful in it.
>
> -MC****
>
> On Fri, Jun 15, 2012 at 10:08 AM, Bobthebeat <brian.meaney at bsb.ie> wrote:*
> ***
>
> Hi Folks,
>
>  brand new Freeswitch user here.
>
> I have modified the example shown on the mod_conference
> (http://wiki.freeswitch.org/wiki/Mod_conference#FAQ) wiki for my own
> deployment.
>
> I am attempting to have a user record his name, then have this recording
> announced on joining the conference, but I am struggling. Here is my
> dialplan entry:-
>
>
> <extension name="main_number_11" continue="true">
>      <condition field="destination_number" expression="^xxxxxxxxxxx$">
>        <action application="export" data="hold_music=silence"/>
>        <action application="set" data="namefile=/tmp/${uuid}-name.wav"
> inline="true"/>
>        <action application="answer"/>
>        <action application="sleep" data="1000"/>
>        <action application="playback" data="conference/conf-welcome.wav"/>
>        <action application="sleep" data="1000"/>
>        <action application="playback"
> data="voicemail/vm-record_name1.wav"/>
>        <action application="playback" data="tone_stream://%(1000,0,500)"/>
>        <action application="record" data="${namefile} 1"/>
>        <action application="playback"
> data="ivr/ivr-call_being_transferred.wav"/>
>        <action application="set" data="res=${sched_api +1 none conference
> $1-${domain_name}@conference_2 play
> file_string://${namefile}!conference/conf-has_joined.wav}"/>
>        <action application="transfer" data="$1 XML default"/>
>      </condition>
>    </extension>
>
> The call connects and I am prompted to record, then I am notified of the
> imminent transfer, but it bombs out here. Sophia output reads
>
> Command conference($1-192.168.3.178 at conference_2 play
>
> file_string:///tmp/b34c9679-9fdb-4934-a1d9-dd4b646c88e2-name.wav!conference/conf-has_joined.wav):
> Conference $1-192.168.3.178 at conference_2 not found
>
> I can dial into the conference without issues when I disregard the 'Set'
> expression and just dial the conference directly.
>
> Can anybody point me in the right direction?
> Thank you very much,
> B
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120615/20e7d2e2/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list