[Freeswitch-users] Conference - control actions problem

Peter Olsson peter.olsson at visionutveckling.se
Thu Mar 3 13:39:51 MSK 2011


Sounds really strange. This stuff has worked forever, and I'm not able to reproduce it in any way. Could you pastebin relevant parts of the config, conference.conf.xml and the dialplan + plus logs and examples for what goes wrong.

/Peter


-----Ursprungligt meddelande-----
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Maciej Bylica
Skickat: den 3 mars 2011 11:07
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] Conference - control actions problem

Hi,

As stated in first email control action digits does not behave as they
should. Then it turned out that I have the same issue when these
actions are disabled.
Once again, lets assume that UA1 and UA2 are in conf room. UA1 is
pressing any digit (let say '5') and as a aftereffect it looks like
UA1 has microphone muted - so cannot be heard by UA2. Furthermore no
consecutive dtmfs coming from UA1 are collected.
The only wayout is to hang up the phone and dial again.

Thanks,
Maciej

> Hmm - I'm not really sure what your problem is. You receive DTMF, but nothing happens anyway, or what?
>
> Latest git HEAD is stable, so you should be ok.
>
> Could you describe exactly what the problem is after sending a DTMF?
>
> /Peter
>
>
> -----Ursprungligt meddelande-----
> Från: Maciej Bylica [mailto:mbsip at gazeta.pl]
> Skickat: den 2 mars 2011 17:15
> Till: FreeSWITCH Users Help
> Kopia: Peter Olsson
> Ämne: Re: [Freeswitch-users] Conference - control actions problem
>
> Thx Peter for prompt reply.
>
> I've just made one more configuration change. There are no lua script
> fired anymore, just pure conference application like following:
>       <action application="conference" data="1000 at fsconf"/>
>
> The effect is the same (after pressing * or # key just one time).
> 2011-03-02 16:55:32.677018 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF #:520
> or later
> 2011-03-02 16:58:13.645012 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF *:620
>
> As you can see there are DTMF detected on Freeswitch interpreted as
> 'RTP RECV DTMF'
> Is git-06988e1 rel stable one?
>
>
> Regards,
> Maciej
>
> 2011/3/2 Peter Olsson <peter.olsson at visionutveckling.se>:
>> If you exit the conference (#) the user will still be in your lua script, so you would have to do whatever you want it to (hangup maybe). I think the recommended way is to transfer away the call to the conference, that way the Lua scripts won't need to do any more processing.
>>
>> Also check this Javascript example on the wiki: http://wiki.freeswitch.org/wiki/Examples_JavaScript_Conference_IVR
>>
>> About DTMF's - if you don't see them in your log, then FS havn't received any digits - you would have to do a packet capture and check the RTP packets.
>>
>> /Peter
>>
>> -----Ursprungligt meddelande-----
>> Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Maciej Bylica
>> Skickat: den 2 mars 2011 12:31
>> Till: FreeSWITCH Users Help
>> Ämne: [Freeswitch-users] Conference - control actions problem
>>
>> Hello,
>>
>> I am running FreeSWITCH Version 1.0.head (git-06988e1 2011-02-20
>> 15-10-02 -0600) and have some problem with conference module and
>> respective control actions digits.
>> To give you an overview of how it is configured, there is lua script
>> fired in public.xml.
>> The script checks pin code, conf room and at the end run
>> "session:execute("conference", string.format("%s at fsconf", conf_num))".
>> Now coming back to the problem, there are few scenations i would like to cover.
>>
>> 1. When two or more people are in conference and one of them is trying
>> to push # button (RFC2833) then that person is leaving the conference
>> and is hanged up (not released, no BYE). The person who left the
>> conference cannot join again or perform other actions without making
>> the same phone call again.
>>
>> 2011-03-02 11:42:08.863139 [DEBUG] mod_conference.c:2414 Setup timer
>> soft success interval: 20  samples: 160
>> 2011-03-02 11:42:12.283051 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF #:480
>> 2011-03-02 11:42:12.323050 [DEBUG] mod_conference.c:2659 Channel
>> leaving conference, cause: NONE
>>
>> 2. The same as above, but * digit is entered. The person is muted and
>> then unmuted. Next try with * fires muted but this is the point where
>> the problem manifest itself.
>> The procedure of unmuting UA fails. Below you may find relevant logs.
>> The UA is pressing * but without success (no RTP RECV DTMF *).
>>
>> freeswitch at internal> 2011-03-02 11:51:13.423651 [DEBUG]
>> switch_rtp.c:3237 RTP RECV DTMF *:504
>> 2011-03-02 11:51:13.443650 [DEBUG] mod_conference.c:3125 Queueing file
>> '/usr/local/freeswitch/sounds/en/us/callie/conference/conf-muted.wav'
>> for play
>> 2011-03-02 11:51:18.163532 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF *:544
>> 2011-03-02 11:51:18.183531 [DEBUG] mod_conference.c:3125 Queueing file
>> '/usr/local/freeswitch/sounds/en/us/callie/conference/conf-unmuted.wav'
>> for play
>> 2011-03-02 11:51:23.763391 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF *:504
>> 2011-03-02 11:51:23.783390 [DEBUG] mod_conference.c:3125 Queueing file
>> '/usr/local/freeswitch/sounds/en/us/callie/conference/conf-muted.wav'
>> for play
>>
>> 3. The same as above but with 0 digit
>>
>> 2011-03-02 12:04:21.064862 [DEBUG] mod_conference.c:2414 Setup timer
>> soft success interval: 20  samples: 160
>> 2011-03-02 12:04:22.863736 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF 0:880
>> 2011-03-02 12:04:22.883736 [DEBUG] mod_conference.c:3125 Queueing file
>> '/usr/local/freeswitch/sounds/en/us/callie/conference/conf-muted.wav'
>> for play
>>
>> then i cannot get back to the conference
>>
>>
>> 4. The as above but with 6 digit
>>
>> 2011-03-02 12:15:03.244609 [DEBUG] mod_conference.c:2414 Setup timer
>> soft success interval: 20  samples: 160
>> 2011-03-02 12:15:21.602919 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF 6:504
>> 2011-03-02 12:15:22.602893 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF 6:800
>> 2011-03-02 12:15:24.263851 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF 6:864
>>
>>
>> I have disabled all control digits, but the problem still persist. No
>> action is fired but is looks like UA is being muted (micro is off, but
>> i can hear the other person).
>> 2011-03-02 12:24:05.322935 [DEBUG] mod_conference.c:2414 Setup timer
>> soft success interval: 20  samples: 160
>> 2011-03-02 12:24:08.663851 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF #:480
>> 2011-03-02 12:24:11.223787 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF #:504
>> 2011-03-02 12:24:13.703725 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF #:480
>> 2011-03-02 12:24:16.043666 [DEBUG] switch_rtp.c:3237 RTP RECV DTMF #:520
>>
>>
>> Has anybody similar experience or know where the problem may be located.
>>
>> Regards,
>> Maciej
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
> 
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

!DSPAM:4d6f6a0732761929213956!




More information about the FreeSWITCH-users mailing list