Send FreeSWITCH-users mailing list submissions to
freeswitch-users@lists.freeswitch.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
freeswitch-users-request@lists.freeswitch.org
You can reach the person managing the list at
freeswitch-users-owner@lists.freeswitch.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."
Today's Topics:
1. Re: routing incoming SMS? (Privus P)
2. Re: Filler Music in Call Recordings (Michael Jerris)
3. Re: Hold Music not Playing when pressing Hold on Polycom
Phone (Michael Jerris)
---------- Forwarded message ----------
From: Privus P <privus007@gmail.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Thu, 6 Feb 2014 12:58:35 +0000
Subject: Re: [Freeswitch-users] routing incoming SMS?Judging by the apparent lack of response to this thread, it seems to be the best way forward to try and resolve this.Hi Donny,Perhaps you could share your javascript and lua script so that we could try to figure out together what isn't working.
On Thu, Feb 6, 2014 at 6:50 AM, Donny Hardyanto <hardyanto.donny@gmail.com> wrote:
Hi,
I have similar problem. I use gateway to GSM provider that support SIP simple . So far i can send sms from fs to gateway and receive sms in fs from gateway. But I was lost how to send the incoming sms from gateway to client.
Also my client support sip simple also. When the sms from client arrive at fs, i dont know how to forward them to gateway.
I use Javascript heavily and tried to produce the same thing as lua script in javascript but it always fail. The event fire command does not produce any thing.
Can any one show us or point us how to forward sms?
Dinny
On Feb 4, 2014 8:06 PM, "Peter Villeneuve" <petervnv1@gmail.com> wrote:Hi,Thanks for helping out. Indeed I would love to try out a lua script to handle SMS.Can anyone point to a sample script that I can study and play with?Any help is much appreciated. I'm still stuck with SMS hitting FS but not being forwarded to the peer....Thanks,PeterOn Sun, Feb 2, 2014 at 5:46 PM, Privus P <privus007@gmail.com> wrote:I'm sure others in this list have a lot more experience and can help you out, but have you thought of using a lua script to handle SMS instead of relying on the send action?Hi Peter,I'm not really sure why your SMS isn't being routed correctly.
On Sat, Feb 1, 2014 at 2:00 PM, Peter Villeneuve <petervnv1@gmail.com> wrote:
_________________________________________________________________________Hi,I'm experimenting with GSMopen and I'm having trouble doing something which is likely pretty simple.I have enabled mod_sms and GSMopen in FS. I can send SIP simple messages between 2 registered peers OK.I can see that incoming GSM SMS messages arrive in FS as expected, but I can't seem to get them converted into SIP SIMPLE format and routed to the peer (1000).Once they arrive in FS, I can see in the log:2014-01-30 20:00:54.840999 [INFO] mod_sms.c:336 Processing text message +4412398746->gsm01 in context defaultChatplan: gsm01 parsing [default->basic p2p] continue=trueChatplan: gsm01 Regex (PASS) [basic p2p] to(gsm01) =~ /^(.*)$/ break=on-falseChatplan: gsm01 Action send()My chatplan has:<?xml version="1.0" encoding="utf-8"?><include><context name="default"><extension name="basic p2p" continue="true"><condition field="to" expression="^(.*)$"><!-- <action application="lua" data="test.lua"/> --><action application="send"/></condition></extension></context></include>And in my gsmopen.conf.xml:<configuration name="gsmopen.conf" description="GSMopen Configuration"><global_settings><param name="debug" value="8"/><param name="dialplan" value="XML"/><param name="context" value="default"/><param name="hold-music" value="$${moh_uri}"/><param name="destination" value="1000"/></global_settings>I believe I'm doing something wrong in the chatplan. Is there any transfer action like in the regular XML dialplan?I tried creating in the default dialplan the following, hoping that it would be similar to sofia calls and transfer the incoming SMS to peer 1000, but no dice.<include><extension name="sms_inbound"><condition field="destination_number" expression="^(gsm01)$"><action application="transfer" data="1000 XML default"/></condition></extension></include>So, basically, how can I route the incoming SMS to peer 1000?Thanks
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
---------- Forwarded message ----------
From: Michael Jerris <mike@jerris.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Thu, 6 Feb 2014 08:02:03 -0500
Subject: Re: [Freeswitch-users] Filler Music in Call RecordingsYou would have to make a media bug similar to the one for record session, that has additional api commands to target the session by uuid that changes a flag in a private struct of weather the recording is paused or not, and then inside the callback for the recording, trigger different behavior when its paused. As there is no audio being muxed, there is no reason at all to use mod_conference.On Feb 5, 2014, at 7:42 PM, JP <jaykris@gmail.com> wrote:I'm trying to implement a feature that allows a user to selectively pause and resume a call recording via FreeSWITCH's event socket interface. The audio file should contain filler music for the duration of each pause operation. Is there any simple straight forward way to accomplish this? I would prefer avoiding the overhead incurred by using the conferencing module for this if possible.
---------- Forwarded message ----------
From: Michael Jerris <mike@jerris.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Thu, 6 Feb 2014 08:04:04 -0500
Subject: Re: [Freeswitch-users] Hold Music not Playing when pressing Hold on Polycom Phone
I don't see the phone actually sending the hold signal there, try turning on sip trace and confirming what the phone is actually sending. Compare that to your dev environment where it works.MikeOn Feb 6, 2014, at 12:11 AM, Lyle Pratt <lylepratt@gmail.com> wrote:Hi Guys,When I press the HOLD button (or start to transfer someone, join a conference, etc) the configured hold music will not play.I previously had this working in production, but all of the sudden it is no longer working I can't figure out why. It works fine in my development environment on my local network, but not when I'm registering to Public IPs. I first thought it was a Polycom specific NAT issue, but then I tried it with a different phone (Cisco) from a different network with no success either.Here is a Pastebin of the Freeswitch console logs when I press the hold button on my device and no hold music occurs.Does anyone have any ideas on how on earth I messed this up? Its the last piece of the puzzle I have in completely getting this working! Any help appreciated
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org