Re: [Freeswitch-users] Hang-up event - Alternative?

2009-05-02 Thread Nik Middleton
you specify in your event. On Sat, May 2, 2009 at 1:36 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hi Guys, Is there an alternative to the hang-up event that doesn't send quite as much data? This event is HUGE! All I'm looking for this the result of the call, duration

Re: [Freeswitch-users] DTMF recognition flaky

2009-05-06 Thread Nik Middleton
Hi Jay, Have to say my DTMF works flawlessly on thousands of calls. (SVN trunk from a couple of days ago. We handle around 100,000 calls/day via FS) That said, I've found it depends on your SIP trunk provider.That doesn't mean to say there isn't a problem; it's just that I haven't

[Freeswitch-users] Make current fails

2009-06-01 Thread Nik Middleton
Hi Guys, Been running 'make current' and appropriate intervals over the last few months and all's been well until today Now I get the following, obviously mod_sndfile isn't happy, but I'm not sure what to do to fix it Regards, making all mod_sndfile cd . /bin/sh

Re: [Freeswitch-users] Make current fails

2009-06-01 Thread Nik Middleton
@lists.freeswitch.org Subject: Re: [Freeswitch-users] Make current fails Reboot strap. /b On Jun 1, 2009, at 2:33 PM, Nik Middleton wrote: Hi Guys, Been running 'make current' and appropriate intervals over the last few months and all's been well until today Now I get

Re: [Freeswitch-users] Make current fails

2009-06-01 Thread Nik Middleton
From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Nik Middleton Sent: 01 June 2009 21:52 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Make current fails Thanks

Re: [Freeswitch-users] Make current fails (build 13537)

2009-06-01 Thread Nik Middleton
Well I can only assume build 13537 is brain dead. Surely I shouldn't have to edit a whole bunch of configs to get it working. FS now takes 3 minutes to start, with no indication as to what it's looking for in the logs. That said, to date 'make current' has always worked well for me. Guess I was

Re: [Freeswitch-users] Freeswitch taking too long to start up

2009-06-02 Thread Nik Middleton
As I understand it, a new 'feature' was added over the weekend to resolve NAT. If you're firewall is not allowing ICMP then FS waits until it times out. At this time there is no option to disable it. Regards From:

[Freeswitch-users] Outbound socket question

2009-06-02 Thread Nik Middleton
Hi Guys, I'm going some work with outbound socket, and have a few questions. When each call is answered, I get a connection to my server socket. Is it right to assume that this connection will remain for the duration of the call? If so, do I still need to pass the UUID when I call

[Freeswitch-users] Problems subscribing to outbound socket events

2009-06-06 Thread Nik Middleton
I've put some c++ test code together to let the outbound socket control the call, all works as expected, apart from the event subscription Sending myevents\n\ngives the channel events However sending event text all\n\n doesn't give me any events apart from the channel events.

[Freeswitch-users] mod vmd and lua - Solved

2009-06-09 Thread Nik Middleton
I finally got around to looking at why mod vmd didn't appear to run when using LUA. Turned out that the example in the wiki was wrong. It should have been session:execute(vmd,start); And not session:execute(vmd); I've updated the wiki Regards,

[Freeswitch-users] Problems with make current

2009-06-10 Thread Nik Middleton
Hi Guys, Ran make current today, and am getting the following errors. I ran bootstrap and configure, but still get these messages. Any ideas ? Looks like I'm now missing some libraries Regards, configure: configuring in libs/pcre configure: running /bin/sh './configure.gnu'

Re: [Freeswitch-users] Problems with make current

2009-06-10 Thread Nik Middleton
: [Freeswitch-users] Problems with make current your svn update failed, rm -rf libs/pcre svn update ./bootstrap.sh ./configure make current On Jun 10, 2009, at 2:30 PM, Nik Middleton wrote: Hi Guys, Ran make current today, and am getting the following errors. I ran bootstrap

[Freeswitch-users] Orphaned calls

2009-06-11 Thread Nik Middleton
Ok, so I did a mere 86,000 calls today, but when it was all over, I had 6 sessions remaining like the one below (number and ISP changed) Anyone have an idea why these 6 sessions remain? I also had 120 calls that I didn't get a hang-up for, but that might be me not processing the events

Re: [Freeswitch-users] Orphaned calls

2009-06-11 Thread Nik Middleton
From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Michael Collins Sent: 11 June 2009 22:20 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Orphaned calls On Thu, Jun 11, 2009 at 2:07 PM, Nik

[Freeswitch-users] Status Event

2009-06-11 Thread Nik Middleton
Not sure where enhancement requests should be posted, but here it is anyway I would dearly love to be able to send a status event that returns an event style output that provides machine readable output rather than the wordy human readable response. (I hate parsing) Is there such an

Re: [Freeswitch-users] Orphaned calls

2009-06-11 Thread Nik Middleton
] Orphaned calls If they were still showing in status, can you use gcore to dump a core next time this happens, leave it running somewhere we can get to it and post a thread apply all bt to Jira. Mike On Jun 11, 2009, at 5:40 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote

Re: [Freeswitch-users] mod_php needed

2009-06-13 Thread Nik Middleton
I couldn't agree more. We're working with a group that are developing a massive PHP based music application. They are experts in PHP and MySQL but not in VOIP/Telephony. By tuning an abstraction layer that uses PHP to communicate with the FS event socket, allows them to work on the areas

Re: [Freeswitch-users] When to use OpenSIPS/Kamailio in front of FS?

2009-06-14 Thread Nik Middleton
Anything that's dedicated undoubtedly has less load that something that's multifunctioned. However the lack of any conversations on front ending a SIP server to FS would likely indicate that no one's found a requirement for it at this time. I would truly hate to see discussions of theoretical

[Freeswitch-users] high cpu utilization

2009-06-18 Thread Nik Middleton
Hi Guys, This one has me a little baffled. If have a recent build (in the last week) of FS installed on two near identical HP servers. One happily runs 400 concurrent calls at around 50% CPU. The other can only run around 50 calls without the CPU going to 98%. Identical configs and lua

Re: [Freeswitch-users] high cpu utilization

2009-06-19 Thread Nik Middleton
at 3:54 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hi Guys, This one has me a little baffled. If have a recent build (in the last week) of FS installed on two near identical HP servers. One happily runs 400 concurrent calls at around 50% CPU. The other can only run around 50

Re: [Freeswitch-users] high cpu utilization

2009-06-19 Thread Nik Middleton
You are indeed correct, it's the 64bit server that performs well, not the 32bit PAE version. I'm hoping that's the cause. I need to dig around and find out if it's possible to change the kernel remotely and see it sorts the issue. Ultimately I'll update it to 64 bit anyway, but that's a 500

[Freeswitch-users] Sound file or lua script not played under load

2009-06-23 Thread Nik Middleton
Hi Guys, Scratching my head on this one, under load FS is not playing an audio file, OR and lua script is not getting executed. Not all the time, just some. I've changed ulimit -n to 9 but no diff, and ideas where else I might look? Regards,

Re: [Freeswitch-users] Sound file or lua script not played under load

2009-06-23 Thread Nik Middleton
-users-boun...@lists.freeswitch.org] On Behalf Of Nik Middleton Sent: 23 June 2009 17:46 To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Sound file or lua script not played under load Hi Guys, Scratching my head on this one, under load FS is not playing an audio file

Re: [Freeswitch-users] Sound file or lua script not played underload

2009-06-23 Thread Nik Middleton
to a local_stream is not reading from that stream source, such as if you paused during playback of a local_stream. They are only a real issue if you are getting them with no calls up. On Tue, Jun 23, 2009 at 11:54 AM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hmm, Looking at console I'm

[Freeswitch-users] Confused with event content lengths

2009-06-28 Thread Nik Middleton
Hi Guys, I'm trying to parse events in C++ for an outbound socket. The docs are a little contradictory, so I wonder if someone could help me out. As I understand it and event is terminated with double LF's (\n\n) However if there is a Content-Length header the wiki very confusingly says

Re: [Freeswitch-users] Confused with event content lengths

2009-06-28 Thread Nik Middleton
But from where? After the double LF of the header as one part of the wiki says or after the line containing the content-length that another part of the wiki says? -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org

Re: [Freeswitch-users] Confused with event content lengths

2009-06-28 Thread Nik Middleton
OK, finally figured it out. Have updated the Wiki to remove ambiguity and posted some SUDO code Regards, -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Nik Middleton Sent: 28 June 2009 20:38

Re: [Freeswitch-users] Myevents in outbound socket

2009-06-28 Thread Nik Middleton
...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Brian West Sent: 29 June 2009 00:00 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Myevents in outbound socket Are you using ESL? /b On Jun 28, 2009, at 5:55 PM, Nik

[Freeswitch-users] bridge call from outbound socket

2009-06-29 Thread Nik Middleton
Hi Guys, Is it possible to bridge to another destination while controlling a call via the outbound socket? In other words, I'm controlling a call using an outbound socket and at some point want to originate a new call leg and bridge the two. If it can't be done that way, I'm thinking I

Re: [Freeswitch-users] bridge call from outbound socket

2009-06-29 Thread Nik Middleton
] On Behalf Of Michael Collins Sent: 29 June 2009 21:22 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] bridge call from outbound socket would you mind doing a pb of your script that is handling the OB event socket connection? -MC On Mon, Jun 29, 2009 at 12:47 PM, Nik

Re: [Freeswitch-users] freeswitch support PCMU only?

2009-07-01 Thread Nik Middleton
I'm ONLY use PCMA, so I would agree with Brian -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Brian West Sent: 01 July 2009 20:35 To: freeswitch-users@lists.freeswitch.org Subject: Re:

[Freeswitch-users] Setting channel variables using event socket

2009-07-11 Thread Nik Middleton
Hi Guys, Is it possible to set a channel variable while a call is in progress using an outbound event socket? I have a listening process that examines the hang-up events and it would be neat if it could also get some variables that I have set mid call as well. Note: I know it's possible to

Re: [Freeswitch-users] Setting channel variables using event socket

2009-07-11 Thread Nik Middleton
@lists.freeswitch.org Subject: Re: [Freeswitch-users] Setting channel variables using event socket uuid_setvar /b On Jul 11, 2009, at 2:19 PM, Nik Middleton wrote: Hi Guys, Is it possible to set a channel variable while a call is in progress using an outbound event socket? I have

Re: [Freeswitch-users] Setting channel variables using event socket

2009-07-12 Thread Nik Middleton
On Jul 11, 2009, at 4:08 PM, Nik Middleton wrote: Excellent. Do I need to supply uuid on an out... ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org

Re: [Freeswitch-users] Setting channel variables using event socket

2009-07-12 Thread Nik Middleton
Subject: Re: [Freeswitch-users] Setting channel variables using event socket If you're going to do it that way you can just use set. uuid_setvar is an api call... /b On Jul 12, 2009, at 5:10 PM, Nik Middleton wrote: HI Guys, Can't seem to get this to work call-command

Re: [Freeswitch-users] Help Regarding memory leak with freeswitch

2009-07-13 Thread Nik Middleton
If this is Linux, there's nothing wrong with it using most of the memory, if it starts to use the swap, then there might be an issue. Utilizing the memory does not mean there is a memory leak Regards, From: freeswitch-users-boun...@lists.freeswitch.org

Re: [Freeswitch-users] freepbx for freeswitch

2009-08-05 Thread Nik Middleton
I'd heard rumours that this was going to happen and it's great news and good news for FS as well. With a user friendly front end, FS is sure to fly. I have no doubt that this will be the first of many. Regards, -Original Message- From: freeswitch-users-boun...@lists.freeswitch.org

[Freeswitch-users] Getting core dump from last night's build

2009-09-10 Thread Nik Middleton
Hi Guys, I'm getting a core dump when running an lua script that's been fine for months In Freeswitch_lua.cpp line 92 is being called, but it's not clear what exactly this is doing lua_State *Session::getLUA() { if (!L) {

Re: [Freeswitch-users] Getting core dump from last night's build

2009-09-10 Thread Nik Middleton
with an older mod_lua with a newer FreeSWITCH did you update via make current? On Thu, Sep 10, 2009 at 11:11 AM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hi Guys, I'm getting a core dump when running an lua script that's been fine for months In Freeswitch_lua.cpp line 92 is being

Re: [Freeswitch-users] Affordable GSM gateway for one cellphone?

2009-09-21 Thread Nik Middleton
Check out this range http://www.noblesolutions.co.uk/shop/index.php?main_page=indexmanufactu rers_id=16 You should be able to find a local supplier We've used them for a couple of years now. They just plug into your network. Regards, -Original Message- From:

[Freeswitch-users] B Leg on bridged call is not hanging up

2009-12-04 Thread Nik Middleton
Hi Guys, This one has me stumped. I'm originating a call, playing audio, trapping on DTMF and bridging to another endpoint (read phone number) If the A leg hangs up, then the call is cleared down and all is well. However if the B Leg attempts to hang-up, the LUA script that is handling the

[Freeswitch-users] Option to hang-up both legs in a bridge

2009-12-04 Thread Nik Middleton
Hi, Is there an option to hang-up both call legs in a bridge when one leg hangs up? In my lua script I only ever see the hang-up for the call I'm in, not for the bridged b leg. That said, I can see both a hang-up and un bridge event being fired for the B leg. However my issue is that the

Re: [Freeswitch-users] Option to hang-up both legs in a bridge

2009-12-04 Thread Nik Middleton
to the other thread? set the channel variable hangup_after_bridge=true on the a leg your script must not be checking for the case when b leg hangs up that A leg does not hangup unless that var is set. On Fri, Dec 4, 2009 at 2:03 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hi

[Freeswitch-users] how to disable hook flash hold

2009-12-05 Thread Nik Middleton
Hi, Is it possible to disable being able to put a call on hold using hook flash? Regards ___ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

Re: [Freeswitch-users] how to disable hook flash hold

2009-12-05 Thread Nik Middleton
-users] how to disable hook flash hold It can be done from the phone itself; for example on a Grandstream phone it is done with the option Onhook Threshold: setting it to hookflash OFF 2009/12/5 Nik Middleton nik.middle...@noblesolutions.co.uk Hi,  Is it possible to disable being able to put a call

Re: [Freeswitch-users] how to disable hook flash hold

2009-12-05 Thread Nik Middleton
to something... (ZAP channel or an ATA or a gateway). It is there you configure this behaviour. T. On Sat, Dec 5, 2009 at 6:20 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Sorry, I meant from a POTS phone Regards -Original Message- From: freeswitch-users-boun

[Freeswitch-users] no hangup on B leg

2009-12-07 Thread Nik Middleton
Hi all, I'll slowly pulling my hair out on this one. I had FS successfully hanging up both legs on a bridge, now today, with nothing changed, I'm not seeing a hangup of the b leg at all. FS is behind a PIX, so it might be a weird NAT issue, but A leg calls hangup just fine. Before when I

Re: [Freeswitch-users] no hangup on B leg

2009-12-07 Thread Nik Middleton
7, 2009 at 11:01 AM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hi all, I'll slowly pulling my hair out on this one. I had FS successfully hanging up both legs on a bridge, now today, with nothing changed, I'm not seeing a hangup of the b leg at all. FS is behind a PIX, so

[Freeswitch-users] Trapping dtmf on bridged call

2009-12-07 Thread Nik Middleton
Hi Is it possible to trap on DTMF on a bridged call within an LUA script? I've tried setting the gateway to use inband, but no joy. It looks like I could use start_dtmf, but I can't see how to launch this within LUA Regards, ___

Re: [Freeswitch-users] Trapping dtmf on bridged call

2009-12-07 Thread Nik Middleton
Subject: Re: [Freeswitch-users] Trapping dtmf on bridged call On Mon, Dec 7, 2009 at 2:02 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hi Is it possible to trap on DTMF on a bridged call within an LUA script? I've tried setting the gateway to use inband, but no joy. It looks

Re: [Freeswitch-users] Trapping dtmf on bridged call

2009-12-07 Thread Nik Middleton
at 4:02 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hi Is it possible to trap on DTMF on a bridged call within an LUA script? I've tried setting the gateway to use inband, but no joy. It looks like I could use start_dtmf, but I can't see how to launch this within LUA Regards

Re: [Freeswitch-users] Trapping dtmf on bridged call

2009-12-07 Thread Nik Middleton
Subject: Re: [Freeswitch-users] Trapping dtmf on bridged call did you set the inputcallback too? On Mon, Dec 7, 2009 at 4:59 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Can this be done in an lua script? Regards, From: freeswitch-users

[Freeswitch-users] FS Rocks!!!!!!!!!

2009-12-09 Thread Nik Middleton
Thought I'd send this little hurrah! As there seems to have been a lot of negativity on this list lately. From my point of view, having looked at many solutions out there, FS is still number one with regards to flexibility and performance. I cannot imagine doing what I'm using FS for, with

Re: [Freeswitch-users] no hang-up on B leg

2009-12-09 Thread Nik Middleton
logs and sip traces to be able to figure out what exactly is going on here. Mike On Dec 7, 2009, at 4:06 PM, Nik Middleton wrote: Sorry no, apart from the fact that I was seeing the hangup. I'm wondering if this a bandwidth congestion issue. Is there anyway on a bridged call I

Re: [Freeswitch-users] no hang-up on B leg

2009-12-09 Thread Nik Middleton
condition when the call is in process of tearing down. Mike On Dec 8, 2009, at 6:48 PM, Nik Middleton wrote: No doubt, but that's a little difficult as this only happens occasionally and I have 200 calls going on at the time. It's needle in the haystack stuff. Here's what I know

Re: [Freeswitch-users] FS Rocks!!!!!!!!!

2009-12-09 Thread Nik Middleton
] On Behalf Of Fred-145 Sent: 09 December 2009 19:55 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] FS Rocks! Nik Middleton wrote: I cannot imagine doing what I'm using FS for, with any other product. Yes it's frustrating at times, but this is largely down

<    1   2