From philq at qsystemsengineering.com Wed Aug 1 00:02:35 2012
From: philq at qsystemsengineering.com (Phil Quesinberry)
Date: Tue, 31 Jul 2012 16:02:35 -0400
Subject: [Freeswitch-users] Setting effecting_caller_id_name
Message-ID: <048301cd6f57$70b8ce90$522a6bb0$@com>
One thought did occur to me.
Would 'caller_id_name' not be set to the CNAM here because of the fact that
the lookup has already been cached with memcache? If that's the case, is
there a way around this behavior other than disabling memcache?
- Phil
_____________________________________________
From: Phil Quesinberry
Sent: Tuesday, July 31, 2012 12:20 PM
To: 'freeswitch-users at lists.freeswitch.org'
Subject: RE: Setting effecting_caller_id_name
Ok, the problem here is that the variable caller_id_name contains the Caller
ID number instead of the CNAM that was looked up. Is there a variable to
look at and change for the CNAM info? Info shows the CNAM info in
Caller-Caller-ID-Name but attempts to match on variations of that have
failed. Obviously I'm missing some basic piece of info here but I haven't
been able to find it, even within the FreeSwitch book.
I've pasted a small section of the relevant console output below.
I should also mention that I'm doing this check within public.xml since I
want it to apply to all incoming calls.
Thanks,
- Phil
2012-07-31 11:33:30.800571 [INFO] mod_dialplan_xml.c:485 Processing
4435551212 <4435551212>->4105551212 in context public
Dialplan: sofia/external/4435551212 at 140.239.xx.x parsing
[public->outside_call] continue=true
Dialplan: sofia/external/4435551212 at 140.239.xx.x Absolute Condition
[outside_call]
Dialplan: sofia/external/4435551212 at 140.239.xx.x Regex (PASS) [outside_call]
${module_exists(mod_cidlookup)}(true) =~ /true/ break=on-false
Dialplan: sofia/external/4435551212 at 140.239.xx.x Regex (PASS) [outside_call]
caller_id_name(4435551212) =~ /^4435551212$|^$/ break=on-false
Dialplan: sofia/external/4435551212 at 140.239.xx.x Regex (PASS) [outside_call]
caller_id_number(4435551212) =~ /^1?([2-9]\d\d[2-9]\d{6})$/ break=on-false
Dialplan: sofia/external/4435551212 at 140.239.xx.x Action
cidlookup(4435551212)
Dialplan: sofia/external/4435551212 at 140.239.xx.x parsing
[public->fix_cidnam_plus] continue=true
Dialplan: sofia/external/4435551212 at 140.239.xx.x Regex (FAIL)
[fix_cidnam_plus] caller_id_name(4435551212) =~
/^\+1?([2-9]\d\d[2-9]\d{6})$/ break=on-false
Dialplan: sofia/external/4435551212 at 140.239.xx.x parsing
[public->currently_running] continue=true
Dialplan: sofia/external/4435551212 at 140.239.xx.x Absolute Condition
[currently_running]
Dialplan: sofia/external/4435551212 at 140.239.xx.x Action info()
Dialplan: sofia/external/4435551212 at 140.239.xx.x Regex (FAIL)
[currently_running] caller_id_name(4435551212) =~ /^Currently running a
lookup/ break=on-false
Caller-Direction: [inbound]
Caller-Username: [4435551212]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [SMITH,JOHN]
Caller-Caller-ID-Number: [4435551212]
Caller-Network-Addr: [140.239.xx.x]
Caller-ANI: [4435551212]
Caller-Destination-Number: [4105551212]
_____________________________________________
From: Phil Quesinberry
Sent: Thursday, July 26, 2012 10:29 PM
To: 'freeswitch-users at lists.freeswitch.org'
Subject: RE: Setting effecting_caller_id_name
The reply is different each time, depending upon the number being looked up.
So, I just want to look at the first part of the string. If FS can't do a
regex match without the trailing $, I'm guessing there's a way to just do it
in XML.
I'll try and see what I can find after the storm passes unless you have a
better idea, I need to shut this computer down right now.
Thanks,
- Phil
You can just not use a regex.
Do you need to escape the spaces?
Brian Foster
Endigo Computer LLC
_____________________________________________
From: Phil Quesinberry
Sent: Thursday, July 26, 2012 5:46 PM
To: 'freeswitch-users at lists.freeswitch.org'
Subject: RE: Setting effecting_caller_id_name
If you put the $ at the end then it will try to match the entire string
instead of just the beginning of it, which won't work in this case. Is
there a way to match just the beginning of the string in FS?
Thanks,
- Phil
You need a $ after 'lookup' for it to be a regex.
Brian Foster
Endigo Computer LLC
_____________________________________________
From: Phil Quesinberry
Sent: Thursday, July 26, 2012 3:59 PM
To: 'freeswitch-users at lists.freeswitch.org'
Subject: Setting effecting_caller_id_name
And while I'm asking dumb questions.
When doing CNAM dips from opencnam.com, often you get a result of "Currently
running a lookup for phone 'xxxxxxxxxx'. on incoming calls, typically for
wireless or other unknown name callers and I wanted to change that to
"Wireless/Unknown" Since caller_id_name is apparently read-only, I am
attempting to set effective_caller_id_name. I put the following in
public.xml right below the "fix_cidnam_plus" entry, in other words after a
CNAM lookup has been performed.
If I crafted my regex properly, then it should be matching on the first part
of the string and setting the variable appropriately. Is
'effective_caller_id_name' the variable I should be setting?
Many thanks,
Phil Quesinberry
Q Systems Engineering, Inc.
Electronic Controls and Embedded Systems Development
(410) 969-8002
http://www.qsystemsengineering.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120731/6bcfb421/attachment.html
From ajohnston at blimessaging.com Wed Aug 1 00:16:50 2012
From: ajohnston at blimessaging.com (Adam Johnston)
Date: Tue, 31 Jul 2012 16:16:50 -0400
Subject: [Freeswitch-users] FreeSWITCH dying with no core file
In-Reply-To: <5013012C.9050003@freeswitch.org>
References:
<5013012C.9050003@freeswitch.org>
Message-ID:
That did it. My sporadic crash happened again and, sure enough, there's a
core file.
Thanks again,
Adam Johnston
On Fri, Jul 27, 2012 at 4:59 PM, Stefan Knoblich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/27/12 21:34, Adam Johnston wrote:
> > I use FreeSWITCH exclusively for high-volume fax, both sending and
> receiving, and I've been running into a sporadic issue where the FreeSWITCH
> process will die with nothing in the logs to
> > indicate an issue and no core file anywhere on the system. I'm setting
> "ulimit -c unlimited" in my init script, so I would expect to see a core
> file. Version: FreeSWITCH Version
> > 1.2.0-rc2+git~20120713T162602Z~0afd7318bd+unclean~20120713T182401Z
>
> You need to set /proc/sys/fs/suid_dumpable to a non-zero value (see man 5
> proc), to enable core dumping for processes
> that switch their UID on startup (such as freeswitch with -u option).
>
> By default, the freeswitch process will try to put the core file into the
> CWD (current work directory),
> so make sure the UID it is running as can write there (or "cd" into a
> different directory before starting it).
> You might also want to check out man 5 core, for all the other options
> (e.g. piping core dumps into a custom handler, with core_pattern).
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlATASwACgkQjiIIAK4rYUrjvQCgh1grtcBfPVhbZNw8tdQpsyda
> 614Amwb1pKDFL93dU33cy2wj1FNYYnzJ
> =0Xqk
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120731/8b24170a/attachment-0001.html
From gabe at gundy.org Wed Aug 1 03:31:18 2012
From: gabe at gundy.org (Gabriel Gunderson)
Date: Tue, 31 Jul 2012 17:31:18 -0600
Subject: [Freeswitch-users] No call_uuid in ringing state unix odbc for
PostgreSQL
In-Reply-To: <1343558012157-7581267.post@n2.nabble.com>
References: <1343558012157-7581267.post@n2.nabble.com>
Message-ID:
On Sun, Jul 29, 2012 at 4:33 AM, cogs66 wrote:
> I have tested on other FreeSWITCH installations and everything works great so i know it is
> to do with this rogue setup.
I just wanted to weigh in on this... It seems unlikely that ODBC and
PostgreSQL are at the root of this. Sorry, that's all I have for you
:) Let us know what you find out.
Best,
Gabe
From lloyd.aloysius at gmail.com Wed Aug 1 09:47:44 2012
From: lloyd.aloysius at gmail.com (Lloyd Aloysius)
Date: Wed, 1 Aug 2012 01:47:44 -0400
Subject: [Freeswitch-users] xml cdr help
In-Reply-To:
References:
Message-ID:
Brian & Ken - Thank you for the detail explanation. I understand the
concept now.
1416471234 144 outbound *7f055bf3-6622-4a47-8a86-e92c7683d74d*
898cc58c-8447-4a51-b559-3d1f2a063014
2012/07/30 15:37:41 00:00:12
1416471234 144 inbound 898cc58c-8447-4a51-b559-3d1f2a063014 *
7f055bf3-6622-4a47-8a86-e92c7683d74d* 2012/07/301 5:37:23 00:00:30
See above the two records. I want to show only the following record in the
CDR report. Because that is time the user on the phone. Is there any
recommended way to filter the record from cdr table
1416471234 144 outbound *7f055bf3-6622-4a47-8a86-e92c7683d74d*
898cc58c-8447-4a51-b559-3d1f2a063014 2012/07/30 15:37:41 00:00:12
Thank you
Lloyd
On Tue, Jul 31, 2012 at 10:29 AM, Ken Rice wrote:
> The Inbound/Outbound is from the perspective of FreeSWITCH... Keep in
> mind that FreeSWITCH is a b2bua that means that 1 call that goes Endpoint
> -> FreeSWITCH -> EndPoint is really 2 calls bridged together by freeswitch
> A Leg = Endpoint -> FreeSwitch (inbound on your CDR) B Leg = FreeSWITCH ->
> Endpoint (Outbound tagged on your CDR)
>
> You?ll notice that the UUIDs are flipped, cause each leg has a unique UUID
> and the ?Bridge UUID? field is the link back to the other leg(s) associated
> with that call
>
>
>
> On 7/31/12 8:37 AM, "Lloyd Aloysius" wrote:
>
> Hi All:
>
> I implement the xml cdr. Now For a Incoming call -> IVR - > Dial Extension
> create two records see below. Basically both records should say inbound
> call . But one say as outbound. What is the reason the xml cdr module
> behave this way. Also for a one incoming call to a destination why showing
> the two records?
>
>
> Also I notice when we make a outbound call the direction field say
> inbound. But it should be outbound. Any help is appreciated.
>
> callerid number , destination number , uuid ,bridge uuid , date ,time
>
> 1416471234 144 outbound *7f055bf3-6622-4a47-8a86-e92c7683d74d*898cc58c-8447-4a51-b559-3d1f2a063014 2012/07/30 15:37:41 00:00:12
>
> 1416471234 144 inbound 898cc58c-8447-4a51-b559-3d1f2a063014 *
> 7f055bf3-6622-4a47-8a86-e92c7683d74d* 2012/07/301 5:37:23 00:00:30
>
>
> Thanks
> Lloyd
>
> ------------------------------
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/88faf6d2/attachment.html
From lloyd.aloysius at gmail.com Wed Aug 1 10:20:41 2012
From: lloyd.aloysius at gmail.com (Lloyd Aloysius)
Date: Wed, 1 Aug 2012 02:20:41 -0400
Subject: [Freeswitch-users] ESL - phpmod compile Error
Message-ID:
Hi All:
when I compile the ESL module for php . OS - Centos 6.2 / 64 bit
libs/esl
make phpmod
I got the following Errors.
make phpmod
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x"
CFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g
-ggdb -I../../libs/libedit/src/ -fPIC -O2"
CXXFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g
-ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php
make[1]: Entering directory `/usr/src/freeswitch.git/libs/esl/php'
g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib6464 -lcrypt
-lcrypt -ledit -lncurses -lm -ldl -lnsl -lm -ldl -ldl -lm -lcrypt -lm
-lcrypt -lpthread -o ESL.so -L.
/usr/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
make[1]: *** [ESL.so] Error 1
make[1]: Leaving directory `/usr/src/freeswitch.git/libs/esl/php'
make: *** [phpmod] Error 2
How to solve this issue.
Thanks
Lloyd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/a004e162/attachment.html
From oseslija at gmail.com Wed Aug 1 10:24:14 2012
From: oseslija at gmail.com (Ognjen Seslija)
Date: Wed, 1 Aug 2012 08:24:14 +0200
Subject: [Freeswitch-users] SIP to make phone reboot or resync
In-Reply-To:
References: <07b501cd6c1a$238b3e90$6aa1bbb0$@bizfocused.com>
<094e01cd6c43$9e44cc90$dace65b0$@bizfocused.com>
<0c4001cd6cdf$b2603a10$1720ae30$@bizfocused.com>
<0deb01cd6d3f$67e43a30$37acae90$@bizfocused.com>
Message-ID:
Didn't know this...so Tony you make prop things non-prop..that's like
Prometheus work :)
On Mon, Jul 30, 2012 at 11:43 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> reverse-auth-user and reverse-auth-pass params in the params section
> of the xml tag in the user directory can be configured instead
> of a gateway and it will use those credentials instead.
>
>
> On Sat, Jul 28, 2012 at 11:05 PM, Sean Devoy
> wrote:
> > Thank you sir. That did help, I can resync my phone test either with
> > user/pass using any proxy user/pass from the lines on THAT phone. I can
> > also disable Auth Resync Reboot and let anyone send reboots - which
> might be
> > fun, but seems like a bad plan!
> >
> > This is not very useful for me since the phone's proxy user/pass must be
> > specified in the gateway XML for whole realm in the the SIP profile. I
> > hoped to be able to re-provision any phone on demand. It seems
> impractical
> > to have to restart/rescan my sofia gateway every time I want to issue a
> > resync to a different phone.
> >
> > Am I missing something?
> >
> > Sean
> >
> > -----Original Message-----
> > From: freeswitch-users-bounces at lists.freeswitch.org
> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> > Vallimamod ABDULLAH
> > Sent: Saturday, July 28, 2012 1:05 PM
> > To: FreeSWITCH Users Help
> > Subject: Re: [Freeswitch-users] SIP to make phone reboot or resync
> >
> > Hi,
> >
> > It's normally the sip account credentials. There is also an option in the
> > admin interface to disable this authentication ("Auth Resync-Reboot"
> option
> > if I recall correctly in Ext tab)
> >
> > Best Regards,
> > Vallimamod Abdullah
> > .
> >
> >
> > On Jul 28, 2012, at 6:40 PM, Sean Devoy wrote:
> >
> >> HI all,
> >>
> >> I am close, but I still don't understand what credentials are required.
> > The response is:
> >> SIP/2.0 401 Unauthorized
> >>
> >> I have tried the web admin credentials for the phone, I don't k now what
> > FS credentials I could pass.
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >> Sean
> >>
> >> From: freeswitch-users-bounces at lists.freeswitch.org
> >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> >> Anthony Minessale
> >> Sent: Friday, July 27, 2012 6:12 PM
> >> To: FreeSWITCH Users Help
> >> Subject: Re: [Freeswitch-users] SIP to make phone reboot or resync
> >>
> >> Make a gateway with no reg and the credentials and name it after the
> realm
> > in the challenge.
> >>
> >> On Jul 27, 2012 5:05 PM, "Sean Devoy" wrote:
> >> Thank Anthony, BUT.. Error:
> >> 2012-07-27 17:58:55.118642 [ERR] sofia_reg.c:2165 Cannot locate any
> >> authentication credentials to complete an authentication request for
> >> realm '"fs_bfis.bizfocused.com"'
> >>
> >> 1 - where do I specify the credentials?
> >> 2 - Are these Freeswitch credentials or phone credentials? I suspect
> >> the latter.
> >>
> >> -----Original Message-----
> >> From: freeswitch-users-bounces at lists.freeswitch.org
> >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> >> Anthony Minessale
> >> Sent: Friday, July 27, 2012 1:21 PM
> >> To: FreeSWITCH Users Help
> >> Subject: Re: [Freeswitch-users] SIP to make phone reboot or resync
> >>
> >> sofia profile check_sync [call_id] // no call_id means
> >> all sofia profile flush_inbound_reg [call_id] [reboot]
> >>
> >>
> >>
> >> On Fri, Jul 27, 2012 at 12:06 PM, Sean Devoy
> > wrote:
> >> > HI All,
> >> >
> >> >
> >> >
> >> > Does anyone have an code that will cause Freeswitch to send a SIP
> >> > message to a CISCO SPA5xx phone that will cause it to reboot or
> >> > resync (aka re-provision)? I know about the URLs that cause the
> >> > phone to do this, but they are NATed, so I need to use SIP to hit
> them.
> >> >
> >> >
> >> >
> >> > Assume I am programming language omni-lingual for this request!
> >> >
> >> >
> >> >
> >> > Thanks,
> >> >
> >> > Sean
> >> >
> >> >
> >> > ____________________________________________________________________
> >> > __ ___ Professional FreeSWITCH Consulting Services:
> >> > consulting at freeswitch.org
> >> > http://www.freeswitchsolutions.com
> >> >
> >> >
> >> >
> >> >
> >> > Official FreeSWITCH Sites
> >> > http://www.freeswitch.org
> >> > http://wiki.freeswitch.org
> >> > http://www.cluecon.com
> >> >
> >> > Join Us At ClueCon - Aug 7-9, 2012
> >> >
> >> > 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-u
> >> > se
> >> > rs
> >> > http://www.freeswitch.org
> >> >
> >>
> >>
> >>
> >> --
> >> Anthony Minessale II
> >>
> >> FreeSWITCH http://www.freeswitch.org/
> >> ClueCon http://www.cluecon.com/
> >> Twitter: http://twitter.com/FreeSWITCH_wire
> >>
> >> AIM: anthm
> >> MSN:anthony_minessale at hotmail.com
> >> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> >> IRC: irc.freenode.net #freeswitch
> >>
> >> FreeSWITCH Developer Conference
> >> sip:888 at conference.freeswitch.org
> >> googletalk:conf+888 at conference.freeswitch.org
> >> pstn:+19193869900
> >>
> >> ______________________________________________________________________
> >> ___ Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >>
> >>
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> Join Us At ClueCon - Aug 7-9, 2012
> >>
> >> 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-use
> >> rs
> >> http://www.freeswitch.org
> >>
> >>
> >>
> >> ______________________________________________________________________
> >> ___ Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >>
> >>
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> Join Us At ClueCon - Aug 7-9, 2012
> >>
> >> 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-use
> >> rs
> >> http://www.freeswitch.org
> >> ______________________________________________________________________
> >> ___ Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >>
> >>
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> Join Us At ClueCon - Aug 7-9, 2012
> >>
> >> 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-use
> >> rs
> >> http://www.freeswitch.org
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > 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
> >
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > 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
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/8eaa8891/attachment-0001.html
From vbvbrj at gmail.com Wed Aug 1 10:53:39 2012
From: vbvbrj at gmail.com (Vbvbrj)
Date: Wed, 01 Aug 2012 09:53:39 +0300
Subject: [Freeswitch-users] $${base_dir} effect
Message-ID: <5018D273.1060308@gmail.com>
Hello.
I have a start up script which CDs to basedir of FS before launching
daemon with "bin/freeswitch -nc".
In freeswitch.xml I have
to set other paths relative to current directory. As in default config
files from repository most parameters which uses $${base_dir}/some-path
a commented out, its hard to test. I've encountered problem with
mod_callcenter. In callcenter.conf.xml there is:
.
In final freeswitch.xml.fsxml the line is:
But final recorded path from logs become
$${sounds_dir}/$${base_dir}/recordings/ ie
/opt/freeswitch/sounds/en/us/callie/./recordings/ or
/opt/freeswitch/sounds/en/us/callie/recordings/ in final creation.
Where does this $${sounds_dir} come if I don't specify it?
Thank you.
From ramesh_mind at yahoo.com Wed Aug 1 11:11:16 2012
From: ramesh_mind at yahoo.com (ramesh)
Date: Wed, 1 Aug 2012 00:11:16 -0700 (PDT)
Subject: [Freeswitch-users] Call is Automatically Retried for 3 times,
if call is unanswered
Message-ID: <1343805076936-7581401.post@n2.nabble.com>
Hi Team,
I made a script to dial a user , and if not answered the second user should
get the dial. Everything works file , Except the first user is dialed for 3
times , if the user is busy or unanswered , i was trying to figure out what
could be the problem for this issue, but i couldn't .
Can Anyone Figure out what is the reason for this issue.
below is my lua dial script
session:execute("bridge","{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7,originate_continue_on_timeout=true}sofia/gateway/bandwidth.com/+919xxxxxxxx|sofia/gateway/bandwidth.com/+919xxxxxxxx");
following is the log i can get.
Any Help or suggestion would be really helpful!
[NOTICE] sofia.c:5594 Ring-Ready sofia/internal/+919677080275!
2012-08-01 07:09:13.212635 [DEBUG] switch_ivr_originate.c:1164 Raw Codec
Activation Success L16 at 16000hz 1 channel 20ms
2012-08-01 07:09:13.212635 [DEBUG] switch_core_codec.c:216
rtmp/default/+542914850488 Push codec L16:70
2012-08-01 07:09:13.212635 [DEBUG] switch_ivr_originate.c:1227 Play Ringback
Tone [%(2000,4000,440,480)]
2012-08-01 07:09:16.532655 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:16.532655 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:16.552637 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:16.552637 [DEBUG] sofia.c:5513 Remote SDP:
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[SPEEX:99:16000:20:42200]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[G7221:115:32000:20:48000]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[G7221:107:16000:20:32000]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[G722:9:8000:20:64000]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:2919 Set Codec
sofia/internal/+919677080275 PCMU/8000 20 ms 160 samples 64000 bits
2012-08-01 07:09:16.552637 [DEBUG] switch_core_codec.c:111
sofia/internal/+919677080275 Original read codec set to PCMU:0
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3171 AUDIO RTP
[sofia/internal/+919677080275] 10.244.15.45 port 30506 -> 65.115.130.14 port
10382 codec: 0 ms: 20
2012-08-01 07:09:16.552637 [DEBUG] switch_rtp.c:1661 Starting timer [soft]
160 bytes per 20ms
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3435 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3441 Set 2833 dtmf receive
payload to 101
2012-08-01 07:09:16.552637 [NOTICE] sofia_glue.c:3945 Pre-Answer
sofia/internal/+919677080275!
2012-08-01 07:09:16.552637 [DEBUG] switch_channel.c:2936
(sofia/internal/+919677080275) Callstate Change RINGING -> EARLY
2012-08-01 07:09:16.552637 [DEBUG] switch_channel.c:2978 Send signal
rtmp/default/+542914850488 [BREAK]
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2782 Adding tone spec
480,620 index 0 hits 1
2012-08-01 07:09:16.572648 [DEBUG] switch_core_media_bug.c:457 Attaching BUG
to sofia/internal/+919677080275
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2782 Adding tone spec
1776.7 index 1 hits 2
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2877
sofia/internal/+919677080275 bug already running
2012-08-01 07:09:16.572648 [DEBUG] switch_rtp.c:3205 Correct ip/port
confirmed.
2012-08-01 07:09:16.572648 [DEBUG] switch_core_io.c:340 Setting BUG Codec
PCMU:0
2012-08-01 07:09:33.072650 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:33.072650 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:33.092641 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:33.092641 [DEBUG] sofia.c:5510 Duplicate SDP
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:2853 Already using PCMU
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:3141 Audio params are
unchanged for sofia/internal/+919677080275.
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:3151
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0
2012-08-01 07:09:36.372634 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:36.372634 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:36.392686 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:36.392686 [DEBUG] sofia.c:5510 Duplicate SDP
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:2853 Already using PCMU
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:3141 Audio params are
unchanged for sofia/internal/+919677080275.
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:3151
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0
2012-08-01 07:09:38.512638 [DEBUG] libdingaling.c:1624 Sent keep alive
signal
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5510 Duplicate SDP
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:2853 Already using PCMU
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3141 Audio params are
unchanged for sofia/internal/+919677080275.
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3151
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5510 Duplicate SDP
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:2853 Already using PCMU
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3141 Audio params are
unchanged for sofia/internal/+919677080275.
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3151
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0
2012-08-01 07:10:11.012635 [DEBUG] switch_core_codec.c:241
rtmp/default/+542914850488 Restore previous codec SPEEX:99.
2012-08-01 07:10:11.012635 [DEBUG] switch_channel.c:2852
(sofia/internal/+919677080275) Callstate Change EARLY -> HANGUP
2012-08-01 07:10:11.012635 [NOTICE] switch_ivr_originate.c:3182 Hangup
sofia/internal/+919677080275 [CS_CONSUME_MEDIA] [NO_ANSWER]
Thanks
Ramesh
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Call-is-Automatically-Retried-for-3-times-if-call-is-unanswered-tp7581401.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
From peter.olsson at visionutveckling.se Wed Aug 1 11:18:12 2012
From: peter.olsson at visionutveckling.se (Peter Olsson)
Date: Wed, 1 Aug 2012 07:18:12 +0000
Subject: [Freeswitch-users] ESL - phpmod compile Error
Message-ID: <1FFF97C269757C458224B7C895F35F1513B61A@cantor.std.visionutv.se>
Submit to http://jira.freeswitch.org
/Peter
Fr?n: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] F?r Lloyd Aloysius
Skickat: den 1 augusti 2012 08:21
Till: FreeSWITCH Users Help
?mne: [Freeswitch-users] ESL - phpmod compile Error
Hi All:
when I compile the ESL module for php . OS - Centos 6.2 / 64 bit
libs/esl
make phpmod
I got the following Errors.
make phpmod
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php
make[1]: Entering directory `/usr/src/freeswitch.git/libs/esl/php'
g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib6464 -lcrypt -lcrypt -ledit -lncurses -lm -ldl -lnsl -lm -ldl -ldl -lm -lcrypt -lm -lcrypt -lpthread -o ESL.so -L.
/usr/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
make[1]: *** [ESL.so] Error 1
make[1]: Leaving directory `/usr/src/freeswitch.git/libs/esl/php'
make: *** [phpmod] Error 2
How to solve this issue.
Thanks
Lloyd
!DSPAM:5018c8de32761380847499!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/41cc5284/attachment.html
From slava at tangramltd.com Wed Aug 1 12:20:57 2012
From: slava at tangramltd.com (Viacheslav Dubrovskyi)
Date: Wed, 01 Aug 2012 11:20:57 +0300
Subject: [Freeswitch-users] $${base_dir} effect
In-Reply-To: <5018D273.1060308@gmail.com>
References: <5018D273.1060308@gmail.com>
Message-ID: <5018E6E9.2000309@tangramltd.com>
01.08.2012 09:53, Vbvbrj ?????:
> Where does this $${sounds_dir} come if I don't specify it?
in configure.in
AC_ARG_WITH([soundsdir],
[AS_HELP_STRING([--with-soundsdir=DIR], [Put sound files into this
location (default: $prefix/sounds)])], [soundsdir="$withval"],
[soundsdir="$prefix/sounds"])
AC_SUBST(soundsdir)
So you need setup it during build: -
./configure --with-soundsdir ...
--
WBR,
Viacheslav Dubrovskyi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4931 bytes
Desc: ?????????????????????????????????? ?????????????? S/MIME
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/7049a7d3/attachment-0001.bin
From vbvbrj at gmail.com Wed Aug 1 12:29:10 2012
From: vbvbrj at gmail.com (Vbvbrj)
Date: Wed, 01 Aug 2012 11:29:10 +0300
Subject: [Freeswitch-users] $${base_dir} effect
In-Reply-To: <5018E6E9.2000309@tangramltd.com>
References: <5018D273.1060308@gmail.com> <5018E6E9.2000309@tangramltd.com>
Message-ID: <5018E8D6.4060906@gmail.com>
On 01.08.2012 11:20, Viacheslav Dubrovskyi wrote:
> 01.08.2012 09:53, Vbvbrj ?????:
>> Where does this $${sounds_dir} come if I don't specify it?
> in configure.in
>
> AC_ARG_WITH([soundsdir],
> [AS_HELP_STRING([--with-soundsdir=DIR], [Put sound files into this
> location (default: $prefix/sounds)])], [soundsdir="$withval"],
> [soundsdir="$prefix/sounds"])
> AC_SUBST(soundsdir)
>
>
> So you need setup it during build: -
>
> ./configure --with-soundsdir ...
On configure, default is:
soundsdir = ${prefix}/sounds
recordingsdir = ${prefix}/recordings
Also I specify soundsdir and recordingsdir using command line on FS start.
If in callcenter.conf.xml I use absolute path for recordings folder, the
resulting folder is correct. If I use relative, then value of
${sounds_dir} is prepended. It should not do this. Inot prepend
${base_dir} ?
From X.Liu at hw.ac.uk Wed Aug 1 12:48:46 2012
From: X.Liu at hw.ac.uk (Liu, Xingkun)
Date: Wed, 1 Aug 2012 09:48:46 +0100
Subject: [Freeswitch-users] Am I using play_and_detect_speech correctly?
References: <50179069.6020700@hw.ac.uk>
Message-ID:
Hi Chris,
Many thanks for your info and suggestions!
Would you please tell me a bit more or any clue about the idea of using detect_speech APP to handle
barge-in over ESL? It is an interesting idea to try but for now I don't have any clue how it could be
done over Java ESL without touching or modifying detect_speech APP codes.
Thanks again!
Best regards,
Xing
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Christopher Rienzo
Sent: Tue 7/31/2012 13:44
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Am I using play_and_detect_speech correctly?
I looked over the code again last night and verified that
play_and_detect_speech should try to stop detection before loading the
grammar. However, that scenario is not really tested, so try the
workaround first. If that doesn't work, open a jira ticket with detailed
logs so it can be fixed.
You can use the detect_speech APP to do everything over ESL. It is a lot
more work, but once you figure it out, you have the freedom to do whatever
you want, including handling barge-in. play_and_detect_speech is designed
to handle the typical use case.
Chris
On Tue, Jul 31, 2012 at 3:59 AM, x.liu wrote:
> Hi Chris,
>
> Okay, thanks! I will have tries to see how it works.
>
> For the normal use of the app: play_and_detect_speech, will it resume
> previous ASR session,
> or will it stop previous session and restart a new session each time when
> I issue it via ESL?
>
> For the app of detect_speech, I can first to start an ASR session by
> "detect_speech speechMod grammar grammarPath",
> then I can do "detect_speech pause", or "detect_speech resume" or
> "detect_speech stop".
> But for play_and_detect_speech, I am not sure how it works in terms of
> starting, pause, resume/restart sequence.
>
> The play_and_detect_speech is a very good, useful app as it supports the
> barge-in. So we definitely need to use it.
>
> Thanks!
>
> Xing
>
>
>
>
>
> On 07/31/2012 12:53 AM, Christopher Rienzo wrote:
>
> You are using that APP in a way that hasn't been tested. Try to do
> "speech_detect pause" and see if that helps. It will reserve your ASR
> session for reuse while "speech_detect stop" will tear it down completely.
> If that doesn't work, open a jira ticket and attach a full call trace.
> It's difficult to understand exactly what is happening from your
> description.
>
>
> Chris
>
>
>
> On Mon, Jul 30, 2012 at 5:38 PM, Liu, Xingkun wrote:
>
>> Hello,
>>
>> I am using play_and_detect_speech with Java ESL in my IVR applications.
>>
>> Previously I call it again each time after I receive any recognition
>> event,
>> like recognition complete, no-input-timeout, or recognition-timeout,
>> it seems to work fine.
>>
>> Now I have changed my app to issue play_and_detect_speech command based on
>> my available system utterances as well as the speech event.
>>
>> I.e., I use a separate thread to constantly check if there is a system
>> utterance coming in
>> from another component of my application, if there is any utterance I
>> issue the command which will
>> speak the new utterance and listen to user input no matter whether or not
>> previous
>> command has finished. And if there is any speech event (recognition
>> result, timeout etc.)
>> the play_and_detect_speech command is also issued but with playing
>> silence.
>>
>> Obviously the new command will stop the utterance speaking of the
>> previous command if it is not finished.
>>
>> My question is
>>
>> will the new play_and_detect_speech command also stop the previous ASR
>> listening
>> or will there be many ASR listening channel and sending speech data (or
>> silence) to ASR server?
>>
>> Do I need to explicitly issue a "stop" commnad before issuing a new
>> play_and_detect_speech?
>> If yes, how to do that, by "detect_speech stop"?
>>
>> Recently there is a network traffice problem (lots of connections /data
>> transportation to the ASR server machine)
>> when I am running my application. I am not sure if this is because of
>> other issues
>> or because of my new changes to the way of using play_and_detect_speech.
>>
>> Please any one could shed a light on this?
>>
>> Many thanks!
>>
>> Xing
>>
>>
>> ------------------------------
>>
>> *Heriot-Watt University is the Sunday Times Scottish University of the
>> Year 2011-2012.*
>>
>> We invite research leaders and ambitious early career researchers to
>> join us in leading and driving research in key inter-disciplinary themes.
>> Please see www.hw.ac.uk/researchleaders for further information and how
>> to apply.
>>
>> Heriot-Watt University is a Scottish charity registered under charity
>> number SC000278.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
>
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> ------------------------------
>
> *Heriot-Watt University is the Sunday Times Scottish University of the
> Year 2011-2012.*
>
> We invite research leaders and ambitious early career researchers to join
> us in leading and driving research in key inter-disciplinary themes. Please
> see www.hw.ac.uk/researchleaders for further information and how to
> apply.
>
> Heriot-Watt University is a Scottish charity registered under charity
> number SC000278.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
--
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
We invite research leaders and ambitious early career researchers to
join us in leading and driving research in key inter-disciplinary themes.
Please see www.hw.ac.uk/researchleaders for further information and how
to apply.
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/1d1b62f7/attachment.html
From ramesh_mind at yahoo.com Wed Aug 1 13:15:53 2012
From: ramesh_mind at yahoo.com (ramesh)
Date: Wed, 1 Aug 2012 02:15:53 -0700 (PDT)
Subject: [Freeswitch-users] Freeswitch Auto Retrying a call for 3 times ,
if it is not answered
Message-ID: <1343812553346-7581406.post@n2.nabble.com>
Hi Team,
I made a script to dial a user , and if not answered the second user should
get the dial. Everything works file , Except the first user is dialed for 3
times , if the user is busy or unanswered , i was trying to figure out what
could be the problem for this issue, but i couldn't .
Can Anyone Figure out what is the reason for this issue.
below is my lua dial script
session:execute("bridge","{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7,originate_continue_on_timeout=true}sofia/gateway/bandwidth.com/+919xxxxxxxx|sofia/gateway/bandwidth.com/+919xxxxxxxx");
following is the log i can get.
Any Help or suggestion would be really helpful!
[NOTICE] sofia.c:5594 Ring-Ready sofia/internal/+919677080275!
2012-08-01 07:09:13.212635 [DEBUG] switch_ivr_originate.c:1164 Raw Codec
Activation Success L16 at 16000hz 1 channel 20ms
2012-08-01 07:09:13.212635 [DEBUG] switch_core_codec.c:216
rtmp/default/+542914850488 Push codec L16:70
2012-08-01 07:09:13.212635 [DEBUG] switch_ivr_originate.c:1227 Play Ringback
Tone [%(2000,4000,440,480)]
2012-08-01 07:09:16.532655 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:16.532655 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:16.552637 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:16.552637 [DEBUG] sofia.c:5513 Remote SDP:
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[SPEEX:99:16000:20:42200]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[G7221:115:32000:20:48000]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[G7221:107:16000:20:32000]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[G722:9:8000:20:64000]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:2919 Set Codec
sofia/internal/+919677080275 PCMU/8000 20 ms 160 samples 64000 bits
2012-08-01 07:09:16.552637 [DEBUG] switch_core_codec.c:111
sofia/internal/+919677080275 Original read codec set to PCMU:0
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3171 AUDIO RTP
[sofia/internal/+919677080275] 10.244.15.45 port 30506 -> 65.115.130.14 port
10382 codec: 0 ms: 20
2012-08-01 07:09:16.552637 [DEBUG] switch_rtp.c:1661 Starting timer [soft]
160 bytes per 20ms
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3435 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3441 Set 2833 dtmf receive
payload to 101
2012-08-01 07:09:16.552637 [NOTICE] sofia_glue.c:3945 Pre-Answer
sofia/internal/+919677080275!
2012-08-01 07:09:16.552637 [DEBUG] switch_channel.c:2936
(sofia/internal/+919677080275) Callstate Change RINGING -> EARLY
2012-08-01 07:09:16.552637 [DEBUG] switch_channel.c:2978 Send signal
rtmp/default/+542914850488 [BREAK]
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2782 Adding tone spec
480,620 index 0 hits 1
2012-08-01 07:09:16.572648 [DEBUG] switch_core_media_bug.c:457 Attaching BUG
to sofia/internal/+919677080275
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2782 Adding tone spec
1776.7 index 1 hits 2
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2877
sofia/internal/+919677080275 bug already running
2012-08-01 07:09:16.572648 [DEBUG] switch_rtp.c:3205 Correct ip/port
confirmed.
2012-08-01 07:09:16.572648 [DEBUG] switch_core_io.c:340 Setting BUG Codec
PCMU:0
2012-08-01 07:09:33.072650 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:33.072650 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:33.092641 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:33.092641 [DEBUG] sofia.c:5510 Duplicate SDP
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:2853 Already using PCMU
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:3141 Audio params are
unchanged for sofia/internal/+919677080275.
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:3151
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0
2012-08-01 07:09:36.372634 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:36.372634 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:36.392686 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:36.392686 [DEBUG] sofia.c:5510 Duplicate SDP
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:2853 Already using PCMU
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:3141 Audio params are
unchanged for sofia/internal/+919677080275.
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:3151
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0
2012-08-01 07:09:38.512638 [DEBUG] libdingaling.c:1624 Sent keep alive
signal
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
sofia/internal/+919677080275 [BREAK]
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5510 Duplicate SDP
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:2853 Already using PCMU
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3141 Audio params are
unchanged for sofia/internal/+919677080275.
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3151
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5502 Channel
sofia/internal/+919677080275 entering state [proceeding][183]
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5510 Duplicate SDP
v=0
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
s=SIP Media Capabilities
c=IN IP4 65.115.130.14
t=0 0
m=audio 10382 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:2853 Already using PCMU
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
payload to 101
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3141 Audio params are
unchanged for sofia/internal/+919677080275.
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3151
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0
2012-08-01 07:10:11.012635 [DEBUG] switch_core_codec.c:241
rtmp/default/+542914850488 Restore previous codec SPEEX:99.
2012-08-01 07:10:11.012635 [DEBUG] switch_channel.c:2852
(sofia/internal/+919677080275) Callstate Change EARLY -> HANGUP
2012-08-01 07:10:11.012635 [NOTICE] switch_ivr_originate.c:3182 Hangup
sofia/internal/+919677080275 [CS_CONSUME_MEDIA] [NO_ANSWER]
Thanks
Ramesh
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-Auto-Retrying-a-call-for-3-times-if-it-is-not-answered-tp7581406.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
From ale975 at gmail.com Wed Aug 1 15:40:38 2012
From: ale975 at gmail.com (Ale)
Date: Wed, 1 Aug 2012 13:40:38 +0200
Subject: [Freeswitch-users] freeswitch_licence_server problem
Message-ID:
Hello,
short: after installation fs show "Can't contact licence server." and
freeswitch_licence_server in console show "Unrecognised resource
G.729A/0".
I've purchased a license, downloaded 194 installer, mod_com_g729.so is
in lib64/freeswitch/mod dir, and license file without licenze.zip is
in /etc/freeswitch.
Freeswitch run as user freeswitch user on a centos.
Where i unload mod_g729 and load the mod_com, server correctly starts.
I also try to kill the server,
and manually start it a root user, but nothing change.
could someone give me any hints?
Thanks alessandro
From nathandownes at hotmail.com Wed Aug 1 17:04:17 2012
From: nathandownes at hotmail.com (Mr Nathan Downes)
Date: Wed, 1 Aug 2012 23:04:17 +1000
Subject: [Freeswitch-users] FW: multi-tenant setup - call goes to wrong place
In-Reply-To: <03e401cd6be9$52f19b10$f8d4d130$@hotmail.com>
References: <03e401cd6be9$52f19b10$f8d4d130$@hotmail.com>
Message-ID:
Hi,
I ended up locating the problem.. it appears when I was playing with
shared_presence.. to try and get BLF working for certain tenants. What I
thought would help from googling caused this issue somehow, below is what I
enabled to cause the problem.
In internal.xml
this one true
this one enabled
this one true + enabled
this one + enabled
Is this actually required to use BLF for a certain domain?
From: Mr Nathan Downes [mailto:nathandownes at hotmail.com]
Sent: Friday, 27 July 2012 9:17 PM
To: 'FreeSWITCH Users Help'
Subject: multi-tenant setup - call goes to wrong place
Hi,
I have a multi tenant setup with fusionpbx, for one domain I use extensions
that don't register just for voicemail i.e 201 at domain1.com , when someone
from xx at domain1.com calls 201 everything appears to go correctly, domain is
set and call goes to 201 at domain1.com but when it first becomes an ip it
sends to 201 at domain2.ip.address. It doesn't seem to happen with all
extensions numbered the same in different domains..
Any idea what to look for??
Log as follows.
2012-07-26 09:37:35.178096 [NOTICE] switch_channel.c:926 New Channel
sofia/internal/306 at domain1.com [b62db898-d6b1-11e1-be15-73f389528c7f]
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/306 at domain1.com) Running State Change CS_NEW
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:403
(sofia/internal/306 at domain1.com) State NEW
2012-07-26 09:37:35.178096 [DEBUG] sofia.c:5838 Channel
sofia/internal/306 at domain1.com entering state [received][100]
2012-07-26 09:37:35.178096 [DEBUG] sofia.c:5849 Remote SDP:
v=0
o=- 60255882 60255882 IN IP4 115.64.93.203
s=-
c=IN IP4 115.64.93.203
t=0 0
m=audio 55938 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:3941 Looking for zrtp-hash
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:3919 Deciding whether to
pass zrtp-hash between legs
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:3921 CF_ZRTP_PASSTHRU_REQ
not set, so not propagating zrtp-hash
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:5034 Audio Codec Compare
[PCMA:8:8000:20:64000]/[PCMA:8:8000:20:64000]
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:3020 Set Codec
sofia/internal/306 at domain1.com PCMA/8000 20 ms 160 samples 64000 bits
2012-07-26 09:37:35.178096 [DEBUG] switch_core_codec.c:111
sofia/internal/306 at domain1.com Original read codec set to PCMA:8
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:5155 Set 2833 dtmf send/recv
payload to 101
2012-07-26 09:37:35.178096 [DEBUG] sofia.c:6077
(sofia/internal/306 at domain1.com) State Change CS_NEW -> CS_INIT
2012-07-26 09:37:35.178096 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/306 at domain1.com [BREAK]
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/306 at domain1.com) Running State Change CS_INIT
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:424
(sofia/internal/306 at domain1.com) State INIT
2012-07-26 09:37:35.178096 [DEBUG] mod_sofia.c:85
sofia/internal/306 at domain1.com SOFIA INIT
2012-07-26 09:37:35.178096 [DEBUG] mod_sofia.c:125
(sofia/internal/306 at domain1.com) State Change CS_INIT -> CS_ROUTING
2012-07-26 09:37:35.178096 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/306 at domain1.com [BREAK]
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:424
(sofia/internal/306 at domain1.com) State INIT going to sleep
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/306 at domain1.com) Running State Change CS_ROUTING
2012-07-26 09:37:35.178096 [DEBUG] switch_channel.c:1919
(sofia/internal/306 at domain1.com) Callstate Change DOWN -> RINGING
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:433
(sofia/internal/306 at domain1.com) State ROUTING
2012-07-26 09:37:35.178096 [DEBUG] mod_sofia.c:148
sofia/internal/306 at domain1.com SOFIA ROUTING
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:104
sofia/internal/306 at domain1.com Standard ROUTING
2012-07-26 09:37:35.178096 [INFO] mod_dialplan_xml.c:485 Processing
0286249343 <306>->201 in context domain1.com
Dialplan: sofia/internal/306 at domain1.com parsing [domain1.com->unloop]
continue=false
Dialplan: sofia/internal/306 at domain1.com parsing
[domain1.com->Local_Extension] continue=false
Dialplan: sofia/internal/306 at domain1.com Regex (PASS) [Local_Extension]
destination_number(201) =~ /(^\d{2,7}$)/ break=on-false
Dialplan: sofia/internal/306 at domain1.com Action set(dialed_extension=201)
Dialplan: sofia/internal/306 at domain1.com Action export(dialed_extension=201)
Dialplan: sofia/internal/306 at domain1.com Action limit(hash ${domain_name}
201 ${limit_max} ${limit_destination})
Dialplan: sofia/internal/306 at domain1.com Action bind_meta_app(1 b s
execute_extension::dx XML features)
Dialplan: sofia/internal/306 at domain1.com Action bind_meta_app(2 b s
record_session::/usr/local/freeswitch/recordings/archive/${strftime(%Y)}/${s
trftime(%b)}/${strftime(%d)}/${uuid}.wav)
Dialplan: sofia/internal/306 at domain1.com Action bind_meta_app(3 b s
execute_extension::cf XML features)
Dialplan: sofia/internal/306 at domain1.com Action bind_meta_app(4 b s
execute_extension::att_xfer XML features)
Dialplan: sofia/internal/306 at domain1.com Action set(ringback=${us-ring})
Dialplan: sofia/internal/306 at domain1.com Action
set(transfer_ringback=local_stream://moh)
Dialplan: sofia/internal/306 at domain1.com Action set(call_timeout=30)
Dialplan: sofia/internal/306 at domain1.com Action
set(hangup_after_bridge=true)
Dialplan: sofia/internal/306 at domain1.com Action set(continue_on_fail=true)
Dialplan: sofia/internal/306 at domain1.com Action
hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_numbe
r})
Dialplan: sofia/internal/306 at domain1.com Action
hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid})
Dialplan: sofia/internal/306 at domain1.com Action
set(called_party_callgroup=${user_data(${dialed_extension}@${domain_name}
var callgroup)})
Dialplan: sofia/internal/306 at domain1.com Action
hash(insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid})
Dialplan: sofia/internal/306 at domain1.com Action
bridge(user/${user_data(${destination_number}@${domain_name} attr
id)}@${domain_name})
Dialplan: sofia/internal/306 at domain1.com Action answer()
Dialplan: sofia/internal/306 at domain1.com Action sleep(1000)
Dialplan: sofia/internal/306 at domain1.com Action voicemail(default
${domain_name} ${dialed_extension})
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:154
(sofia/internal/306 at domain1.com) State Change CS_ROUTING -> CS_EXECUTE
2012-07-26 09:37:35.178096 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/306 at domain1.com [BREAK]
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:433
(sofia/internal/306 at domain1.com) State ROUTING going to sleep
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/306 at domain1.com) Running State Change CS_EXECUTE
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:440
(sofia/internal/306 at domain1.com) State EXECUTE
2012-07-26 09:37:35.178096 [DEBUG] mod_sofia.c:241
sofia/internal/306 at domain1.com SOFIA EXECUTE
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:196
sofia/internal/306 at domain1.com Standard EXECUTE
EXECUTE sofia/internal/306 at domain1.com set(call_direction=local)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [call_direction]=[local]
EXECUTE sofia/internal/306 at domain1.com set(open=true)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [open]=[true]
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-spymap/306/b62db898-d6b1-11e1-be15-73f389528c7f)
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-last_dial/306/201)
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-last_dial/global/b62db898-d6b1-11e1-be15-73f389528c7
f)
EXECUTE sofia/internal/306 at domain1.com set(RFC2822_DATE=Thu, 26 Jul 2012
09:37:35 +1000)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [RFC2822_DATE]=[Thu, 26 Jul 2012 09:37:35
+1000]
EXECUTE sofia/internal/306 at domain1.com set(dialed_extension=201)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [dialed_extension]=[201]
EXECUTE sofia/internal/306 at domain1.com export(dialed_extension=201)
2012-07-26 09:37:35.178096 [DEBUG] switch_channel.c:1093 EXPORT
(export_vars) [dialed_extension]=[201]
EXECUTE sofia/internal/306 at domain1.com limit(hash domain1.com 201 2 !BUSY)
2012-07-26 09:37:35.178096 [INFO] switch_limit.c:126 incr called:
domain1.com_201 max:2, interval:0
2012-07-26 09:37:35.178096 [INFO] mod_hash.c:202 Usage for domain1.com_201
is now 1/2
EXECUTE sofia/internal/306 at domain1.com bind_meta_app(1 b s
execute_extension::dx XML features)
2012-07-26 09:37:35.178096 [INFO] switch_ivr_async.c:3328 Bound B-Leg: *1
execute_extension::dx XML features
EXECUTE sofia/internal/306 at domain1.com bind_meta_app(2 b s
record_session::/usr/local/freeswitch/recordings/archive/2012/Jul/26/b62db89
8-d6b1-11e1-be15-73f389528c7f.wav)
2012-07-26 09:37:35.178096 [INFO] switch_ivr_async.c:3328 Bound B-Leg: *2
record_session::/usr/local/freeswitch/recordings/archive/2012/Jul/26/b62db89
8-d6b1-11e1-be15-73f389528c7f.wav
EXECUTE sofia/internal/306 at domain1.com bind_meta_app(3 b s
execute_extension::cf XML features)
2012-07-26 09:37:35.178096 [INFO] switch_ivr_async.c:3328 Bound B-Leg: *3
execute_extension::cf XML features
EXECUTE sofia/internal/306 at domain1.com bind_meta_app(4 b s
execute_extension::att_xfer XML features)
2012-07-26 09:37:35.178096 [INFO] switch_ivr_async.c:3328 Bound B-Leg: *4
execute_extension::att_xfer XML features
EXECUTE sofia/internal/306 at domain1.com set(ringback=%(2000, 4000, 440.0,
480.0))
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [ringback]=[%(2000, 4000, 440.0, 480.0)]
EXECUTE sofia/internal/306 at domain1.com
set(transfer_ringback=local_stream://moh)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [transfer_ringback]=[local_stream://moh]
EXECUTE sofia/internal/306 at domain1.com set(call_timeout=30)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [call_timeout]=[30]
EXECUTE sofia/internal/306 at domain1.com set(hangup_after_bridge=true)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [hangup_after_bridge]=[true]
EXECUTE sofia/internal/306 at domain1.com set(continue_on_fail=true)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [continue_on_fail]=[true]
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-call_return/201/306)
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-last_dial_ext/201/b62db898-d6b1-11e1-be15-73f389528c
7f)
EXECUTE sofia/internal/306 at domain1.com set(called_party_callgroup=)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [called_party_callgroup]=[UNDEF]
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-last_dial//b62db898-d6b1-11e1-be15-73f389528c7f)
EXECUTE sofia/internal/306 at domain1.com bridge(user/201 at domain1.com)
2012-07-26 09:37:35.178096 [DEBUG] switch_channel.c:1047
sofia/internal/306 at domain1.com EXPORTING[export_vars]
[domain_name]=[domain1.com] to event
2012-07-26 09:37:35.178096 [DEBUG] switch_channel.c:1047
sofia/internal/306 at domain1.com EXPORTING[export_vars]
[dialed_extension]=[201] to event
2012-07-26 09:37:35.178096 [DEBUG] switch_ivr_originate.c:1958 Parsing
global variables
2012-07-26 09:37:35.198097 [DEBUG] switch_channel.c:1047
sofia/internal/306 at domain1.com EXPORTING[export_vars]
[domain_name]=[domain1.com] to event
2012-07-26 09:37:35.198097 [DEBUG] switch_channel.c:1047
sofia/internal/306 at domain1.com EXPORTING[export_vars]
[dialed_extension]=[201] to event
2012-07-26 09:37:35.198097 [DEBUG] switch_ivr_originate.c:1958 Parsing
global variables
2012-07-26 09:37:35.198097 [DEBUG] switch_event.c:1470 Parsing variable
[sip_invite_domain]=[domain1.com]
2012-07-26 09:37:35.198097 [DEBUG] switch_event.c:1470 Parsing variable
[presence_id]=[201 at domain1.com]
2012-07-26 09:37:35.198097 [NOTICE] switch_channel.c:926 New Channel
sofia/internal/sip:201 at 110.143.31.101:1178
[b630218c-d6b1-11e1-be1d-73f389528c7f]
2012-07-26 09:37:35.198097 [DEBUG] mod_sofia.c:4734
(sofia/internal/sip:201 at 110.143.31.101:1178) State Change CS_NEW -> CS_INIT
2012-07-26 09:37:35.198097 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/sip:201 at 110.143.31.101:1178) Running State Change CS_INIT
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:424
(sofia/internal/sip:201 at 110.143.31.101:1178) State INIT
2012-07-26 09:37:35.198097 [DEBUG] mod_sofia.c:85
sofia/internal/sip:201 at 110.143.31.101:1178 SOFIA INIT
2012-07-26 09:37:35.198097 [DEBUG] sofia_glue.c:2602 Local SDP:
v=0
o=FreeSWITCH 1343234313 1343234314 IN IP4 203.174.163.226
s=FreeSWITCH
c=IN IP4 203.174.163.226
t=0 0
m=audio 25142 RTP/AVP 8 0 3 101 13
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2012-07-26 09:37:35.198097 [DEBUG] mod_sofia.c:125
(sofia/internal/sip:201 at 110.143.31.101:1178) State Change CS_INIT ->
CS_ROUTING
2012-07-26 09:37:35.198097 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:424
(sofia/internal/sip:201 at 110.143.31.101:1178) State INIT going to sleep
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/sip:201 at 110.143.31.101:1178) Running State Change CS_ROUTING
2012-07-26 09:37:35.198097 [DEBUG] switch_channel.c:1919
(sofia/internal/sip:201 at 110.143.31.101:1178) Callstate Change DOWN ->
RINGING
2012-07-26 09:37:35.198097 [DEBUG] switch_core_session.c:923 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:433
(sofia/internal/sip:201 at 110.143.31.101:1178) State ROUTING
2012-07-26 09:37:35.198097 [DEBUG] mod_sofia.c:148
sofia/internal/sip:201 at 110.143.31.101:1178 SOFIA ROUTING
2012-07-26 09:37:35.198097 [DEBUG] switch_ivr_originate.c:67
(sofia/internal/sip:201 at 110.143.31.101:1178) State Change CS_ROUTING ->
CS_CONSUME_MEDIA
2012-07-26 09:37:35.198097 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:433
(sofia/internal/sip:201 at 110.143.31.101:1178) State ROUTING going to sleep
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/sip:201 at 110.143.31.101:1178) Running State Change
CS_CONSUME_MEDIA
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:452
(sofia/internal/sip:201 at 110.143.31.101:1178) State CONSUME_MEDIA
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:452
(sofia/internal/sip:201 at 110.143.31.101:1178) State CONSUME_MEDIA going to
sleep
2012-07-26 09:37:35.198097 [DEBUG] sofia.c:5838 Channel
sofia/internal/sip:201 at 110.143.31.101:1178 entering state [calling][0]
2012-07-26 09:37:35.318096 [DEBUG] switch_core_session.c:923 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.318096 [DEBUG] switch_core_session.c:923 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.338097 [DEBUG] sofia.c:5838 Channel
sofia/internal/sip:201 at 110.143.31.101:1178 entering state [proceeding][180]
2012-07-26 09:37:35.338097 [NOTICE] sofia.c:5930 Ring-Ready
sofia/internal/sip:201 at 110.143.31.101:1178!
2012-07-26 09:37:35.338097 [INFO] switch_ivr_originate.c:1156 Sending early
media
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3269 AUDIO RTP
[sofia/internal/306 at domain1.com] 203.174.163.226 port 26698 -> 115.64.93.203
port 55938 codec: 8 ms: 20
2012-07-26 09:37:35.338097 [DEBUG] switch_rtp.c:1680 Starting timer [soft]
160 bytes per 20ms
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3491 Setting Jitterbuffer to
60ms (3 frames)
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3533 Set 2833 dtmf send
payload to 101
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3539 Set 2833 dtmf receive
payload to 101
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3566
sofia/internal/306 at domain1.com Set rtp dtmf delay to 40
2012-07-26 09:37:35.338097 [DEBUG] mod_sofia.c:2606 Ring SDP:
v=0
o=FreeSWITCH 1343232757 1343232758 IN IP4 203.174.163.226
s=FreeSWITCH
c=IN IP4 203.174.163.226
t=0 0
m=audio 26698 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
2012-07-26 09:37:35.338097 [NOTICE] mod_sofia.c:2609 Pre-Answer
sofia/internal/306 at domain1.com!
2012-07-26 09:37:35.338097 [DEBUG] switch_channel.c:3042
(sofia/internal/306 at domain1.com) Callstate Change RINGING -> EARLY
2012-07-26 09:37:35.338097 [DEBUG] switch_core_session.c:777 Send signal
sofia/internal/306 at domain1.com [BREAK]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/ca3ad6fa/attachment-0001.html
From mitch.capper at gmail.com Wed Aug 1 18:57:00 2012
From: mitch.capper at gmail.com (Mitch Capper)
Date: Wed, 1 Aug 2012 07:57:00 -0700
Subject: [Freeswitch-users] Help!! FS -TLS interworking issue,
How to config to allow "gentls_cert" to generate a root certificate
with more longer valid-period ?
In-Reply-To:
References:
<71943DD5C22943448A24B7C5CDC238070FF1A549@SN2PRD0410MB396.namprd04.prod.outlook.com>
Message-ID:
The changes to the attached genttls script verse headis the DAYS was
set to 365 instead of 2190 (6 years). In addition the days variable
was quoted in two places it was not quoted. 6 years should not be
the cause of any problems so we are left with the quoting. I tested
across 4 platforms without finding the quoting to be an issue.
Robert can you let us know what platform has an issue with the days
param not being quoted for days = 2190?
~mitch
On Mon, Jul 30, 2012 at 10:07 AM, Michael Collins wrote:
>
>
> On Mon, Jul 30, 2012 at 9:28 AM, Robert Hadley
> wrote:
>>
>> Hi Charles,
>>
>>
>>
>> Try the changes in this attached freeswitch/scripts/gentls_cert.in file.
>> There were a few typos in the original script.
>>
>>
>>
>> Regards,
>>
>> Robert
>
>
> I'd like to verify that those typos are indeed really typos and are really
> fixed. If anyone has input on them please let me know and I will see about
> getting the gentls_cert.in file updated. I definitely would like to see this
> tested before we make any updates.
>
> Thanks,
> MC
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
From evgeniy at bestnet.kharkov.ua Wed Aug 1 19:00:38 2012
From: evgeniy at bestnet.kharkov.ua (Evgeniy Movlyan)
Date: Wed, 01 Aug 2012 18:00:38 +0300
Subject: [Freeswitch-users] Nibble Billing deducted balance from account
even call doesn't come to my mobile number
In-Reply-To:
References: <50178DB7.7000606@bestnet.kharkov.ua>
Message-ID: <50194496.10804@bestnet.kharkov.ua>
It did not work for me, i got the same message.
My outbond extension:
31.07.2012 11:06, SamyGo ?????:
> Hi,
> Well its works perfect for me, do you guys have ignore_early_media set in
> your outbound string, if no then set it and then see what happens.
> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"
> wrote:
>
>> I have the same problem. When i am calling from one my extension to
>> another all is ok, but when i am calling to external number i got this
>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in
>> answered state".
>>
>> 31.07.2012 10:35, virendra bhati ?????:
>>> mod_nibblebill.c:465 Not billing
>>> 97183008 - call is not in answered state
>>
>> --
>> Evgeniy Movlyan,
>> BestNet Ltd.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
--
Evgeniy Movlyan,
BestNet Ltd.
From jerry.richards at teotech.com Wed Aug 1 19:12:33 2012
From: jerry.richards at teotech.com (Jerry Richards)
Date: Wed, 1 Aug 2012 15:12:33 +0000
Subject: [Freeswitch-users] Help!! FS -TLS interworking issue,
How to config to allow "gentls_cert" to generate a root certificate
with more longer valid-period ?
In-Reply-To:
References:
<71943DD5C22943448A24B7C5CDC238070FF1A549@SN2PRD0410MB396.namprd04.prod.outlook.com>
Message-ID: <1545146083A72C4DB7B66584B7E5D9841D10E5E7@BY2PRD0410MB377.namprd04.prod.outlook.com>
The platform Robert and I are using is CentOS 5.7.
Jerry
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mitch Capper
Sent: Wednesday, August 01, 2012 7:57 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Help!! FS -TLS interworking issue, How to config to allow "gentls_cert" to generate a root certificate with more longer valid-period ?
The changes to the attached genttls script verse headis the DAYS was
set to 365 instead of 2190 (6 years). In addition the days variable
was quoted in two places it was not quoted. 6 years should not be
the cause of any problems so we are left with the quoting. I tested
across 4 platforms without finding the quoting to be an issue.
Robert can you let us know what platform has an issue with the days param not being quoted for days = 2190?
~mitch
On Mon, Jul 30, 2012 at 10:07 AM, Michael Collins wrote:
>
>
> On Mon, Jul 30, 2012 at 9:28 AM, Robert Hadley
>
> wrote:
>>
>> Hi Charles,
>>
>>
>>
>> Try the changes in this attached freeswitch/scripts/gentls_cert.in file.
>> There were a few typos in the original script.
>>
>>
>>
>> Regards,
>>
>> Robert
>
>
> I'd like to verify that those typos are indeed really typos and are
> really fixed. If anyone has input on them please let me know and I
> will see about getting the gentls_cert.in file updated. I definitely
> would like to see this tested before we make any updates.
>
> Thanks,
> MC
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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-use
> rs
> http://www.freeswitch.org
>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
From andrew at cassidywebservices.co.uk Wed Aug 1 19:27:57 2012
From: andrew at cassidywebservices.co.uk (Andrew Cassidy)
Date: Wed, 1 Aug 2012 16:27:57 +0100
Subject: [Freeswitch-users] FreeSWITCH dying with no core file
In-Reply-To:
References:
<5013012C.9050003@freeswitch.org>
Message-ID:
Hi, what have you done with the core file?
On 31 July 2012 21:16, Adam Johnston wrote:
> That did it. My sporadic crash happened again and, sure enough, there's a
> core file.
>
> Thanks again,
> Adam Johnston
>
>
> On Fri, Jul 27, 2012 at 4:59 PM, Stefan Knoblich wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 07/27/12 21:34, Adam Johnston wrote:
>> > I use FreeSWITCH exclusively for high-volume fax, both sending and
>> receiving, and I've been running into a sporadic issue where the FreeSWITCH
>> process will die with nothing in the logs to
>> > indicate an issue and no core file anywhere on the system. I'm setting
>> "ulimit -c unlimited" in my init script, so I would expect to see a core
>> file. Version: FreeSWITCH Version
>> > 1.2.0-rc2+git~20120713T162602Z~0afd7318bd+unclean~20120713T182401Z
>>
>> You need to set /proc/sys/fs/suid_dumpable to a non-zero value (see man 5
>> proc), to enable core dumping for processes
>> that switch their UID on startup (such as freeswitch with -u option).
>>
>> By default, the freeswitch process will try to put the core file into the
>> CWD (current work directory),
>> so make sure the UID it is running as can write there (or "cd" into a
>> different directory before starting it).
>> You might also want to check out man 5 core, for all the other options
>> (e.g. piping core dumps into a custom handler, with core_pattern).
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.19 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAlATASwACgkQjiIIAK4rYUrjvQCgh1grtcBfPVhbZNw8tdQpsyda
>> 614Amwb1pKDFL93dU33cy2wj1FNYYnzJ
>> =0Xqk
>> -----END PGP SIGNATURE-----
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
--
*Andrew Cassidy BSc (Hons) MBCS SSCA*
Managing Director
*T *03300 100 960
*F
*03300 100 961
*E *andrew at cassidywebservices.co.uk
*W *www.cassidywebservices.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/81f89ae1/attachment.html
From mitch.capper at gmail.com Wed Aug 1 19:46:55 2012
From: mitch.capper at gmail.com (Mitch Capper)
Date: Wed, 1 Aug 2012 08:46:55 -0700
Subject: [Freeswitch-users] Help!! FS -TLS interworking issue,
How to config to allow "gentls_cert" to generate a root certificate
with more longer valid-period ?
In-Reply-To: <1545146083A72C4DB7B66584B7E5D9841D10E5E7@BY2PRD0410MB377.namprd04.prod.outlook.com>
References:
<71943DD5C22943448A24B7C5CDC238070FF1A549@SN2PRD0410MB396.namprd04.prod.outlook.com>
<1545146083A72C4DB7B66584B7E5D9841D10E5E7@BY2PRD0410MB377.namprd04.prod.outlook.com>
Message-ID:
Is anyone else able to confirm a problem on CentOS 5.7 with the
genttls_cert from head? I have tried it on CentOS 6 and some pre 5
fedora boxes that all seem to work correctly but I do not have any
running CentOS 5. To test run:
./gentls_cert setup && ./gentls_cert create_server
openssl x509 -noout -in /usr/local/freeswitch/conf/ssl/agent.pem -enddate
openssl x509 -noout -in /usr/local/freeswitch/conf/ssl/cafile.pem -enddate
The date should be in 2018.
if you get any errors please let us know the error.
~Mitch
On Wed, Aug 1, 2012 at 8:12 AM, Jerry Richards
wrote:
> The platform Robert and I are using is CentOS 5.7.
>
> Jerry
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mitch Capper
> Sent: Wednesday, August 01, 2012 7:57 AM
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] Help!! FS -TLS interworking issue, How to config to allow "gentls_cert" to generate a root certificate with more longer valid-period ?
>
> The changes to the attached genttls script verse headis the DAYS was
> set to 365 instead of 2190 (6 years). In addition the days variable
> was quoted in two places it was not quoted. 6 years should not be
> the cause of any problems so we are left with the quoting. I tested
> across 4 platforms without finding the quoting to be an issue.
>
> Robert can you let us know what platform has an issue with the days param not being quoted for days = 2190?
>
> ~mitch
>
> On Mon, Jul 30, 2012 at 10:07 AM, Michael Collins wrote:
>>
>>
>> On Mon, Jul 30, 2012 at 9:28 AM, Robert Hadley
>>
>> wrote:
>>>
>>> Hi Charles,
>>>
>>>
>>>
>>> Try the changes in this attached freeswitch/scripts/gentls_cert.in file.
>>> There were a few typos in the original script.
>>>
>>>
>>>
>>> Regards,
>>>
>>> Robert
>>
>>
>> I'd like to verify that those typos are indeed really typos and are
>> really fixed. If anyone has input on them please let me know and I
>> will see about getting the gentls_cert.in file updated. I definitely
>> would like to see this tested before we make any updates.
>>
>> Thanks,
>> MC
>>
>> ______________________________________________________________________
>> ___ Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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-use
>> rs
>> http://www.freeswitch.org
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
From jerry.richards at teotech.com Wed Aug 1 19:49:16 2012
From: jerry.richards at teotech.com (Jerry Richards)
Date: Wed, 1 Aug 2012 15:49:16 +0000
Subject: [Freeswitch-users] send_silence_when_idle=10000 Breaks
inherit_codec?
Message-ID: <1545146083A72C4DB7B66584B7E5D9841D10E61D@BY2PRD0410MB377.namprd04.prod.outlook.com>
Hello All,
We want to configure Freeswitch with the following tags, but there are undesired side-effects.
In conf/vars.xml:
In conf/sip_profiles/internal.xml:
In conf/dialplan/default.xml:
The problem is that setting send_silence_when_idle in vars.xml (above) causes ringback_data to get set in switch_ivr_originate.c (around line 2070) which causes 183 Session Progress w/SDP which prevents inherit_codec in internal.xml (above) to work as expected.
This looks like a bug?
Thanks,
Jerry
From Hector.Geraldino at ipsoft.com Wed Aug 1 19:52:06 2012
From: Hector.Geraldino at ipsoft.com (Hector Geraldino)
Date: Wed, 1 Aug 2012 11:52:06 -0400
Subject: [Freeswitch-users] Am I using play_and_detect_speech correctly?
In-Reply-To:
References: <50179069.6020700@hw.ac.uk>
Message-ID: <6A6B4C284AD15042B429EB9D904544AD02304F6260@NY1-EXMB-01.ip-soft.net>
You need to send a detect_speech command with sendmsg + execute:
sendmsg
call-command: execute
execute-app-name: detect_speech
execute-app-arg: grammar_name //e.g. unimrcp:nuance5-mrcp2-prod nuancegrm nuancegrm
This will trigger an DETECTED_SPEECH event (you need to add this event to your filters, in case you're filtering the events). The detected speech will be part of the bodyLines of the event. I'm using Java ESL client libraries (org.freeswitch.esl.client) and my code looks like:
protected void handleEslEvent(ChannelHandlerContext ctx, EslEvent event) {
if (event.getEventName().equals("DETECTED_SPEECH")) {
if (event.getEventBodyLines().size() > 0) {
final String uuid = event.getEventHeaders().get("Unique-ID");
stopSpeechDetection(uuid);
//detected speech
StringBuilder bodyLines = new StringBuilder();
for (String line : event.getEventBodyLines()) {
bodyLines.append(line);
}
}
}
}
private void stopSpeechDetection(CallSession call) {
// sendMessage(uuid, "detect_speech", "stop");
}
g.luck!
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Liu, Xingkun
Sent: Wednesday, August 01, 2012 4:49 AM
To: FreeSWITCH Users Help; FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Am I using play_and_detect_speech correctly?
Hi Chris,
Many thanks for your info and suggestions!
Would you please tell me a bit more or any clue about the idea of using detect_speech APP to handle
barge-in over ESL? It is an interesting idea to try but for now I don't have any clue how it could be
done over Java ESL without touching or modifying detect_speech APP codes.
Thanks again!
Best regards,
Xing
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Christopher Rienzo
Sent: Tue 7/31/2012 13:44
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Am I using play_and_detect_speech correctly?
I looked over the code again last night and verified that
play_and_detect_speech should try to stop detection before loading the
grammar. However, that scenario is not really tested, so try the
workaround first. If that doesn't work, open a jira ticket with detailed
logs so it can be fixed.
You can use the detect_speech APP to do everything over ESL. It is a lot
more work, but once you figure it out, you have the freedom to do whatever
you want, including handling barge-in. play_and_detect_speech is designed
to handle the typical use case.
Chris
On Tue, Jul 31, 2012 at 3:59 AM, x.liu > wrote:
> Hi Chris,
>
> Okay, thanks! I will have tries to see how it works.
>
> For the normal use of the app: play_and_detect_speech, will it resume
> previous ASR session,
> or will it stop previous session and restart a new session each time when
> I issue it via ESL?
>
> For the app of detect_speech, I can first to start an ASR session by
> "detect_speech speechMod grammar grammarPath",
> then I can do "detect_speech pause", or "detect_speech resume" or
> "detect_speech stop".
> But for play_and_detect_speech, I am not sure how it works in terms of
> starting, pause, resume/restart sequence.
>
> The play_and_detect_speech is a very good, useful app as it supports the
> barge-in. So we definitely need to use it.
>
> Thanks!
>
> Xing
>
>
>
>
>
> On 07/31/2012 12:53 AM, Christopher Rienzo wrote:
>
> You are using that APP in a way that hasn't been tested. Try to do
> "speech_detect pause" and see if that helps. It will reserve your ASR
> session for reuse while "speech_detect stop" will tear it down completely.
> If that doesn't work, open a jira ticket and attach a full call trace.
> It's difficult to understand exactly what is happening from your
> description.
>
>
> Chris
>
>
>
> On Mon, Jul 30, 2012 at 5:38 PM, Liu, Xingkun > wrote:
>
>> Hello,
>>
>> I am using play_and_detect_speech with Java ESL in my IVR applications.
>>
>> Previously I call it again each time after I receive any recognition
>> event,
>> like recognition complete, no-input-timeout, or recognition-timeout,
>> it seems to work fine.
>>
>> Now I have changed my app to issue play_and_detect_speech command based on
>> my available system utterances as well as the speech event.
>>
>> I.e., I use a separate thread to constantly check if there is a system
>> utterance coming in
>> from another component of my application, if there is any utterance I
>> issue the command which will
>> speak the new utterance and listen to user input no matter whether or not
>> previous
>> command has finished. And if there is any speech event (recognition
>> result, timeout etc.)
>> the play_and_detect_speech command is also issued but with playing
>> silence.
>>
>> Obviously the new command will stop the utterance speaking of the
>> previous command if it is not finished.
>>
>> My question is
>>
>> will the new play_and_detect_speech command also stop the previous ASR
>> listening
>> or will there be many ASR listening channel and sending speech data (or
>> silence) to ASR server?
>>
>> Do I need to explicitly issue a "stop" commnad before issuing a new
>> play_and_detect_speech?
>> If yes, how to do that, by "detect_speech stop"?
>>
>> Recently there is a network traffice problem (lots of connections /data
>> transportation to the ASR server machine)
>> when I am running my application. I am not sure if this is because of
>> other issues
>> or because of my new changes to the way of using play_and_detect_speech.
>>
>> Please any one could shed a light on this?
>>
>> Many thanks!
>>
>> Xing
>>
>>
>> ------------------------------
>>
>> *Heriot-Watt University is the Sunday Times Scottish University of the
>> Year 2011-2012.*
>>
>> We invite research leaders and ambitious early career researchers to
>> join us in leading and driving research in key inter-disciplinary themes.
>> Please see www.hw.ac.uk/researchleaders for further information and how
>> to apply.
>>
>> Heriot-Watt University is a Scottish charity registered under charity
>> number SC000278.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
>
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> ------------------------------
>
> *Heriot-Watt University is the Sunday Times Scottish University of the
> Year 2011-2012.*
>
> We invite research leaders and ambitious early career researchers to join
> us in leading and driving research in key inter-disciplinary themes. Please
> see www.hw.ac.uk/researchleaders for further information and how to
> apply.
>
> Heriot-Watt University is a Scottish charity registered under charity
> number SC000278.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
________________________________
Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012.
We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply.
Heriot-Watt University is a Scottish charity registered under charity number SC000278.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/7100c310/attachment-0001.html
From msc at freeswitch.org Wed Aug 1 19:55:41 2012
From: msc at freeswitch.org (Michael Collins)
Date: Wed, 1 Aug 2012 08:55:41 -0700
Subject: [Freeswitch-users] FreeSWITCH Community Conference Call
Message-ID:
Hello all!
We'll be having a community discussion today. The agenda page is here:
http://wiki.freeswitch.org/wiki/FS_weekly_2012_08_01
Talk to you soon!
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/bd1d5c73/attachment.html
From mitch.capper at gmail.com Wed Aug 1 20:00:45 2012
From: mitch.capper at gmail.com (Mitch Capper)
Date: Wed, 1 Aug 2012 09:00:45 -0700
Subject: [Freeswitch-users] Help!! FS -TLS interworking issue,
How to config to allow "gentls_cert" to generate a root certificate
with more longer valid-period ?
In-Reply-To:
References:
<71943DD5C22943448A24B7C5CDC238070FF1A549@SN2PRD0410MB396.namprd04.prod.outlook.com>
<1545146083A72C4DB7B66584B7E5D9841D10E5E7@BY2PRD0410MB377.namprd04.prod.outlook.com>
Message-ID:
To make it easier I put up a version anyone can grab and it won't
trample your existing FS data (installs certs to /tmp/fs_test):
wget http://mitchcapper.com/gentls_cert && chmod +x gentls_cert
./gentls_cert setup && ./gentls_cert create_server
openssl x509 -noout -in /tmp/fs_test/agent.pem -enddate
openssl x509 -noout -in /tmp/fs_test/cafile.pem -enddate
Once done just rm /tmp/fs_test and genttls_cert and there will be
nothing remaining from the test.
~Mitch
On Wed, Aug 1, 2012 at 8:46 AM, Mitch Capper wrote:
> Is anyone else able to confirm a problem on CentOS 5.7 with the
> genttls_cert from head? I have tried it on CentOS 6 and some pre 5
> fedora boxes that all seem to work correctly but I do not have any
> running CentOS 5. To test run:
> ./gentls_cert setup && ./gentls_cert create_server
> openssl x509 -noout -in /usr/local/freeswitch/conf/ssl/agent.pem -enddate
> openssl x509 -noout -in /usr/local/freeswitch/conf/ssl/cafile.pem -enddate
>
> The date should be in 2018.
>
> if you get any errors please let us know the error.
>
> ~Mitch
>
> On Wed, Aug 1, 2012 at 8:12 AM, Jerry Richards
> wrote:
>> The platform Robert and I are using is CentOS 5.7.
>>
>> Jerry
>>
>> -----Original Message-----
>> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mitch Capper
>> Sent: Wednesday, August 01, 2012 7:57 AM
>> To: FreeSWITCH Users Help
>> Subject: Re: [Freeswitch-users] Help!! FS -TLS interworking issue, How to config to allow "gentls_cert" to generate a root certificate with more longer valid-period ?
>>
>> The changes to the attached genttls script verse headis the DAYS was
>> set to 365 instead of 2190 (6 years). In addition the days variable
>> was quoted in two places it was not quoted. 6 years should not be
>> the cause of any problems so we are left with the quoting. I tested
>> across 4 platforms without finding the quoting to be an issue.
>>
>> Robert can you let us know what platform has an issue with the days param not being quoted for days = 2190?
>>
>> ~mitch
>>
>> On Mon, Jul 30, 2012 at 10:07 AM, Michael Collins wrote:
>>>
>>>
>>> On Mon, Jul 30, 2012 at 9:28 AM, Robert Hadley
>>>
>>> wrote:
>>>>
>>>> Hi Charles,
>>>>
>>>>
>>>>
>>>> Try the changes in this attached freeswitch/scripts/gentls_cert.in file.
>>>> There were a few typos in the original script.
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Robert
>>>
>>>
>>> I'd like to verify that those typos are indeed really typos and are
>>> really fixed. If anyone has input on them please let me know and I
>>> will see about getting the gentls_cert.in file updated. I definitely
>>> would like to see this tested before we make any updates.
>>>
>>> Thanks,
>>> MC
>>>
>>> ______________________________________________________________________
>>> ___ Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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-use
>>> rs
>>> http://www.freeswitch.org
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
From ajohnston at blimessaging.com Wed Aug 1 20:04:34 2012
From: ajohnston at blimessaging.com (Adam Johnston)
Date: Wed, 1 Aug 2012 12:04:34 -0400
Subject: [Freeswitch-users] FreeSWITCH dying with no core file
In-Reply-To:
References:
<5013012C.9050003@freeswitch.org>
Message-ID:
Andrew,
I loaded the core file into gdb and looked at the backtrace. It turns out
that the problem was not in the FreeSWITCH code but rather in LuaSocket,
and the error was thrown while I was caching fax results in a key-value
store using a Lua script. My issue was very similar to this Jira:
http://jira.freeswitch.org/browse/FS-2893. I recompiled LuaSocket with the
FreeSWITCH includes and am hoping that fixes things.
Adam
On Wed, Aug 1, 2012 at 11:27 AM, Andrew Cassidy <
andrew at cassidywebservices.co.uk> wrote:
> Hi, what have you done with the core file?
>
> On 31 July 2012 21:16, Adam Johnston wrote:
>
>> That did it. My sporadic crash happened again and, sure enough, there's a
>> core file.
>>
>> Thanks again,
>> Adam Johnston
>>
>>
>> On Fri, Jul 27, 2012 at 4:59 PM, Stefan Knoblich wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On 07/27/12 21:34, Adam Johnston wrote:
>>> > I use FreeSWITCH exclusively for high-volume fax, both sending and
>>> receiving, and I've been running into a sporadic issue where the FreeSWITCH
>>> process will die with nothing in the logs to
>>> > indicate an issue and no core file anywhere on the system. I'm setting
>>> "ulimit -c unlimited" in my init script, so I would expect to see a core
>>> file. Version: FreeSWITCH Version
>>> > 1.2.0-rc2+git~20120713T162602Z~0afd7318bd+unclean~20120713T182401Z
>>>
>>> You need to set /proc/sys/fs/suid_dumpable to a non-zero value (see man
>>> 5 proc), to enable core dumping for processes
>>> that switch their UID on startup (such as freeswitch with -u option).
>>>
>>> By default, the freeswitch process will try to put the core file into
>>> the CWD (current work directory),
>>> so make sure the UID it is running as can write there (or "cd" into a
>>> different directory before starting it).
>>> You might also want to check out man 5 core, for all the other options
>>> (e.g. piping core dumps into a custom handler, with core_pattern).
>>>
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v2.0.19 (GNU/Linux)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>>
>>> iEYEARECAAYFAlATASwACgkQjiIIAK4rYUrjvQCgh1grtcBfPVhbZNw8tdQpsyda
>>> 614Amwb1pKDFL93dU33cy2wj1FNYYnzJ
>>> =0Xqk
>>> -----END PGP SIGNATURE-----
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>
>
> --
> *Andrew Cassidy BSc (Hons) MBCS SSCA*
> Managing Director
>
>
> *T *03300 100 960 *F
> *03300 100 961
> *E *andrew at cassidywebservices.co.uk
> *W *www.cassidywebservices.co.uk
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/d833f917/attachment.html
From msc at freeswitch.org Wed Aug 1 20:13:58 2012
From: msc at freeswitch.org (Michael Collins)
Date: Wed, 1 Aug 2012 09:13:58 -0700
Subject: [Freeswitch-users] send_silence_when_idle=10000 Breaks
inherit_codec?
In-Reply-To: <1545146083A72C4DB7B66584B7E5D9841D10E61D@BY2PRD0410MB377.namprd04.prod.outlook.com>
References: <1545146083A72C4DB7B66584B7E5D9841D10E61D@BY2PRD0410MB377.namprd04.prod.outlook.com>
Message-ID:
Yep, get that in a Jira, STAT!
-MC
On Wed, Aug 1, 2012 at 8:49 AM, Jerry Richards
wrote:
> Hello All,
>
> We want to configure Freeswitch with the following tags, but there are
> undesired side-effects.
>
> In conf/vars.xml:
>
>
> In conf/sip_profiles/internal.xml:
>
>
> In conf/dialplan/default.xml:
>
>
> The problem is that setting send_silence_when_idle in vars.xml (above)
> causes ringback_data to get set in switch_ivr_originate.c (around line
> 2070) which causes 183 Session Progress w/SDP which prevents inherit_codec
> in internal.xml (above) to work as expected.
>
> This looks like a bug?
>
> Thanks,
> Jerry
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/2f8de418/attachment-0001.html
From msc at freeswitch.org Wed Aug 1 20:18:32 2012
From: msc at freeswitch.org (Michael Collins)
Date: Wed, 1 Aug 2012 09:18:32 -0700
Subject: [Freeswitch-users] ESL - phpmod compile Error
In-Reply-To:
References:
Message-ID:
I suspect this line is the key piece of information:
/usr/bin/ld: cannot find -ledit
If I read that correctly you need to install libedit-dev. Give that a try
and let us know.
-MC
On Tue, Jul 31, 2012 at 11:20 PM, Lloyd Aloysius
wrote:
> Hi All:
>
> when I compile the ESL module for php . OS - Centos 6.2 / 64 bit
>
> libs/esl
>
> make phpmod
>
> I got the following Errors.
>
> make phpmod
> make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x"
> CFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g
> -ggdb -I../../libs/libedit/src/ -fPIC -O2"
> CXXFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g
> -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php
> make[1]: Entering directory `/usr/src/freeswitch.git/libs/esl/php'
> g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib6464 -lcrypt
> -lcrypt -ledit -lncurses -lm -ldl -lnsl -lm -ldl -ldl -lm -lcrypt -lm
> -lcrypt -lpthread -o ESL.so -L.
> /usr/bin/ld: cannot find -ledit
> collect2: ld returned 1 exit status
> make[1]: *** [ESL.so] Error 1
> make[1]: Leaving directory `/usr/src/freeswitch.git/libs/esl/php'
> make: *** [phpmod] Error 2
>
>
> How to solve this issue.
>
> Thanks
> Lloyd
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/31278bdf/attachment.html
From freeswitch-list at puzzled.xs4all.nl Wed Aug 1 20:56:28 2012
From: freeswitch-list at puzzled.xs4all.nl (Patrick Lists)
Date: Wed, 01 Aug 2012 18:56:28 +0200
Subject: [Freeswitch-users] Help!! FS -TLS interworking issue,
How to config to allow "gentls_cert" to generate a root certificate
with more longer valid-period ?
In-Reply-To:
References:
<71943DD5C22943448A24B7C5CDC238070FF1A549@SN2PRD0410MB396.namprd04.prod.outlook.com>
<1545146083A72C4DB7B66584B7E5D9841D10E5E7@BY2PRD0410MB377.namprd04.prod.outlook.com>
Message-ID: <50195FBC.4090102@puzzled.xs4all.nl>
On 01-08-12 18:00, Mitch Capper wrote:
> To make it easier I put up a version anyone can grab and it won't
> trample your existing FS data (installs certs to /tmp/fs_test):
> wget http://mitchcapper.com/gentls_cert && chmod +x gentls_cert
> ./gentls_cert setup && ./gentls_cert create_server
> openssl x509 -noout -in /tmp/fs_test/agent.pem -enddate
> openssl x509 -noout -in /tmp/fs_test/cafile.pem -enddate
>
>
> Once done just rm /tmp/fs_test and genttls_cert and there will be
> nothing remaining from the test.
> ~Mitch
I don't have 5.7 (why would one not update to 5.8?!) but on an
up-to-date CentOS 5.8 x86 box I see the following from your script:
[patrick at svr2 fs_test]$ openssl x509 -noout -in agent.pem -enddate
notAfter=Jul 31 16:48:58 2018 GMT
[patrick at svr2 fs_test]$ openssl x509 -noout -in cafile.pem -enddate
notAfter=Jul 31 16:48:57 2018 GMT
Regards,
Patrick
From X.Liu at hw.ac.uk Wed Aug 1 21:49:29 2012
From: X.Liu at hw.ac.uk (Liu, Xingkun)
Date: Wed, 1 Aug 2012 18:49:29 +0100
Subject: [Freeswitch-users] Am I using play_and_detect_speech correctly?
References: <50179069.6020700@hw.ac.uk>
<6A6B4C284AD15042B429EB9D904544AD02304F6260@NY1-EXMB-01.ip-soft.net>
Message-ID:
Thanks for your response, Hector!
Yeah, I am using detect_speech via a similar way to yours.
What I am more interested in is to use detect_speech app to handle user's barge-in.
After Chris mentioned the barge-in can be also handled by detect_speech I gave it a further thinking.
Yeah, I could first "speak" the utterance and immediately resume ASR, then try to catch the begin_speaking event,
then stop the TTS -- using this way to handle the user barge-in.
(Chris, you may have a better idea, would you please let me know if you do?)
One thing I am worry about is that stopping currently playing media or utterance seems not work for me.
When I recently try "api uuid_break " it stopped currently playing music but also stopped playing following utterances
which I sent to TTS soon later on after uuid_break.
Anyway I will try it further again and let you all know what I will get.
Cheers,
Xing
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Hector Geraldino
Sent: Wed 8/1/2012 16:52
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Am I using play_and_detect_speech correctly?
You need to send a detect_speech command with sendmsg + execute:
sendmsg
call-command: execute
execute-app-name: detect_speech
execute-app-arg: grammar_name //e.g. unimrcp:nuance5-mrcp2-prod nuancegrm nuancegrm
This will trigger an DETECTED_SPEECH event (you need to add this event to your filters, in case you're filtering the events). The detected speech will be part of the bodyLines of the event. I'm using Java ESL client libraries (org.freeswitch.esl.client) and my code looks like:
protected void handleEslEvent(ChannelHandlerContext ctx, EslEvent event) {
if (event.getEventName().equals("DETECTED_SPEECH")) {
if (event.getEventBodyLines().size() > 0) {
final String uuid = event.getEventHeaders().get("Unique-ID");
stopSpeechDetection(uuid);
//detected speech
StringBuilder bodyLines = new StringBuilder();
for (String line : event.getEventBodyLines()) {
bodyLines.append(line);
}
}
}
}
private void stopSpeechDetection(CallSession call) {
// sendMessage(uuid, "detect_speech", "stop");
}
g.luck!
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Liu, Xingkun
Sent: Wednesday, August 01, 2012 4:49 AM
To: FreeSWITCH Users Help; FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Am I using play_and_detect_speech correctly?
Hi Chris,
Many thanks for your info and suggestions!
Would you please tell me a bit more or any clue about the idea of using detect_speech APP to handle
barge-in over ESL? It is an interesting idea to try but for now I don't have any clue how it could be
done over Java ESL without touching or modifying detect_speech APP codes.
Thanks again!
Best regards,
Xing
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Christopher Rienzo
Sent: Tue 7/31/2012 13:44
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Am I using play_and_detect_speech correctly?
I looked over the code again last night and verified that
play_and_detect_speech should try to stop detection before loading the
grammar. However, that scenario is not really tested, so try the
workaround first. If that doesn't work, open a jira ticket with detailed
logs so it can be fixed.
You can use the detect_speech APP to do everything over ESL. It is a lot
more work, but once you figure it out, you have the freedom to do whatever
you want, including handling barge-in. play_and_detect_speech is designed
to handle the typical use case.
Chris
On Tue, Jul 31, 2012 at 3:59 AM, x.liu > wrote:
> Hi Chris,
>
> Okay, thanks! I will have tries to see how it works.
>
> For the normal use of the app: play_and_detect_speech, will it resume
> previous ASR session,
> or will it stop previous session and restart a new session each time when
> I issue it via ESL?
>
> For the app of detect_speech, I can first to start an ASR session by
> "detect_speech speechMod grammar grammarPath",
> then I can do "detect_speech pause", or "detect_speech resume" or
> "detect_speech stop".
> But for play_and_detect_speech, I am not sure how it works in terms of
> starting, pause, resume/restart sequence.
>
> The play_and_detect_speech is a very good, useful app as it supports the
> barge-in. So we definitely need to use it.
>
> Thanks!
>
> Xing
>
>
>
>
>
> On 07/31/2012 12:53 AM, Christopher Rienzo wrote:
>
> You are using that APP in a way that hasn't been tested. Try to do
> "speech_detect pause" and see if that helps. It will reserve your ASR
> session for reuse while "speech_detect stop" will tear it down completely.
> If that doesn't work, open a jira ticket and attach a full call trace.
> It's difficult to understand exactly what is happening from your
> description.
>
>
> Chris
>
>
>
> On Mon, Jul 30, 2012 at 5:38 PM, Liu, Xingkun > wrote:
>
>> Hello,
>>
>> I am using play_and_detect_speech with Java ESL in my IVR applications.
>>
>> Previously I call it again each time after I receive any recognition
>> event,
>> like recognition complete, no-input-timeout, or recognition-timeout,
>> it seems to work fine.
>>
>> Now I have changed my app to issue play_and_detect_speech command based on
>> my available system utterances as well as the speech event.
>>
>> I.e., I use a separate thread to constantly check if there is a system
>> utterance coming in
>> from another component of my application, if there is any utterance I
>> issue the command which will
>> speak the new utterance and listen to user input no matter whether or not
>> previous
>> command has finished. And if there is any speech event (recognition
>> result, timeout etc.)
>> the play_and_detect_speech command is also issued but with playing
>> silence.
>>
>> Obviously the new command will stop the utterance speaking of the
>> previous command if it is not finished.
>>
>> My question is
>>
>> will the new play_and_detect_speech command also stop the previous ASR
>> listening
>> or will there be many ASR listening channel and sending speech data (or
>> silence) to ASR server?
>>
>> Do I need to explicitly issue a "stop" commnad before issuing a new
>> play_and_detect_speech?
>> If yes, how to do that, by "detect_speech stop"?
>>
>> Recently there is a network traffice problem (lots of connections /data
>> transportation to the ASR server machine)
>> when I am running my application. I am not sure if this is because of
>> other issues
>> or because of my new changes to the way of using play_and_detect_speech.
>>
>> Please any one could shed a light on this?
>>
>> Many thanks!
>>
>> Xing
>>
>>
>> ------------------------------
>>
>> *Heriot-Watt University is the Sunday Times Scottish University of the
>> Year 2011-2012.*
>>
>> We invite research leaders and ambitious early career researchers to
>> join us in leading and driving research in key inter-disciplinary themes.
>> Please see www.hw.ac.uk/researchleaders for further information and how
>> to apply.
>>
>> Heriot-Watt University is a Scottish charity registered under charity
>> number SC000278.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
>
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> ------------------------------
>
> *Heriot-Watt University is the Sunday Times Scottish University of the
> Year 2011-2012.*
>
> We invite research leaders and ambitious early career researchers to join
> us in leading and driving research in key inter-disciplinary themes. Please
> see www.hw.ac.uk/researchleaders for further information and how to
> apply.
>
> Heriot-Watt University is a Scottish charity registered under charity
> number SC000278.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
________________________________
Heriot-Watt University is the Sunday Times Scottish University of the Year 2011-2012.
We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply.
Heriot-Watt University is a Scottish charity registered under charity number SC000278.
--
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
We invite research leaders and ambitious early career researchers to
join us in leading and driving research in key inter-disciplinary themes.
Please see www.hw.ac.uk/researchleaders for further information and how
to apply.
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/5ed1b8aa/attachment-0001.html
From cmrienzo at gmail.com Wed Aug 1 23:06:42 2012
From: cmrienzo at gmail.com (Christopher Rienzo)
Date: Wed, 1 Aug 2012 15:06:42 -0400
Subject: [Freeswitch-users] Am I using play_and_detect_speech correctly?
In-Reply-To:
References:
<50179069.6020700@hw.ac.uk>
<6A6B4C284AD15042B429EB9D904544AD02304F6260@NY1-EXMB-01.ip-soft.net>
Message-ID:
The basic procedure for barge in is:
1. detect_speech unimrcp
{start-input-timers=false,no-input-timeout=5000,recognition-timeout=5000}builtin:grammar/boolean?language=en-US;y=1;n=2
2. playback say:please say yes or no. please say no or yes. please say
something!
3. handle begin-speaking event
4. break
5. when playback finishes... detect_speech start_input_timers
6. handle detected-speech event
This is pretty much what play_and_detect_speech already does... see
switch_ivr_play_and_detect_speech() in switch_ivr_async.c if you know C.
Chris
On Wed, Aug 1, 2012 at 1:49 PM, Liu, Xingkun wrote:
> **
>
> Thanks for your response, Hector!
>
> Yeah, I am using detect_speech via a similar way to yours.
>
> What I am more interested in is to use detect_speech app to handle user's
> barge-in.
>
> After Chris mentioned the barge-in can be also handled by detect_speech I
> gave it a further thinking.
> Yeah, I could first "speak" the utterance and immediately resume ASR, then
> try to catch the begin_speaking event,
> then stop the TTS -- using this way to handle the user barge-in.
> (Chris, you may have a better idea, would you please let me know if you
> do?)
>
> One thing I am worry about is that stopping currently playing media or
> utterance seems not work for me.
> When I recently try "api uuid_break " it stopped currently playing
> music but also stopped playing following utterances
> which I sent to TTS soon later on after uuid_break.
>
> Anyway I will try it further again and let you all know what I will get.
>
> Cheers,
>
> Xing
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/a9519302/attachment.html
From mario_fs at mgtech.com Thu Aug 2 00:07:42 2012
From: mario_fs at mgtech.com (Mario G)
Date: Wed, 1 Aug 2012 13:07:42 -0700
Subject: [Freeswitch-users] Please help - How to use different variables in
different bridge groups
Message-ID: <4DF6B13C-5664-4C76-9B7A-A6CDA0FB7270@mgtech.com>
What I need: to have different variable/settings for each target group in a bridge command, and allow leg_delay_start to work. It's related to trying to fix other issues and holding up progress for them. Thanks for any help,
Mario G
I scoured the wiki and tried many things. Normally, enterprise syntax would solve this, but there is a catch: you can't use leg_delay_start which I need, it is ignored when using enterprise. I found that using brackets [] only applies the variable to the first user in the group, not the whole group so that won't work.
What I have now but need to have alert_info moved/apply to the mgt group only:
This solves variables for groups but breaks leg_delay_start, etc.:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120801/57231bc4/attachment.html
From cogs66 at gmail.com Thu Aug 2 02:44:12 2012
From: cogs66 at gmail.com (cogs66)
Date: Wed, 1 Aug 2012 15:44:12 -0700 (PDT)
Subject: [Freeswitch-users] No call_uuid in ringing state unix odbc for
PostgreSQL
In-Reply-To:
References: <1343558012157-7581267.post@n2.nabble.com>
Message-ID: <1343861052930-7581425.post@n2.nabble.com>
Thanks Gabe
I am not sure where the issue lies to be honest. It is odd why it works on
all my other installs.
Andy
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/No-call-uuid-in-ringing-state-unix-odbc-for-PostgreSQL-tp7581267p7581425.html
Sent from the freeswitch-users mailing list archive at Nabble.com.
From govoiper at gmail.com Thu Aug 2 08:49:02 2012
From: govoiper at gmail.com (SamyGo)
Date: Thu, 2 Aug 2012 09:49:02 +0500
Subject: [Freeswitch-users] Nibble Billing deducted balance from account
even call doesn't come to my mobile number
In-Reply-To: <50194496.10804@bestnet.kharkov.ua>
References:
<50178DB7.7000606@bestnet.kharkov.ua>
<50194496.10804@bestnet.kharkov.ua>
Message-ID:
You might wanna change your dialplan to something like this:
That's How I;ve done it, no wonder I use LUA but the dial-string is exactly
as below.
I think there is a difference if you do it like above, It will set the
ignore_early_media on the B-leg session and not on A-leg.
This a snippet from the FS-1.6 book: *page:186*
"Curly brackets are used "globally" for the duration of a call. Take the
following example where we are bridging a call to Darren's cell phone,
203-829-3150. We
only want to ring the phone for 20 seconds, to avoid hitting voicemail.
*The variable in brackets is utilized on the newly setup channel,
sofia/my_provider/2038293150.*"
Regards,
Sammy
On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan
wrote:
> It did not work for me, i got the same message.
> My outbond extension:
>
>
>
> break="on-true">
>
>
>
> data="effective_caller_id_number=${outbound_caller_id_number}"/>
> data="effective_caller_id_name=${outbound_caller_id_name}"/>
>
> data="sofia/gateway/${default_gateway}/${dialed_number}"/>
>
>
>
>
> 31.07.2012 11:06, SamyGo ?????:
> > Hi,
> > Well its works perfect for me, do you guys have ignore_early_media set in
> > your outbound string, if no then set it and then see what happens.
> > On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"
> > wrote:
> >
> >> I have the same problem. When i am calling from one my extension to
> >> another all is ok, but when i am calling to external number i got this
> >> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in
> >> answered state".
> >>
> >> 31.07.2012 10:35, virendra bhati ?????:
> >>> mod_nibblebill.c:465 Not billing
> >>> 97183008 - call is not in answered state
> >>
> >> --
> >> Evgeniy Movlyan,
> >> BestNet Ltd.
> >>
> >>
> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >>
> >>
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> Join Us At ClueCon - Aug 7-9, 2012
> >>
> >> 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
> >>
> >
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > 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
>
> --
> Evgeniy Movlyan,
> BestNet Ltd.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/66de363a/attachment-0001.html
From andrew at cassidywebservices.co.uk Thu Aug 2 12:36:16 2012
From: andrew at cassidywebservices.co.uk (Andrew Cassidy)
Date: Thu, 2 Aug 2012 09:36:16 +0100
Subject: [Freeswitch-users] FreeSWITCH dying with no core file
In-Reply-To:
References:
<5013012C.9050003@freeswitch.org>
Message-ID:
Thanks. Ok it doesn't sound related to my problem unfortunately :( I'll
have to persevere!
On 1 August 2012 17:04, Adam Johnston wrote:
> Andrew,
>
> I loaded the core file into gdb and looked at the backtrace. It turns out
> that the problem was not in the FreeSWITCH code but rather in LuaSocket,
> and the error was thrown while I was caching fax results in a key-value
> store using a Lua script. My issue was very similar to this Jira:
> http://jira.freeswitch.org/browse/FS-2893. I recompiled LuaSocket with
> the FreeSWITCH includes and am hoping that fixes things.
>
> Adam
>
>
> On Wed, Aug 1, 2012 at 11:27 AM, Andrew Cassidy <
> andrew at cassidywebservices.co.uk> wrote:
>
>> Hi, what have you done with the core file?
>>
>> On 31 July 2012 21:16, Adam Johnston wrote:
>>
>>> That did it. My sporadic crash happened again and, sure enough, there's
>>> a core file.
>>>
>>> Thanks again,
>>> Adam Johnston
>>>
>>>
>>> On Fri, Jul 27, 2012 at 4:59 PM, Stefan Knoblich wrote:
>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> On 07/27/12 21:34, Adam Johnston wrote:
>>>> > I use FreeSWITCH exclusively for high-volume fax, both sending and
>>>> receiving, and I've been running into a sporadic issue where the FreeSWITCH
>>>> process will die with nothing in the logs to
>>>> > indicate an issue and no core file anywhere on the system. I'm
>>>> setting "ulimit -c unlimited" in my init script, so I would expect to see a
>>>> core file. Version: FreeSWITCH Version
>>>> > 1.2.0-rc2+git~20120713T162602Z~0afd7318bd+unclean~20120713T182401Z
>>>>
>>>> You need to set /proc/sys/fs/suid_dumpable to a non-zero value (see man
>>>> 5 proc), to enable core dumping for processes
>>>> that switch their UID on startup (such as freeswitch with -u option).
>>>>
>>>> By default, the freeswitch process will try to put the core file into
>>>> the CWD (current work directory),
>>>> so make sure the UID it is running as can write there (or "cd" into a
>>>> different directory before starting it).
>>>> You might also want to check out man 5 core, for all the other options
>>>> (e.g. piping core dumps into a custom handler, with core_pattern).
>>>>
>>>> -----BEGIN PGP SIGNATURE-----
>>>> Version: GnuPG v2.0.19 (GNU/Linux)
>>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>>>
>>>> iEYEARECAAYFAlATASwACgkQjiIIAK4rYUrjvQCgh1grtcBfPVhbZNw8tdQpsyda
>>>> 614Amwb1pKDFL93dU33cy2wj1FNYYnzJ
>>>> =0Xqk
>>>> -----END PGP SIGNATURE-----
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>>
>>>
>>
>>
>> --
>> *Andrew Cassidy BSc (Hons) MBCS SSCA*
>> Managing Director
>>
>>
>> *T *03300 100 960 *F
>> *03300 100 961
>> *E *andrew at cassidywebservices.co.uk
>> *W *www.cassidywebservices.co.uk
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
--
*Andrew Cassidy BSc (Hons) MBCS SSCA*
Managing Director
*T *03300 100 960
*F
*03300 100 961
*E *andrew at cassidywebservices.co.uk
*W *www.cassidywebservices.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/bb7b620b/attachment.html
From odermann at googlemail.com Thu Aug 2 13:26:22 2012
From: odermann at googlemail.com (Dennis)
Date: Thu, 2 Aug 2012 11:26:22 +0200
Subject: [Freeswitch-users] Fax (RX): Missing name/header variable in
socket!?
Message-ID:
hi,
we are receiving many faxes (RX), but we are missing a variable in the socket.
we do get the "remote station id", which is the fax-number itself, but
we need the name/header of the incoming fax (for example: COMPANYNAME
INC.).
thanks for your help
dennis
From evgeniy at bestnet.kharkov.ua Thu Aug 2 14:48:20 2012
From: evgeniy at bestnet.kharkov.ua (Evgeniy Movlyan)
Date: Thu, 02 Aug 2012 13:48:20 +0300
Subject: [Freeswitch-users] Nibble Billing deducted balance from account
even call doesn't come to my mobile number
In-Reply-To:
References: <50178DB7.7000606@bestnet.kharkov.ua> <50194496.10804@bestnet.kharkov.ua>
Message-ID: <501A5AF4.9020008@bestnet.kharkov.ua>
I changed my dialplan, but got the same message =(
02.08.2012 07:49, SamyGo ?????:
> You might wanna change your dialplan to something like this:
>
>
> That's How I;ve done it, no wonder I use LUA but the dial-string is exactly
> as below.
>
> I think there is a difference if you do it like above, It will set the
> ignore_early_media on the B-leg session and not on A-leg.
>
> This a snippet from the FS-1.6 book: *page:186*
>
> "Curly brackets are used "globally" for the duration of a call. Take the
> following example where we are bridging a call to Darren's cell phone,
> 203-829-3150. We
> only want to ring the phone for 20 seconds, to avoid hitting voicemail.
>
> data="{call_timeout=20}sofia/my_provider/2038293150">
>
> *The variable in brackets is utilized on the newly setup channel,
> sofia/my_provider/2038293150.*"
>
>
> Regards,
> Sammy
>
>
> On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan
> wrote:
>
>> It did not work for me, i got the same message.
>> My outbond extension:
>>
>>
>>
>> > break="on-true">
>>
>>
>>
>> > data="effective_caller_id_number=${outbound_caller_id_number}"/>
>> > data="effective_caller_id_name=${outbound_caller_id_name}"/>
>>
>> > data="sofia/gateway/${default_gateway}/${dialed_number}"/>
>>
>>
>>
>>
>> 31.07.2012 11:06, SamyGo ?????:
>>> Hi,
>>> Well its works perfect for me, do you guys have ignore_early_media set in
>>> your outbound string, if no then set it and then see what happens.
>>> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"
>>> wrote:
>>>
>>>> I have the same problem. When i am calling from one my extension to
>>>> another all is ok, but when i am calling to external number i got this
>>>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in
>>>> answered state".
>>>>
>>>> 31.07.2012 10:35, virendra bhati ?????:
>>>>> mod_nibblebill.c:465 Not billing
>>>>> 97183008 - call is not in answered state
>>>>
>>>> --
>>>> Evgeniy Movlyan,
>>>> BestNet Ltd.
>>>>
>>>>
>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>>
>>>>
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>
>>>> 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
>>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>
>> --
>> Evgeniy Movlyan,
>> BestNet Ltd.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
--
Evgeniy Movlyan,
BestNet Ltd.
From govoiper at gmail.com Thu Aug 2 14:58:07 2012
From: govoiper at gmail.com (SamyGo)
Date: Thu, 2 Aug 2012 15:58:07 +0500
Subject: [Freeswitch-users] Nibble Billing deducted balance from account
even call doesn't come to my mobile number
In-Reply-To: <501A5AF4.9020008@bestnet.kharkov.ua>
References:
<50178DB7.7000606@bestnet.kharkov.ua>
<50194496.10804@bestnet.kharkov.ua>
<501A5AF4.9020008@bestnet.kharkov.ua>
Message-ID:
Ok,
Paste the whole call console log and share via pastebin.
Maybe find some other thing breaking it.
BR
Sammy
On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"
wrote:
> I changed my dialplan, but got the same message =(
>
> 02.08.2012 07:49, SamyGo ?????:
> > You might wanna change your dialplan to something like this:
> >
> >
> > That's How I;ve done it, no wonder I use LUA but the dial-string is
> exactly
> > as below.
> >
> > I think there is a difference if you do it like above, It will set the
> > ignore_early_media on the B-leg session and not on A-leg.
> >
> > This a snippet from the FS-1.6 book: *page:186*
> >
> > "Curly brackets are used "globally" for the duration of a call. Take the
> > following example where we are bridging a call to Darren's cell phone,
> > 203-829-3150. We
> > only want to ring the phone for 20 seconds, to avoid hitting voicemail.
> >
> > > data="{call_timeout=20}sofia/my_provider/2038293150">
> >
> > *The variable in brackets is utilized on the newly setup channel,
> > sofia/my_provider/2038293150.*"
> >
> >
> > Regards,
> > Sammy
> >
> >
> > On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan
> > wrote:
> >
> >> It did not work for me, i got the same message.
> >> My outbond extension:
> >>
> >>
> >>
> >> >> break="on-true">
> >>
> >>
> >>
> >> >> data="effective_caller_id_number=${outbound_caller_id_number}"/>
> >> >> data="effective_caller_id_name=${outbound_caller_id_name}"/>
> >>
> >> >> data="sofia/gateway/${default_gateway}/${dialed_number}"/>
> >>
> >>
> >>
> >>
> >> 31.07.2012 11:06, SamyGo ?????:
> >>> Hi,
> >>> Well its works perfect for me, do you guys have ignore_early_media set
> in
> >>> your outbound string, if no then set it and then see what happens.
> >>> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan" >
> >>> wrote:
> >>>
> >>>> I have the same problem. When i am calling from one my extension to
> >>>> another all is ok, but when i am calling to external number i got this
> >>>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in
> >>>> answered state".
> >>>>
> >>>> 31.07.2012 10:35, virendra bhati ?????:
> >>>>> mod_nibblebill.c:465 Not billing
> >>>>> 97183008 - call is not in answered state
> >>>>
> >>>> --
> >>>> Evgeniy Movlyan,
> >>>> BestNet Ltd.
> >>>>
> >>>>
> >>
> _________________________________________________________________________
> >>>> Professional FreeSWITCH Consulting Services:
> >>>> consulting at freeswitch.org
> >>>> http://www.freeswitchsolutions.com
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Official FreeSWITCH Sites
> >>>> http://www.freeswitch.org
> >>>> http://wiki.freeswitch.org
> >>>> http://www.cluecon.com
> >>>>
> >>>> Join Us At ClueCon - Aug 7-9, 2012
> >>>>
> >>>> 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
> >>>>
> >>>
> >>>
> >>>
> >>>
> _________________________________________________________________________
> >>> Professional FreeSWITCH Consulting Services:
> >>> consulting at freeswitch.org
> >>> http://www.freeswitchsolutions.com
> >>>
> >>>
> >>>
> >>>
> >>> Official FreeSWITCH Sites
> >>> http://www.freeswitch.org
> >>> http://wiki.freeswitch.org
> >>> http://www.cluecon.com
> >>>
> >>> Join Us At ClueCon - Aug 7-9, 2012
> >>>
> >>> 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
> >>
> >> --
> >> Evgeniy Movlyan,
> >> BestNet Ltd.
> >>
> >>
> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >>
> >>
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://wiki.freeswitch.org
> >> http://www.cluecon.com
> >>
> >> Join Us At ClueCon - Aug 7-9, 2012
> >>
> >> 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
> >>
> >
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > 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
>
> --
> Evgeniy Movlyan,
> BestNet Ltd.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/677c0847/attachment.html
From evgeniy at bestnet.kharkov.ua Thu Aug 2 15:12:05 2012
From: evgeniy at bestnet.kharkov.ua (Evgeniy Movlyan)
Date: Thu, 02 Aug 2012 14:12:05 +0300
Subject: [Freeswitch-users] Nibble Billing deducted balance from account
even call doesn't come to my mobile number
In-Reply-To:
References: <50178DB7.7000606@bestnet.kharkov.ua> <50194496.10804@bestnet.kharkov.ua> <501A5AF4.9020008@bestnet.kharkov.ua>
Message-ID: <501A6085.2020308@bestnet.kharkov.ua>
http://pastebin.com/enEmLVJz
02.08.2012 13:58, SamyGo ?????:
> Ok,
> Paste the whole call console log and share via pastebin.
> Maybe find some other thing breaking it.
> BR
> Sammy
> On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"
> wrote:
>
>> I changed my dialplan, but got the same message =(
>>
>> 02.08.2012 07:49, SamyGo ?????:
>>> You might wanna change your dialplan to something like this:
>>>
>>>
>>> That's How I;ve done it, no wonder I use LUA but the dial-string is
>> exactly
>>> as below.
>>>
>>> I think there is a difference if you do it like above, It will set the
>>> ignore_early_media on the B-leg session and not on A-leg.
>>>
>>> This a snippet from the FS-1.6 book: *page:186*
>>>
>>> "Curly brackets are used "globally" for the duration of a call. Take the
>>> following example where we are bridging a call to Darren's cell phone,
>>> 203-829-3150. We
>>> only want to ring the phone for 20 seconds, to avoid hitting voicemail.
>>>
>>> >> data="{call_timeout=20}sofia/my_provider/2038293150">
>>>
>>> *The variable in brackets is utilized on the newly setup channel,
>>> sofia/my_provider/2038293150.*"
>>>
>>>
>>> Regards,
>>> Sammy
>>>
>>>
>>> On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan
>>> wrote:
>>>
>>>> It did not work for me, i got the same message.
>>>> My outbond extension:
>>>>
>>>>
>>>>
>>>> >>> break="on-true">
>>>>
>>>>
>>>>
>>>> >>> data="effective_caller_id_number=${outbound_caller_id_number}"/>
>>>> >>> data="effective_caller_id_name=${outbound_caller_id_name}"/>
>>>>
>>>> >>> data="sofia/gateway/${default_gateway}/${dialed_number}"/>
>>>>
>>>>
>>>>
>>>>
>>>> 31.07.2012 11:06, SamyGo ?????:
>>>>> Hi,
>>>>> Well its works perfect for me, do you guys have ignore_early_media set
>> in
>>>>> your outbound string, if no then set it and then see what happens.
>>>>> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan">>
>>>>> wrote:
>>>>>
>>>>>> I have the same problem. When i am calling from one my extension to
>>>>>> another all is ok, but when i am calling to external number i got this
>>>>>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in
>>>>>> answered state".
>>>>>>
>>>>>> 31.07.2012 10:35, virendra bhati ?????:
>>>>>>> mod_nibblebill.c:465 Not billing
>>>>>>> 97183008 - call is not in answered state
>>>>>>
>>>>>> --
>>>>>> Evgeniy Movlyan,
>>>>>> BestNet Ltd.
>>>>>>
>>>>>>
>>>>
>> _________________________________________________________________________
>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>> consulting at freeswitch.org
>>>>>> http://www.freeswitchsolutions.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> http://www.freeswitch.org
>>>>>> http://wiki.freeswitch.org
>>>>>> http://www.cluecon.com
>>>>>>
>>>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>>>
>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>>
>>>>> 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
>>>>
>>>> --
>>>> Evgeniy Movlyan,
>>>> BestNet Ltd.
>>>>
>>>>
>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>>
>>>>
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>
>>>> 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
>>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>
>> --
>> Evgeniy Movlyan,
>> BestNet Ltd.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
--
Evgeniy Movlyan,
BestNet Ltd.
From lloyd.aloysius at gmail.com Thu Aug 2 15:34:22 2012
From: lloyd.aloysius at gmail.com (Lloyd Aloysius)
Date: Thu, 2 Aug 2012 07:34:22 -0400
Subject: [Freeswitch-users] ESL - phpmod compile Error
In-Reply-To:
References:
Message-ID:
Michael,
I already installed the libedit-dev . Same error
Thanks
Lloyd
On Wed, Aug 1, 2012 at 12:18 PM, Michael Collins wrote:
> I suspect this line is the key piece of information:
> /usr/bin/ld: cannot find -ledit
>
> If I read that correctly you need to install libedit-dev. Give that a try
> and let us know.
>
> -MC
>
> On Tue, Jul 31, 2012 at 11:20 PM, Lloyd Aloysius > wrote:
>
>> Hi All:
>>
>> when I compile the ESL module for php . OS - Centos 6.2 / 64 bit
>>
>> libs/esl
>>
>> make phpmod
>>
>> I got the following Errors.
>>
>> make phpmod
>> make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x"
>> CFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g
>> -ggdb -I../../libs/libedit/src/ -fPIC -O2"
>> CXXFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g
>> -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php
>> make[1]: Entering directory `/usr/src/freeswitch.git/libs/esl/php'
>> g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib6464 -lcrypt
>> -lcrypt -ledit -lncurses -lm -ldl -lnsl -lm -ldl -ldl -lm -lcrypt -lm
>> -lcrypt -lpthread -o ESL.so -L.
>> /usr/bin/ld: cannot find -ledit
>> collect2: ld returned 1 exit status
>> make[1]: *** [ESL.so] Error 1
>> make[1]: Leaving directory `/usr/src/freeswitch.git/libs/esl/php'
>> make: *** [phpmod] Error 2
>>
>>
>> How to solve this issue.
>>
>> Thanks
>> Lloyd
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/02cab4ac/attachment.html
From nathandownes at hotmail.com Thu Aug 2 16:13:40 2012
From: nathandownes at hotmail.com (Mr Nathan Downes)
Date: Thu, 2 Aug 2012 22:13:40 +1000
Subject: [Freeswitch-users] multi-tenant setup - call goes to wrong place
In-Reply-To: <0d7301cd6fe6$309450c0$91bcf240$@hotmail.com>
References: <03e401cd6be9$52f19b10$f8d4d130$@hotmail.com>
<0d7301cd6fe6$309450c0$91bcf240$@hotmail.com>
Message-ID:
I had setup shared line appearance on one tenant, so had to re-enable it for
them to make calls, further investigation shows that manage-presence causes
the problem and it only affects domain listed in presence-hosts. I took
domain3.com out of presence-hosts and when I call from 101 at domain3.com to
201 I do not get 201 at domain2.com
If 300 at domain1.com calls 201 they get sent to 201 at domain2.com
Is this a bug?
I tried updated to latest head but there seems to be an issue with that that
even when people are registered as per normal, calling them internally or
routing to them from a did reports user_not_registered and they just get
voicemail, doesn't affect outbound though..
I did have time to confirm the issue is still in latest head though
From: Mr Nathan Downes [mailto:nathandownes at hotmail.com]
Sent: Wednesday, 1 August 2012 11:04 PM
To: 'FreeSWITCH Users Help'
Subject: FW: multi-tenant setup - call goes to wrong place
Hi,
I ended up locating the problem.. it appears when I was playing with
shared_presence.. to try and get BLF working for certain tenants. What I
thought would help from googling caused this issue somehow, below is what I
enabled to cause the problem.
In internal.xml
this one true
this one enabled
this one true + enabled
this one + enabled
Is this actually required to use BLF for a certain domain?
From: Mr Nathan Downes [mailto:nathandownes at hotmail.com]
Sent: Friday, 27 July 2012 9:17 PM
To: 'FreeSWITCH Users Help'
Subject: multi-tenant setup - call goes to wrong place
Hi,
I have a multi tenant setup with fusionpbx, for one domain I use extensions
that don't register just for voicemail i.e 201 at domain1.com , when someone
from xx at domain1.com calls 201 everything appears to go correctly, domain is
set and call goes to 201 at domain1.com but when it first becomes an ip it
sends to 201 at domain2.ip.address. It doesn't seem to happen with all
extensions numbered the same in different domains..
Any idea what to look for??
Log as follows.
2012-07-26 09:37:35.178096 [NOTICE] switch_channel.c:926 New Channel
sofia/internal/306 at domain1.com [b62db898-d6b1-11e1-be15-73f389528c7f]
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/306 at domain1.com) Running State Change CS_NEW
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:403
(sofia/internal/306 at domain1.com) State NEW
2012-07-26 09:37:35.178096 [DEBUG] sofia.c:5838 Channel
sofia/internal/306 at domain1.com entering state [received][100]
2012-07-26 09:37:35.178096 [DEBUG] sofia.c:5849 Remote SDP:
v=0
o=- 60255882 60255882 IN IP4 115.64.93.203
s=-
c=IN IP4 115.64.93.203
t=0 0
m=audio 55938 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:3941 Looking for zrtp-hash
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:3919 Deciding whether to
pass zrtp-hash between legs
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:3921 CF_ZRTP_PASSTHRU_REQ
not set, so not propagating zrtp-hash
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:5034 Audio Codec Compare
[PCMA:8:8000:20:64000]/[PCMA:8:8000:20:64000]
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:3020 Set Codec
sofia/internal/306 at domain1.com PCMA/8000 20 ms 160 samples 64000 bits
2012-07-26 09:37:35.178096 [DEBUG] switch_core_codec.c:111
sofia/internal/306 at domain1.com Original read codec set to PCMA:8
2012-07-26 09:37:35.178096 [DEBUG] sofia_glue.c:5155 Set 2833 dtmf send/recv
payload to 101
2012-07-26 09:37:35.178096 [DEBUG] sofia.c:6077
(sofia/internal/306 at domain1.com) State Change CS_NEW -> CS_INIT
2012-07-26 09:37:35.178096 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/306 at domain1.com [BREAK]
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/306 at domain1.com) Running State Change CS_INIT
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:424
(sofia/internal/306 at domain1.com) State INIT
2012-07-26 09:37:35.178096 [DEBUG] mod_sofia.c:85
sofia/internal/306 at domain1.com SOFIA INIT
2012-07-26 09:37:35.178096 [DEBUG] mod_sofia.c:125
(sofia/internal/306 at domain1.com) State Change CS_INIT -> CS_ROUTING
2012-07-26 09:37:35.178096 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/306 at domain1.com [BREAK]
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:424
(sofia/internal/306 at domain1.com) State INIT going to sleep
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/306 at domain1.com) Running State Change CS_ROUTING
2012-07-26 09:37:35.178096 [DEBUG] switch_channel.c:1919
(sofia/internal/306 at domain1.com) Callstate Change DOWN -> RINGING
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:433
(sofia/internal/306 at domain1.com) State ROUTING
2012-07-26 09:37:35.178096 [DEBUG] mod_sofia.c:148
sofia/internal/306 at domain1.com SOFIA ROUTING
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:104
sofia/internal/306 at domain1.com Standard ROUTING
2012-07-26 09:37:35.178096 [INFO] mod_dialplan_xml.c:485 Processing
0286249343 <306>->201 in context domain1.com
Dialplan: sofia/internal/306 at domain1.com parsing [domain1.com->unloop]
continue=false
Dialplan: sofia/internal/306 at domain1.com parsing
[domain1.com->Local_Extension] continue=false
Dialplan: sofia/internal/306 at domain1.com Regex (PASS) [Local_Extension]
destination_number(201) =~ /(^\d{2,7}$)/ break=on-false
Dialplan: sofia/internal/306 at domain1.com Action set(dialed_extension=201)
Dialplan: sofia/internal/306 at domain1.com Action export(dialed_extension=201)
Dialplan: sofia/internal/306 at domain1.com Action limit(hash ${domain_name}
201 ${limit_max} ${limit_destination})
Dialplan: sofia/internal/306 at domain1.com Action bind_meta_app(1 b s
execute_extension::dx XML features)
Dialplan: sofia/internal/306 at domain1.com Action bind_meta_app(2 b s
record_session::/usr/local/freeswitch/recordings/archive/${strftime(%Y)}/${s
trftime(%b)}/${strftime(%d)}/${uuid}.wav)
Dialplan: sofia/internal/306 at domain1.com Action bind_meta_app(3 b s
execute_extension::cf XML features)
Dialplan: sofia/internal/306 at domain1.com Action bind_meta_app(4 b s
execute_extension::att_xfer XML features)
Dialplan: sofia/internal/306 at domain1.com Action set(ringback=${us-ring})
Dialplan: sofia/internal/306 at domain1.com Action
set(transfer_ringback=local_stream://moh)
Dialplan: sofia/internal/306 at domain1.com Action set(call_timeout=30)
Dialplan: sofia/internal/306 at domain1.com Action
set(hangup_after_bridge=true)
Dialplan: sofia/internal/306 at domain1.com Action set(continue_on_fail=true)
Dialplan: sofia/internal/306 at domain1.com Action
hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_numbe
r})
Dialplan: sofia/internal/306 at domain1.com Action
hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid})
Dialplan: sofia/internal/306 at domain1.com Action
set(called_party_callgroup=${user_data(${dialed_extension}@${domain_name}
var callgroup)})
Dialplan: sofia/internal/306 at domain1.com Action
hash(insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid})
Dialplan: sofia/internal/306 at domain1.com Action
bridge(user/${user_data(${destination_number}@${domain_name} attr
id)}@${domain_name})
Dialplan: sofia/internal/306 at domain1.com Action answer()
Dialplan: sofia/internal/306 at domain1.com Action sleep(1000)
Dialplan: sofia/internal/306 at domain1.com Action voicemail(default
${domain_name} ${dialed_extension})
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:154
(sofia/internal/306 at domain1.com) State Change CS_ROUTING -> CS_EXECUTE
2012-07-26 09:37:35.178096 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/306 at domain1.com [BREAK]
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:433
(sofia/internal/306 at domain1.com) State ROUTING going to sleep
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/306 at domain1.com) Running State Change CS_EXECUTE
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:440
(sofia/internal/306 at domain1.com) State EXECUTE
2012-07-26 09:37:35.178096 [DEBUG] mod_sofia.c:241
sofia/internal/306 at domain1.com SOFIA EXECUTE
2012-07-26 09:37:35.178096 [DEBUG] switch_core_state_machine.c:196
sofia/internal/306 at domain1.com Standard EXECUTE
EXECUTE sofia/internal/306 at domain1.com set(call_direction=local)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [call_direction]=[local]
EXECUTE sofia/internal/306 at domain1.com set(open=true)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [open]=[true]
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-spymap/306/b62db898-d6b1-11e1-be15-73f389528c7f)
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-last_dial/306/201)
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-last_dial/global/b62db898-d6b1-11e1-be15-73f389528c7
f)
EXECUTE sofia/internal/306 at domain1.com set(RFC2822_DATE=Thu, 26 Jul 2012
09:37:35 +1000)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [RFC2822_DATE]=[Thu, 26 Jul 2012 09:37:35
+1000]
EXECUTE sofia/internal/306 at domain1.com set(dialed_extension=201)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [dialed_extension]=[201]
EXECUTE sofia/internal/306 at domain1.com export(dialed_extension=201)
2012-07-26 09:37:35.178096 [DEBUG] switch_channel.c:1093 EXPORT
(export_vars) [dialed_extension]=[201]
EXECUTE sofia/internal/306 at domain1.com limit(hash domain1.com 201 2 !BUSY)
2012-07-26 09:37:35.178096 [INFO] switch_limit.c:126 incr called:
domain1.com_201 max:2, interval:0
2012-07-26 09:37:35.178096 [INFO] mod_hash.c:202 Usage for domain1.com_201
is now 1/2
EXECUTE sofia/internal/306 at domain1.com bind_meta_app(1 b s
execute_extension::dx XML features)
2012-07-26 09:37:35.178096 [INFO] switch_ivr_async.c:3328 Bound B-Leg: *1
execute_extension::dx XML features
EXECUTE sofia/internal/306 at domain1.com bind_meta_app(2 b s
record_session::/usr/local/freeswitch/recordings/archive/2012/Jul/26/b62db89
8-d6b1-11e1-be15-73f389528c7f.wav)
2012-07-26 09:37:35.178096 [INFO] switch_ivr_async.c:3328 Bound B-Leg: *2
record_session::/usr/local/freeswitch/recordings/archive/2012/Jul/26/b62db89
8-d6b1-11e1-be15-73f389528c7f.wav
EXECUTE sofia/internal/306 at domain1.com bind_meta_app(3 b s
execute_extension::cf XML features)
2012-07-26 09:37:35.178096 [INFO] switch_ivr_async.c:3328 Bound B-Leg: *3
execute_extension::cf XML features
EXECUTE sofia/internal/306 at domain1.com bind_meta_app(4 b s
execute_extension::att_xfer XML features)
2012-07-26 09:37:35.178096 [INFO] switch_ivr_async.c:3328 Bound B-Leg: *4
execute_extension::att_xfer XML features
EXECUTE sofia/internal/306 at domain1.com set(ringback=%(2000, 4000, 440.0,
480.0))
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [ringback]=[%(2000, 4000, 440.0, 480.0)]
EXECUTE sofia/internal/306 at domain1.com
set(transfer_ringback=local_stream://moh)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [transfer_ringback]=[local_stream://moh]
EXECUTE sofia/internal/306 at domain1.com set(call_timeout=30)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [call_timeout]=[30]
EXECUTE sofia/internal/306 at domain1.com set(hangup_after_bridge=true)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [hangup_after_bridge]=[true]
EXECUTE sofia/internal/306 at domain1.com set(continue_on_fail=true)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [continue_on_fail]=[true]
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-call_return/201/306)
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-last_dial_ext/201/b62db898-d6b1-11e1-be15-73f389528c
7f)
EXECUTE sofia/internal/306 at domain1.com set(called_party_callgroup=)
2012-07-26 09:37:35.178096 [DEBUG] mod_dptools.c:1305
sofia/internal/306 at domain1.com SET [called_party_callgroup]=[UNDEF]
EXECUTE sofia/internal/306 at domain1.com
hash(insert/domain1.com-last_dial//b62db898-d6b1-11e1-be15-73f389528c7f)
EXECUTE sofia/internal/306 at domain1.com bridge(user/201 at domain1.com)
2012-07-26 09:37:35.178096 [DEBUG] switch_channel.c:1047
sofia/internal/306 at domain1.com EXPORTING[export_vars]
[domain_name]=[domain1.com] to event
2012-07-26 09:37:35.178096 [DEBUG] switch_channel.c:1047
sofia/internal/306 at domain1.com EXPORTING[export_vars]
[dialed_extension]=[201] to event
2012-07-26 09:37:35.178096 [DEBUG] switch_ivr_originate.c:1958 Parsing
global variables
2012-07-26 09:37:35.198097 [DEBUG] switch_channel.c:1047
sofia/internal/306 at domain1.com EXPORTING[export_vars]
[domain_name]=[domain1.com] to event
2012-07-26 09:37:35.198097 [DEBUG] switch_channel.c:1047
sofia/internal/306 at domain1.com EXPORTING[export_vars]
[dialed_extension]=[201] to event
2012-07-26 09:37:35.198097 [DEBUG] switch_ivr_originate.c:1958 Parsing
global variables
2012-07-26 09:37:35.198097 [DEBUG] switch_event.c:1470 Parsing variable
[sip_invite_domain]=[domain1.com]
2012-07-26 09:37:35.198097 [DEBUG] switch_event.c:1470 Parsing variable
[presence_id]=[201 at domain1.com]
2012-07-26 09:37:35.198097 [NOTICE] switch_channel.c:926 New Channel
sofia/internal/sip:201 at 110.143.31.101:1178
[b630218c-d6b1-11e1-be1d-73f389528c7f]
2012-07-26 09:37:35.198097 [DEBUG] mod_sofia.c:4734
(sofia/internal/sip:201 at 110.143.31.101:1178) State Change CS_NEW -> CS_INIT
2012-07-26 09:37:35.198097 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/sip:201 at 110.143.31.101:1178) Running State Change CS_INIT
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:424
(sofia/internal/sip:201 at 110.143.31.101:1178) State INIT
2012-07-26 09:37:35.198097 [DEBUG] mod_sofia.c:85
sofia/internal/sip:201 at 110.143.31.101:1178 SOFIA INIT
2012-07-26 09:37:35.198097 [DEBUG] sofia_glue.c:2602 Local SDP:
v=0
o=FreeSWITCH 1343234313 1343234314 IN IP4 203.174.163.226
s=FreeSWITCH
c=IN IP4 203.174.163.226
t=0 0
m=audio 25142 RTP/AVP 8 0 3 101 13
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2012-07-26 09:37:35.198097 [DEBUG] mod_sofia.c:125
(sofia/internal/sip:201 at 110.143.31.101:1178) State Change CS_INIT ->
CS_ROUTING
2012-07-26 09:37:35.198097 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:424
(sofia/internal/sip:201 at 110.143.31.101:1178) State INIT going to sleep
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/sip:201 at 110.143.31.101:1178) Running State Change CS_ROUTING
2012-07-26 09:37:35.198097 [DEBUG] switch_channel.c:1919
(sofia/internal/sip:201 at 110.143.31.101:1178) Callstate Change DOWN ->
RINGING
2012-07-26 09:37:35.198097 [DEBUG] switch_core_session.c:923 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:433
(sofia/internal/sip:201 at 110.143.31.101:1178) State ROUTING
2012-07-26 09:37:35.198097 [DEBUG] mod_sofia.c:148
sofia/internal/sip:201 at 110.143.31.101:1178 SOFIA ROUTING
2012-07-26 09:37:35.198097 [DEBUG] switch_ivr_originate.c:67
(sofia/internal/sip:201 at 110.143.31.101:1178) State Change CS_ROUTING ->
CS_CONSUME_MEDIA
2012-07-26 09:37:35.198097 [DEBUG] switch_core_session.c:1228 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:433
(sofia/internal/sip:201 at 110.143.31.101:1178) State ROUTING going to sleep
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:385
(sofia/internal/sip:201 at 110.143.31.101:1178) Running State Change
CS_CONSUME_MEDIA
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:452
(sofia/internal/sip:201 at 110.143.31.101:1178) State CONSUME_MEDIA
2012-07-26 09:37:35.198097 [DEBUG] switch_core_state_machine.c:452
(sofia/internal/sip:201 at 110.143.31.101:1178) State CONSUME_MEDIA going to
sleep
2012-07-26 09:37:35.198097 [DEBUG] sofia.c:5838 Channel
sofia/internal/sip:201 at 110.143.31.101:1178 entering state [calling][0]
2012-07-26 09:37:35.318096 [DEBUG] switch_core_session.c:923 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.318096 [DEBUG] switch_core_session.c:923 Send signal
sofia/internal/sip:201 at 110.143.31.101:1178 [BREAK]
2012-07-26 09:37:35.338097 [DEBUG] sofia.c:5838 Channel
sofia/internal/sip:201 at 110.143.31.101:1178 entering state [proceeding][180]
2012-07-26 09:37:35.338097 [NOTICE] sofia.c:5930 Ring-Ready
sofia/internal/sip:201 at 110.143.31.101:1178!
2012-07-26 09:37:35.338097 [INFO] switch_ivr_originate.c:1156 Sending early
media
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3269 AUDIO RTP
[sofia/internal/306 at domain1.com] 203.174.163.226 port 26698 -> 115.64.93.203
port 55938 codec: 8 ms: 20
2012-07-26 09:37:35.338097 [DEBUG] switch_rtp.c:1680 Starting timer [soft]
160 bytes per 20ms
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3491 Setting Jitterbuffer to
60ms (3 frames)
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3533 Set 2833 dtmf send
payload to 101
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3539 Set 2833 dtmf receive
payload to 101
2012-07-26 09:37:35.338097 [DEBUG] sofia_glue.c:3566
sofia/internal/306 at domain1.com Set rtp dtmf delay to 40
2012-07-26 09:37:35.338097 [DEBUG] mod_sofia.c:2606 Ring SDP:
v=0
o=FreeSWITCH 1343232757 1343232758 IN IP4 203.174.163.226
s=FreeSWITCH
c=IN IP4 203.174.163.226
t=0 0
m=audio 26698 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
2012-07-26 09:37:35.338097 [NOTICE] mod_sofia.c:2609 Pre-Answer
sofia/internal/306 at domain1.com!
2012-07-26 09:37:35.338097 [DEBUG] switch_channel.c:3042
(sofia/internal/306 at domain1.com) Callstate Change RINGING -> EARLY
2012-07-26 09:37:35.338097 [DEBUG] switch_core_session.c:777 Send signal
sofia/internal/306 at domain1.com [BREAK]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/1a971a6e/attachment-0001.html
From david.villasmil.work at gmail.com Thu Aug 2 19:43:33 2012
From: david.villasmil.work at gmail.com (David Villasmil)
Date: Thu, 2 Aug 2012 17:43:33 +0200
Subject: [Freeswitch-users] ESL Log to console
Message-ID:
Hello Guys,
I'm starting off with ESL, which is cool, but I'm trying to log to the
console like Lua's "freeswitch.consoleLog("info", "BLAH BLAH");" doing it
like:
my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon");
$con->execute("log", "1, BlahBlah");
But nothing gets in the log files or console... and I can't find any
documentation as to how to log using "execute"...
any ideas?
Thanks!
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/7096777e/attachment.html
From msc at freeswitch.org Thu Aug 2 20:14:38 2012
From: msc at freeswitch.org (Michael Collins)
Date: Thu, 2 Aug 2012 09:14:38 -0700
Subject: [Freeswitch-users] Fax (RX): Missing name/header variable in
socket!?
In-Reply-To:
References:
Message-ID:
Can you pastebin a console debug log of this happening?
-MC
On Thu, Aug 2, 2012 at 2:26 AM, Dennis wrote:
> hi,
>
> we are receiving many faxes (RX), but we are missing a variable in the
> socket.
>
> we do get the "remote station id", which is the fax-number itself, but
> we need the name/header of the incoming fax (for example: COMPANYNAME
> INC.).
>
>
> thanks for your help
> dennis
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/c5ab361e/attachment.html
From msc at freeswitch.org Thu Aug 2 20:17:59 2012
From: msc at freeswitch.org (Michael Collins)
Date: Thu, 2 Aug 2012 09:17:59 -0700
Subject: [Freeswitch-users] ESL - phpmod compile Error
In-Reply-To:
References:
Message-ID:
Well, google suggests you're not the first one with this issue. Raymond
made a suggestion to someone else in this thread:
http://lists.freeswitch.org/pipermail/freeswitch-users/2009-November/050006.html
Perhaps it's a different library name.
-MC
On Thu, Aug 2, 2012 at 4:34 AM, Lloyd Aloysius wrote:
> Michael,
>
> I already installed the libedit-dev . Same error
>
> Thanks
> Lloyd
>
>
>
> On Wed, Aug 1, 2012 at 12:18 PM, Michael Collins wrote:
>
>> I suspect this line is the key piece of information:
>> /usr/bin/ld: cannot find -ledit
>>
>> If I read that correctly you need to install libedit-dev. Give that a try
>> and let us know.
>>
>> -MC
>>
>> On Tue, Jul 31, 2012 at 11:20 PM, Lloyd Aloysius <
>> lloyd.aloysius at gmail.com> wrote:
>>
>>> Hi All:
>>>
>>> when I compile the ESL module for php . OS - Centos 6.2 / 64 bit
>>>
>>> libs/esl
>>>
>>> make phpmod
>>>
>>> I got the following Errors.
>>>
>>> make phpmod
>>> make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x"
>>> CFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g
>>> -ggdb -I../../libs/libedit/src/ -fPIC -O2"
>>> CXXFLAGS="-I/usr/src/freeswitch.git/libs/esl/src/include -DHAVE_EDITLINE -g
>>> -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C php
>>> make[1]: Entering directory `/usr/src/freeswitch.git/libs/esl/php'
>>> g++ -shared -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib6464 -lcrypt
>>> -lcrypt -ledit -lncurses -lm -ldl -lnsl -lm -ldl -ldl -lm -lcrypt -lm
>>> -lcrypt -lpthread -o ESL.so -L.
>>> /usr/bin/ld: cannot find -ledit
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [ESL.so] Error 1
>>> make[1]: Leaving directory `/usr/src/freeswitch.git/libs/esl/php'
>>> make: *** [phpmod] Error 2
>>>
>>>
>>> How to solve this issue.
>>>
>>> Thanks
>>> Lloyd
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>>
>>>
>>
>>
>> --
>> Michael S Collins
>> Twitter: @mercutioviz
>> http://www.FreeSWITCH.org
>> http://www.ClueCon.com
>> http://www.OSTAG.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/4eba6fec/attachment.html
From msc at freeswitch.org Thu Aug 2 20:25:05 2012
From: msc at freeswitch.org (Michael Collins)
Date: Thu, 2 Aug 2012 09:25:05 -0700
Subject: [Freeswitch-users] ESL Log to console
In-Reply-To:
References:
Message-ID:
David,
Do you have a call in progress at this point? If not then you'll need to
supply a uuid of a live call, as mentioned here:
http://wiki.freeswitch.org/wiki/Event_Socket_Library#execute
Remember, "execute" means "execute dialplan application" so if there's no
channel then "execute" really doesn't mean a whole lot.
Alternatively you could try something like this:
$con->api("log","WARNING Don't cross the streams!!");
Remember this rule of thumb: pretty much anything you type at fs_cli is an
"API" and therefore you can use $con->api(), whereas anything that is a
diaplan application requires an actual channel on which to run
$con->execute().
Hope that makes sense... :)
-Michael
On Thu, Aug 2, 2012 at 8:43 AM, David Villasmil <
david.villasmil.work at gmail.com> wrote:
> Hello Guys,
>
> I'm starting off with ESL, which is cool, but I'm trying to log to the
> console like Lua's "freeswitch.consoleLog("info", "BLAH BLAH");" doing it
> like:
>
> my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon");
> $con->execute("log", "1, BlahBlah");
>
>
> But nothing gets in the log files or console... and I can't find any
> documentation as to how to log using "execute"...
>
> any ideas?
>
> Thanks!
>
> David
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/d2b5711e/attachment-0001.html
From X.Liu at hw.ac.uk Thu Aug 2 20:25:33 2012
From: X.Liu at hw.ac.uk (Liu, Xingkun)
Date: Thu, 2 Aug 2012 17:25:33 +0100
Subject: [Freeswitch-users] Am I using play_and_detect_speech correctly?
References: <50179069.6020700@hw.ac.uk><6A6B4C284AD15042B429EB9D904544AD02304F6260@NY1-EXMB-01.ip-soft.net>
Message-ID:
Many thanks, Chris!
I will have tries on it later on.
In my original question regarding to too many network connections/much traffic issues,
I re-setup the destination machine OS the problem seems to have been solved.
So the play_and_detect_speech APP look likes working fine, so I have not yet tried the workaround
by issuing "detect_speech pause". I will try it later if there was something unusual happening
to me after more tests.
So for now I think the problem has been resolved.
Thanks again!
Xing
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Christopher Rienzo
Sent: Wed 8/1/2012 20:06
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Am I using play_and_detect_speech correctly?
The basic procedure for barge in is:
1. detect_speech unimrcp
{start-input-timers=false,no-input-timeout=5000,recognition-timeout=5000}builtin:grammar/boolean?language=en-US;y=1;n=2
2. playback say:please say yes or no. please say no or yes. please say
something!
3. handle begin-speaking event
4. break
5. when playback finishes... detect_speech start_input_timers
6. handle detected-speech event
This is pretty much what play_and_detect_speech already does... see
switch_ivr_play_and_detect_speech() in switch_ivr_async.c if you know C.
Chris
On Wed, Aug 1, 2012 at 1:49 PM, Liu, Xingkun wrote:
> **
>
> Thanks for your response, Hector!
>
> Yeah, I am using detect_speech via a similar way to yours.
>
> What I am more interested in is to use detect_speech app to handle user's
> barge-in.
>
> After Chris mentioned the barge-in can be also handled by detect_speech I
> gave it a further thinking.
> Yeah, I could first "speak" the utterance and immediately resume ASR, then
> try to catch the begin_speaking event,
> then stop the TTS -- using this way to handle the user barge-in.
> (Chris, you may have a better idea, would you please let me know if you
> do?)
>
> One thing I am worry about is that stopping currently playing media or
> utterance seems not work for me.
> When I recently try "api uuid_break " it stopped currently playing
> music but also stopped playing following utterances
> which I sent to TTS soon later on after uuid_break.
>
> Anyway I will try it further again and let you all know what I will get.
>
> Cheers,
>
> Xing
>
>
--
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
We invite research leaders and ambitious early career researchers to
join us in leading and driving research in key inter-disciplinary themes.
Please see www.hw.ac.uk/researchleaders for further information and how
to apply.
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/737ac633/attachment.html
From msc at freeswitch.org Thu Aug 2 20:27:40 2012
From: msc at freeswitch.org (Michael Collins)
Date: Thu, 2 Aug 2012 09:27:40 -0700
Subject: [Freeswitch-users] Freeswitch Auto Retrying a call for 3 times ,
if it is not answered
In-Reply-To: <1343812553346-7581406.post@n2.nabble.com>
References: <1343812553346-7581406.post@n2.nabble.com>
Message-ID:
What does it mean that the first user is dialed "three times?" Also, put
this log on pastebin.freeswitch.org and use FreeSWITCH Log as the syntax
highlighting. That makes it much easier to read.
Thanks,
MC
On Wed, Aug 1, 2012 at 2:15 AM, ramesh wrote:
> Hi Team,
>
> I made a script to dial a user , and if not answered the second user
> should
> get the dial. Everything works file , Except the first user is dialed for 3
> times , if the user is busy or unanswered , i was trying to figure out what
> could be the problem for this issue, but i couldn't .
>
> Can Anyone Figure out what is the reason for this issue.
> below is my lua dial script
>
>
> session:execute("bridge","{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7,originate_continue_on_timeout=true}sofia/gateway/
> bandwidth.com/+919xxxxxxxx|sofia/gateway/bandwidth.com/+919xxxxxxxx");
>
>
> following is the log i can get.
>
> Any Help or suggestion would be really helpful!
>
> [NOTICE] sofia.c:5594 Ring-Ready sofia/internal/+919677080275!
> 2012-08-01 07:09:13.212635 [DEBUG] switch_ivr_originate.c:1164 Raw Codec
> Activation Success L16 at 16000hz 1 channel 20ms
> 2012-08-01 07:09:13.212635 [DEBUG] switch_core_codec.c:216
> rtmp/default/+542914850488 Push codec L16:70
> 2012-08-01 07:09:13.212635 [DEBUG] switch_ivr_originate.c:1227 Play
> Ringback
> Tone [%(2000,4000,440,480)]
> 2012-08-01 07:09:16.532655 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:16.532655 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:16.552637 [DEBUG] sofia.c:5502 Channel
> sofia/internal/+919677080275 entering state [proceeding][183]
> 2012-08-01 07:09:16.552637 [DEBUG] sofia.c:5513 Remote SDP:
> v=0
> o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
> s=SIP Media Capabilities
> c=IN IP4 65.115.130.14
> t=0 0
> m=audio 10382 RTP/AVP 0 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ptime:20
>
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[SPEEX:99:16000:20:42200]
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[G7221:115:32000:20:48000]
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[G7221:107:16000:20:32000]
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[G722:9:8000:20:64000]
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:2919 Set Codec
> sofia/internal/+919677080275 PCMU/8000 20 ms 160 samples 64000 bits
> 2012-08-01 07:09:16.552637 [DEBUG] switch_core_codec.c:111
> sofia/internal/+919677080275 Original read codec set to PCMU:0
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
> payload to 101
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3171 AUDIO RTP
> [sofia/internal/+919677080275] 10.244.15.45 port 30506 -> 65.115.130.14
> port
> 10382 codec: 0 ms: 20
> 2012-08-01 07:09:16.552637 [DEBUG] switch_rtp.c:1661 Starting timer [soft]
> 160 bytes per 20ms
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3435 Set 2833 dtmf send
> payload to 101
> 2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3441 Set 2833 dtmf receive
> payload to 101
> 2012-08-01 07:09:16.552637 [NOTICE] sofia_glue.c:3945 Pre-Answer
> sofia/internal/+919677080275!
> 2012-08-01 07:09:16.552637 [DEBUG] switch_channel.c:2936
> (sofia/internal/+919677080275) Callstate Change RINGING -> EARLY
> 2012-08-01 07:09:16.552637 [DEBUG] switch_channel.c:2978 Send signal
> rtmp/default/+542914850488 [BREAK]
> 2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2782 Adding tone spec
> 480,620 index 0 hits 1
> 2012-08-01 07:09:16.572648 [DEBUG] switch_core_media_bug.c:457 Attaching
> BUG
> to sofia/internal/+919677080275
> 2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2782 Adding tone spec
> 1776.7 index 1 hits 2
> 2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2877
> sofia/internal/+919677080275 bug already running
> 2012-08-01 07:09:16.572648 [DEBUG] switch_rtp.c:3205 Correct ip/port
> confirmed.
> 2012-08-01 07:09:16.572648 [DEBUG] switch_core_io.c:340 Setting BUG Codec
> PCMU:0
> 2012-08-01 07:09:33.072650 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:33.072650 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:33.092641 [DEBUG] sofia.c:5502 Channel
> sofia/internal/+919677080275 entering state [proceeding][183]
> 2012-08-01 07:09:33.092641 [DEBUG] sofia.c:5510 Duplicate SDP
> v=0
> o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
> s=SIP Media Capabilities
> c=IN IP4 65.115.130.14
> t=0 0
> m=audio 10382 RTP/AVP 0 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ptime:20
>
> 2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
> 2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:2853 Already using PCMU
> 2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
> payload to 101
> 2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:3141 Audio params are
> unchanged for sofia/internal/+919677080275.
> 2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:3151
> sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to
> 0
> 2012-08-01 07:09:36.372634 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:36.372634 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:36.392686 [DEBUG] sofia.c:5502 Channel
> sofia/internal/+919677080275 entering state [proceeding][183]
> 2012-08-01 07:09:36.392686 [DEBUG] sofia.c:5510 Duplicate SDP
> v=0
> o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
> s=SIP Media Capabilities
> c=IN IP4 65.115.130.14
> t=0 0
> m=audio 10382 RTP/AVP 0 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ptime:20
>
> 2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
> 2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:2853 Already using PCMU
> 2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
> payload to 101
> 2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:3141 Audio params are
> unchanged for sofia/internal/+919677080275.
> 2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:3151
> sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to
> 0
> 2012-08-01 07:09:38.512638 [DEBUG] libdingaling.c:1624 Sent keep alive
> signal
> 2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal
> sofia/internal/+919677080275 [BREAK]
> 2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5502 Channel
> sofia/internal/+919677080275 entering state [proceeding][183]
> 2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5510 Duplicate SDP
> v=0
> o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
> s=SIP Media Capabilities
> c=IN IP4 65.115.130.14
> t=0 0
> m=audio 10382 RTP/AVP 0 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ptime:20
>
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:2853 Already using PCMU
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
> payload to 101
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3141 Audio params are
> unchanged for sofia/internal/+919677080275.
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3151
> sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to
> 0
> 2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5502 Channel
> sofia/internal/+919677080275 entering state [proceeding][183]
> 2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5510 Duplicate SDP
> v=0
> o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14
> s=SIP Media Capabilities
> c=IN IP4 65.115.130.14
> t=0 0
> m=audio 10382 RTP/AVP 0 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ptime:20
>
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4798 Audio Codec Compare
> [PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:2853 Already using PCMU
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send
> payload to 101
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3141 Audio params are
> unchanged for sofia/internal/+919677080275.
> 2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3151
> sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to
> 0
> 2012-08-01 07:10:11.012635 [DEBUG] switch_core_codec.c:241
> rtmp/default/+542914850488 Restore previous codec SPEEX:99.
> 2012-08-01 07:10:11.012635 [DEBUG] switch_channel.c:2852
> (sofia/internal/+919677080275) Callstate Change EARLY -> HANGUP
> 2012-08-01 07:10:11.012635 [NOTICE] switch_ivr_originate.c:3182 Hangup
> sofia/internal/+919677080275 [CS_CONSUME_MEDIA] [NO_ANSWER]
>
>
> Thanks
> Ramesh
>
>
>
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-Auto-Retrying-a-call-for-3-times-if-it-is-not-answered-tp7581406.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/ef9f0402/attachment-0001.html
From philq at qsystemsengineering.com Thu Aug 2 20:35:04 2012
From: philq at qsystemsengineering.com (Phil Quesinberry)
Date: Thu, 02 Aug 2012 12:35:04 -0400
Subject: [Freeswitch-users] Conditional testing on caller_id_name
Message-ID: <016501cd70cc$c7e4c3b0$57ae4b10$@com>
Thanks Brian,
I think the lights just came on...
I think I finally see what's going on here. Looking through the wiki some
more, I came across the following:
"The XML Dialplan has the ability to test a number of conditions based upon
variables with expressions; however, it needs to be understood that some
variables may not be available for conditional testing until the first
transfer or execute_extension is performed."
When I do a conditional test such as the following:
the console output shows the ani instead of the CNAM in parentheses as
shown, and fails:
Dialplan: sofia/external/4105551212 at 140.239.xx.xx Regex (FAIL)
[currently_running] caller_id_name(4105551212) =~ /^Currently running a
lookup/ break=on-false
BUT when I ask for the variable as follows:
I get the expected value in the console output:
EXECUTE sofia/external/4105551212 at 140.239.xx.xx log(SMITH,JOHN)
2012-08-02 12:12:50.679592 [DEBUG] mod_dptools.c:1458 SMITH,JOHN
(the names and numbers have been changed to protect the clueless)
So just to be sure, is this in fact what's going on here? I learned
something today... now that I understand it, I can deal with it. By next
year I'm bound to comprehend things well enough to get something useful from
ClueCon.
Thanks!
The rest of the message that follows was written before I came across this
little tidbit of information but I'm keeping it in here for reference:
I have no idea how to use Perl in FS but after a bit of looking around it
appears that I would need to do something like:
Is that correct?
Better yet, is there any way to get to the CID name variable without having
to resort to Perl? Doing an 'info' in the dialplan during an incoming call
shows the following:
Caller-Caller-ID-Name: [JOHN SMITH]
How can I get to that data? 'caller_id_name' just seems to contain the
number instead of the CNAM info, which doesn't make any sense.
The wiki shows the following example to set a variable directly:
and this looks like
it might work, but I'd like to understand why the variables aren't already
set after the cidlookup is done in public.xml.
Phil Quesinberry
Q Systems Engineering, Inc.
Electronic Controls and Embedded Systems Development
(410) 969-8002
http://www.qsystemsengineering.com
----------
[Freeswitch-users] Setting effecting_caller_id_name
Brian West
Sat Jul 28 17:46:14 MSD 2012
Sounds like your doing openCNAM, check the cnam.cgi in tree, you should be
checking the response code and not the text returned. I built the wrapper
to clean up the input before I query because of this.
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH_Wire
T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST
iNUM: +883 5100 1286 0410
On Jul 27, 2012, at 10:06 AM, Ken Rice wrote:
Re: [Freeswitch-users] Setting effecting_caller_id_name This exmaple should
be correct provided that caller_id_name containts "Currently runnint a
lookup" with this pinned to that start of the field...
On that extension in your dialplan toss a
If your regex isnt matching on the caller_id_name field the above will show
you whats in there (along with every thing else too heh)
K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/514da112/attachment.html
From msc at freeswitch.org Thu Aug 2 20:42:21 2012
From: msc at freeswitch.org (Michael Collins)
Date: Thu, 2 Aug 2012 09:42:21 -0700
Subject: [Freeswitch-users] Conditional testing on caller_id_name
In-Reply-To: <016501cd70cc$c7e4c3b0$57ae4b10$@com>
References: <016501cd70cc$c7e4c3b0$57ae4b10$@com>
Message-ID:
Phil,
Perhaps you could try running the action inline? Change:
to:
And see what happens...
-Michael
On Thu, Aug 2, 2012 at 9:35 AM, Phil Quesinberry <
philq at qsystemsengineering.com> wrote:
> **
>
> Thanks Brian,
>
>
>
> I think the lights just came on...
>
>
>
> I think I finally see what?s going on here. Looking through the wikisome more,
> I came across the following:
>
> ?The XML Dialplan has the ability to test a number of conditions based
> upon variables with expressions; however, it needs to be understood that
> some variables may not be available for conditional testing until the first
> transfer or execute_extension is performed.?
>
>
>
> When I do a conditional test such as the following:
>
>
>
> the console output shows the ani instead of the CNAM in parentheses as shown,
> and fails:
>
> Dialplan: sofia/external/4105551212 at 140.239.xx.xx Regex (FAIL)
> [currently_running] caller_id_name(4105551212) =~ /^Currently running a
> lookup/ break=on-false
>
> BUT when I ask for the variable as follows:
>
>
>
> I get the expected value in the console output:
>
> EXECUTE sofia/external/4105551212 at 140.239.xx.xx log(SMITH,JOHN)
>
> 2012-08-02 12:12:50.679592 [DEBUG] mod_dptools.c:1458 SMITH,JOHN
>
> (the names and numbers have been changed to protect the clueless)
>
> So just to be sure, is this in fact what's going on here? I learned
> something today... now that I understand it, I can deal with it. By next
> year I'm bound to comprehend things well enough to get something useful
> from ClueCon.
>
> Thanks!
>
> The rest of the message that follows was written before I came across
> this little tidbit of information but I?m keeping it in here for reference:
>
>
>
>
>
> I have no idea how to use Perl in FS but after a bit of looking around it
> appears that I would need to do something like:
>
>
>
>
>
> Is that correct?
>
>
>
> Better yet, is there any way to get to the CID name variable without
> having to resort to Perl? Doing an ?info? in the dialplan during an
> incoming call shows the following:
>
> Caller-Caller-ID-Name: [JOHN SMITH]
>
>
>
> How can I get to that data? ?caller_id_name? just seems to contain the
> number instead of the CNAM info, which doesn?t make any sense.
>
>
>
> The wiki shows the following example to set a variable directly:
>
> data="cid_name=${cidlookup(${caller_id_number})}"/> and this looks like
> it might work, but I?d like to understand why the variables aren?t already
> set after the cidlookup is done in public.xml.
>
>
>
>
>
> Phil Quesinberry
>
> Q Systems Engineering, Inc.
>
> Electronic Controls and Embedded Systems Development
>
> (410) 969-8002
>
> *http://www.qsystemsengineering.co**m*
>
> ----------
>
>
>
> [Freeswitch-users] Setting effecting_caller_id_name
>
> Brian West
>
> Sat Jul 28 17:46:14 MSD 2012
>
>
>
> Sounds like your doing openCNAM, check the cnam.cgi in tree, you should be
>
> checking the response code and not the text returned. I built the wrapper
>
> to clean up the input before I query because of this.
>
>
>
> --
>
> Brian West
>
> brian at freeswitch.org
>
> FreeSWITCH Solutions, LLC
>
> PO BOX PO BOX 2531
>
> Brookfield, WI 53008-2531
>
> Twitter: @FreeSWITCH_Wire
>
> T: +1.213.286.0410 | F: +1.213.286.0401 | M: +1.918.424.WEST
>
> iNUM: +883 5100 1286 0410
>
>
>
> On Jul 27, 2012, at 10:06 AM, Ken Rice wrote:
>
>
>
> Re: [Freeswitch-users] Setting effecting_caller_id_name This exmaple should
>
> be correct provided that caller_id_name containts ?Currently runnint a
>
> lookup? with this pinned to that start of the field...
>
>
>
> On that extension in your dialplan toss a
>
>
>
> If your regex isnt matching on the caller_id_name field the above will show
>
> you whats in there (along with every thing else too heh)
>
>
>
> K
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120802/c119355d/attachment-0001.html
From avi at avimarcus.net Thu Aug 2 20:45:36 2012
From: avi at avimarcus.net (Avi Marcus)
Date: Thu, 2 Aug 2012 19:45:36 +0300
Subject: [Freeswitch-users] Conditional testing on caller_id_name
In-Reply-To: <016501cd70cc$c7e4c3b0$57ae4b10$@com>
References: <016501cd70cc$c7e4c3b0$57ae4b10$@com>
Message-ID:
Short snippet of info:
e.g. caller_id_number is from the
caller_profile