Re: [asterisk-users] Click2call from an OpenOffice document

2010-08-22 Thread Olivier
2010/8/20 Anthony Messina 

>
> perhaps we aren't exactly sure what you are trying to accomplish.

I'm quite sure about what I'm trying to accomplish but my english skills are
betraying me when explaining it.


>  what is
> your end goal?
>

The whole thing is to develop one feature which, for instance, is currently
bundled with Asterisk Desktop Assistant (see
http://blogs.digium.com/2008/12/22/asterisk-desktop-assistant-windows-click-to-call-and-more/
).

When you open a spreadsheet or document written by someone, your OpenOffice
would automatically detect whatever looks like a phone number (that comes
from the so-called SmartTags feature).
Then it would simply add a contextual menu to it.
Using this menu, you can dial the corresponding number.

Cheers
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Asterisk dialup connection?

2010-08-22 Thread hadi motamedi
Dear All
I need to offer dialup connection for my subscribers. When I put the codec
on G.711 the dialup connection will be successful but for the G.723 & G.729
it is not. Can you please let me know what are stuffs do I need to have
dialup connection when choosing G.723 & G.729 codecs?
Thank you
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread bruce bruce
Thanks guys. A lot of info here :-)

I am wondering if anyone followed this and it was working for them:

http://scribblej.com/svn/

???

I am not looking for anything fancy. The basic "yes", "no", dialing a
number, asking for agent, etc...out of which probably the hardest is a 10
digit number to be asked to be dialed.

Thanks


On Sun, Aug 22, 2010 at 2:30 AM, Nickolay V. Shmyrev
wrote:

> > Hi Everyone,
> >
> > Has anyone got any opensource speech recognition software to work with
> > Asterisk? Please only list WORKING ones. Not the "theoretically" should
> work
> > ones!
>
> Hi
>
> I definitely suggest you to try CMU Sphinx connector for Asterisk. You
> can find all required information here
>
> http://scribblej.com/svn/
>
> If you need any help with setup, just ask.
>
> --
> Nexiwave - Speech Indexing Solution For Call Centers
> http://nexiwave.com
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread Jeff Brower
Jeff-

> On Sun, 22 Aug 2010, David Backeberg wrote:
> 
> > On Sat, Aug 21, 2010 at 10:49 PM, Duncan Turnbull  
> > wrote:
> >> Voice recognition is a pain for people with accents and poor lines and when
> >
> > Everybody has an accent. Some people live in a place where the people
> > they talk to sound like themselves, so they forget that fact.
> >
> > Of course, this is a huge problem if you, for example, want to have an
> > English language voice recognition system that works across the
> > continental United States. Even for people who speak 'correct' or
> > 'common' English for their region, these systems aren't that great in
> > my experience. The bigger of a vocabulary you have, the worse trouble
> > you'll have, because these systems, again, in my experience, only know
> > synonyms or alternate regional words for the same thing if they were
> > programmed by somebody who thought of the synonyms / alternate words /
> > alternate legitimate pronunciations.
> >
> > Anybody with an imagination can think of plenty examples, for example,
> > from the United States:
> > * soda / pop / soft drink / beverage / drink / Coke / other trademarked 
> > names
> 
> Comes down to the designer - most of the systems I am used to using (like
> American Airlines system, which is quite good IMO) are focused on the
> basics - digits 0-9, yes/no, "agent", etc.  I don't think it is overly
> difficult to make this work even with varying accents, though UK folks
> used to saying "double naught" might have issues :)

In my opinion the AA system does not work well.  It fails if you:

  -use an accent, try southern US, German (your best
   Arnold impersonation), etc

  -speak too fast, hesitate, have other people talking
   in the background

  -induce false positives. For example if you say
   "Mississippi" for a flight number, it will give you
   flight info for some flight

I would suggest that in any system dependent on speech recognition, allow DTMF 
entry
as a backup.  The AA system doesn't do this, and probably that contributes to 
user
frustration.  You can say "agent", "help", etc many times before the system
understands you (or gives up trying to understand you) and actually transfers 
you to
an agent.  At that point, if you complain about the automated system, the first 
thing
they ask you is if you're on a mobile phone and if so you have to call from a 
quiet
place (i.e. not a car).

In the late 1980s AA was sued over DFW Airport signs that caused drivers to take
their eyes off the road in order to figure out gates.  They lost and had to pay
millions, so I can understand if disabling DTMF results from a desire to reduce 
legal
liability for people who would rather take their eyes off the road to tap keys. 
 But
I don't understand their inability to field a more robust speech recognition 
system.

In my opinion, state-of-the-art for speech recognition systems hasn't advanced 
much
since the early 1990s.

-Jeff

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread Gordon Henderson
On Sun, 22 Aug 2010, Doug Lytle wrote:

> David Backeberg wrote:
>>
>> Anybody with an imagination can think of plenty examples, for example,
>> from the United States:
>> * soda / pop / soft drink / beverage / drink / Coke / other trademarked names
>
> The differences can be major between two states, that between Michigan
> and Indiana.  I keep telling the people in our Indiana facility that
> there is no R in wash.

Try telling a Bristolian that there's no R is lager (largur) and that the 
UK name of WallMart is ASDA. not Asdul...

Gordon (Scottish, but spent some time in Bristol)
(See you, jimmy? j' ken whit am saying? Gert Lush innit :)

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread Jeff LaCoursiere


On Sun, 22 Aug 2010, Jason Aarons (US) wrote:

> I'm not aware of an open source speech product.
>
> Some great examples where speech recognition works well are 
> 1-800-USA-RAIL, Microsoft/Cisco corporate directory 425-882-8080 you can 
> say the employees name and be connected and those works great, 
> 1-800-Goog-411 also works well.  Windows 7 Speech Recognition, Dragon 
> Natually Speaking work pretty good. Vonage does a good enough job of 
> sending my home voicemails to my email in Speech to Text, I use this app 
> daily, rarely having to listen to actual voicemails.  What Speech-Text 
> doesn't convey is anger/happiness, etc.
>
>

Great story from a friend in a large unnamed corporation - an upper level 
mgr named "Jack Smith" got a call from a very angry customer.  He did his 
best to help him and in the end asked how he got transferred directly. 
The man said "the system asked me who I wanted to speak to and I said 
'JACK ASS'" and I got you!

j

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread Jeff LaCoursiere

On Sun, 22 Aug 2010, David Backeberg wrote:

> On Sat, Aug 21, 2010 at 10:49 PM, Duncan Turnbull  
> wrote:
>> Voice recognition is a pain for people with accents and poor lines and when
>
> Everybody has an accent. Some people live in a place where the people
> they talk to sound like themselves, so they forget that fact.
>
> Of course, this is a huge problem if you, for example, want to have an
> English language voice recognition system that works across the
> continental United States. Even for people who speak 'correct' or
> 'common' English for their region, these systems aren't that great in
> my experience. The bigger of a vocabulary you have, the worse trouble
> you'll have, because these systems, again, in my experience, only know
> synonyms or alternate regional words for the same thing if they were
> programmed by somebody who thought of the synonyms / alternate words /
> alternate legitimate pronunciations.
>
> Anybody with an imagination can think of plenty examples, for example,
> from the United States:
> * soda / pop / soft drink / beverage / drink / Coke / other trademarked names
>

Comes down to the designer - most of the systems I am used to using (like 
American Airlines system, which is quite good IMO) are focused on the 
basics - digits 0-9, yes/no, "agent", etc.  I don't think it is overly 
difficult to make this work even with varying accents, though UK folks 
used to saying "double naught" might have issues :)

j

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread Doug Lytle
David Backeberg wrote:
>
> Anybody with an imagination can think of plenty examples, for example,
> from the United States:
> * soda / pop / soft drink / beverage / drink / Coke / other trademarked names
>
>

The differences can be major between two states, that between Michigan 
and Indiana.  I keep telling the people in our Indiana facility that 
there is no R in wash.

Doug



-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety."


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread David Backeberg
On Sat, Aug 21, 2010 at 10:49 PM, Duncan Turnbull  wrote:
> Voice recognition is a pain for people with accents and poor lines and when

Everybody has an accent. Some people live in a place where the people
they talk to sound like themselves, so they forget that fact.

Of course, this is a huge problem if you, for example, want to have an
English language voice recognition system that works across the
continental United States. Even for people who speak 'correct' or
'common' English for their region, these systems aren't that great in
my experience. The bigger of a vocabulary you have, the worse trouble
you'll have, because these systems, again, in my experience, only know
synonyms or alternate regional words for the same thing if they were
programmed by somebody who thought of the synonyms / alternate words /
alternate legitimate pronunciations.

Anybody with an imagination can think of plenty examples, for example,
from the United States:
* soda / pop / soft drink / beverage / drink / Coke / other trademarked names

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] .call files with application/data are not generating correct CDR

2010-08-22 Thread Duncan Turnbull
You often don't get cdrs or at least useful ones unless you run the call files 
through a Local channel

You maybe already doing this

Can you check the Master.csv and see if it also is recorded incorrectly there. 
Is this just an issue with mysql cdrs or something else. In my setups which use 
freepbx I haven't had an issue with cdrs and call files if using Local channels 
to call

Cheers Duncan

On 23/08/2010, at 2:11 AM, Andy Beak wrote:

> Hi,
> 
> The exact problem that I'm experiencing is described at 
> http://www.spinics.net/lists/asterisk/msg122364.html in an earlier 
> posting to the mailing list, but I could find no replies to it.
> 
> I installed Asterisk using Ubuntu's apt-get and then fixed the mysql 
> conf (which doesn't load if you use the default apt-get install 
> asterisk-mysql) by building it from scratch.
> 
> I'm using Asterisk as an automated voice messaging system so need to be 
> able to dynamically make .call files which point to different mp3 files.
> 
> My calls are now being logged to the mysql database but even if I answer 
> a call it still logs as "Not Answered" with a duration of zero.
> 
> Setting unanswered to either yes or no makes no difference in cdr.conf - 
> the call is still logged as "Not Answered" if I pick it up.
> 
> Really the only way around this I can see is to check the lastapp field 
> instead of the disposition.
> 
> Lastapp is set to "Dial" if the call was really not answered and 
> "MP3Player" if the call was answered.
> 
> I see that there is a known bug in Asterisk and it is suggested to use 
> extension.conf to set up a context rather than using call files.  The 
> problem is that I need to be able to change the MP3 that is played.
> 
> Has anybody managed to solve this problem?
> 
> Thanks,
>  Andy
> 
> 
> 
> -- 
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>   http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] dial_exec_full problems with TDM400 - getting critical.

2010-08-22 Thread John Novack


Ira wrote:
> At 09:19 AM 8/22/2010, you wrote:
>
>> I thought you'd cracked it, I simply turned off all sip by removing
>> the sip.conf
>> but after a few more days it did the same.
>>
>> Any other suggestions?
>>  
> Not that it will be any help, but my previous Centos Box would never
> successfully run 1.4. Ran 1.2 for a few years no problem but every
> attempt to upgrade to 1.4 ended in dismal failure.
Very curious.  I have several 1.4 systems on CentOS with no issues, 
other than 1.4 versions that were released broken and then later fixed.
I have been able to do in place upgrades of both CentOS and Asterisk 
with no real issues.
I don't believe I ever moved from 1.2 to 1.4 on the same box though. I 
did have an issue with Zaptel and CentOS 3 after a certain Zaptel 
version, as it required a later make that wasn't available for CentOS 3 
( or at least I could never locate it )
all ancient history now, though.

Have yet to find a reason to move to 1.6, and will probably wait for a 
stable version of 1.8 some time in the future!

John Novack--

Dog is my Co-pilot


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] dial_exec_full problems with TDM400 - getting critical.

2010-08-22 Thread Ira
At 09:19 AM 8/22/2010, you wrote:
>I thought you'd cracked it, I simply turned off all sip by removing 
>the sip.conf
>but after a few more days it did the same.
>
>Any other suggestions?

Not that it will be any help, but my previous Centos Box would never 
successfully run 1.4. Ran 1.2 for a few years no problem but every 
attempt to upgrade to 1.4 ended in dismal failure. Never found the 
problem as it didn't matter for me. Built a new machine for the 
phones and went directly to 1.6 and never looked back. You might try 
a clean install of Centos 5 if that's a reasonable suggestion to 
make. Install it on a new drive and then you can get back to the 
working system in a couple of minutes.

Ira 


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread Jason Aarons (US)
I'm not aware of an open source speech product.

Some great examples where speech recognition works well are 1-800-USA-RAIL,  
Microsoft/Cisco corporate directory 425-882-8080 you can say the employees name 
and be connected and those works great,  1-800-Goog-411 also works well.  
Windows 7 Speech Recognition, Dragon Natually Speaking work pretty good. Vonage 
does a good enough job of sending my home voicemails to my email in Speech to 
Text, I use this app daily, rarely having to listen to actual voicemails.  What 
Speech-Text doesn't convey is anger/happiness, etc.


-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tilghman Lesher
Sent: Sunday, August 22, 2010 11:10 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Opensource Speech recognition for Asterisk

On Saturday 21 August 2010 17:21:30 Zeeshan Zakaria wrote:
> I yet have to see ANY working speech recognition software, free or not.
> This technology is nothing more than a joke so far, not practical at 
> any level. As for free, there is nothing decent.

Actually, speech recognition works fine across the board AS LONG AS you use a 
limited grammar set.  It's the arbitrary language speech recognition that needs 
to be trained to a particular voice.  However, arbitrary language isn't 
normally a common case for IVR systems, which need a limited set of responses 
in order to decide the proper branch in a decision tree.

--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: 
www.digium.com & www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-
Disclaimer:

This e-mail communication and any attachments may contain
confidential and privileged information and is for use by the
designated addressee(s) named above only.  If you are not the
intended addressee, you are hereby notified that you have received
this communication in error and that any use or reproduction of
this email or its contents is strictly prohibited and may be
unlawful.  If you have received this communication in error, please
notify us immediately by replying to this message and deleting it
from your computer. Thank you.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] dial_exec_full problems with TDM400 - getting critical.

2010-08-22 Thread Jason Morgan
Hi,

I thought you'd cracked it, I simply turned off all sip by removing the
sip.conf
but after a few more days it did the same.

I've set logging permanently on again.

Any other suggestions?

Cheers,
Jason.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com]on Behalf Of A J Stiles
Sent: 17 August 2010 10:36
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] dial_exec_full problems with TDM400


On Tuesday 17 Aug 2010, Jason Morgan wrote:
> Hi,
>
> I was running asterisk 1.4, but recently upgraded to 1.6 (for fax support)
> at the same
> time as moving from Ubuntu hardy to
>
> I have a single TDM400P rev I with two fxo and two fxs modules, these were
> working perfectly for years
> on Asterisk 1.4 using Zaptel drivers with Oslec.
>
> Now I've moved to 1.6 so I am using Dahdi.  Distribution is stock ubuntu
> package.
>
> After several hours (perhaps 24 or so, not nailed it down precisely)
> incoming
> calls are not answered and outgoing calls get dial_exec_full.
>
> Incoming calls are reported to either A:just ring and ring, or B:get an
> engaged tone.
>
> Strangely when this happens asterisk DOES see the incoming call in
> situation A, but fails
> to answer.
>
> What tests can I do to resolve this as it is very inconvenient as we are
> missing a lot of calls?

Have you got any extensions defined that aren't physically connected to
anything?

I replaced an ancient Asterisk version with a bang-up-to-date 1.6 version I
built myself, and was getting similar symptoms to what you describe.  It
seemed not to be freeing up channels it was trying to associate with
non-existent devices.

I made sure that every entry in sip.conf had a corresponding phone plugged
in
somewhere, then went through the dialplan and removed all references to
anything that wasn't mentioned in sip.conf.  (And there were a few.)  It
seems to have stayed up since then .

--
AJS

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Opensource Speech recognition for Asterisk

2010-08-22 Thread Tilghman Lesher
On Saturday 21 August 2010 17:21:30 Zeeshan Zakaria wrote:
> I yet have to see ANY working speech recognition software, free or not.
> This technology is nothing more than a joke so far, not practical at any
> level. As for free, there is nothing decent.

Actually, speech recognition works fine across the board AS LONG AS you use
a limited grammar set.  It's the arbitrary language speech recognition that
needs to be trained to a particular voice.  However, arbitrary language isn't
normally a common case for IVR systems, which need a limited set of responses
in order to decide the proper branch in a decision tree.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] .call files with application/data are not generating correct CDR

2010-08-22 Thread Andy Beak
Hi,

The exact problem that I'm experiencing is described at 
http://www.spinics.net/lists/asterisk/msg122364.html in an earlier 
posting to the mailing list, but I could find no replies to it.

I installed Asterisk using Ubuntu's apt-get and then fixed the mysql 
conf (which doesn't load if you use the default apt-get install 
asterisk-mysql) by building it from scratch.

I'm using Asterisk as an automated voice messaging system so need to be 
able to dynamically make .call files which point to different mp3 files.

My calls are now being logged to the mysql database but even if I answer 
a call it still logs as "Not Answered" with a duration of zero.

Setting unanswered to either yes or no makes no difference in cdr.conf - 
the call is still logged as "Not Answered" if I pick it up.

Really the only way around this I can see is to check the lastapp field 
instead of the disposition.

Lastapp is set to "Dial" if the call was really not answered and 
"MP3Player" if the call was answered.

I see that there is a known bug in Asterisk and it is suggested to use 
extension.conf to set up a context rather than using call files.  The 
problem is that I need to be able to change the MP3 that is played.

Has anybody managed to solve this problem?

Thanks,
  Andy



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Calling Line Identity - any ideas

2010-08-22 Thread Paddy Grice
Hi All
 
Thanks for the pointers - I now have a working solution using local channels
and for the few occasions this needs to happen, about 300 calls in the
20,000 we handle each day I am very happy.
 
Again thanks for you help
 
Paddy


  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Nasir Iqbal
Sent: 22 August 2010 05:23
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Calling Line Identity - any ideas


In simple words , Paddy should go  with my trick,  that is  what i got from
this reply  


Regards



On Sat, Aug 21, 2010 at 5:14 AM, Sherwood McGowan
 wrote:


Nasir Iqbal  wrote:

> With all honor and respect you deserve,  Do  I need your permission to
>  express my point of view  on community forum ?
> also it would be quiet helpful for us if you understand well
> the requirement of post

*snip*

Nasir,
You don't need my "permission" to post on a public forum...However,
neither do I, and I took issue with what you said, and found that your
comment about "those who are dealing with high load traffic"
offensive, since it made the assumption that I was just some new guy
who deals with hobby/small Asterisk systems and doesn't know what he's
talking aboutTherefore, I made it abundantly clear that I wasn't,
and that I definitely took issue with that statement.

However, I will say that yes, I did mis-take something the OP said...

Paddy:
Now, here's idea I came up with (haven't tested yet, too busy writing
a system for an international interpretation company's telecom needs)

First of all, you should have a separate context for outbound calls
made by internal extensions... so, in THAT context have code to set
the CID to what you wish (you can do logic control and if you're
feeling spiffy you can even lookup what CLID to use based on the
extension making the call).

Second, calls that are being passed from the outside world onto should
pass through a different context, performing pretty much the same
function...

Third, both of THOSE contexts should then pass to a third context that
performs the dialout using the multiple targets...


Let me know if that works...I know I can make this do what you want,
but I'm not trying to do all the work, just point you in a direction,
since I get paid to actually do the work ;-)


Cheers all, and remember, some of us have been doing this a while, and
get grumpy... ;-)

>> >>>  there's still no conceivable reason
>> >> What can be? except performance! (as asterisk has to create one
>> >> additional leg and bridge it) Which is very conceivable to those who
>> >> are dealing with high load traffic.
>> >> And what will be the option, if other outgoing call requires
>> >> different
>> >> custom CLI while using the same trunk?




>> >> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> >>   http://www.asterisk.org/hello
>> >>
>> >> asterisk-users mailing list
>> >> To UNSUBSCRIBE or update options visit:
>> >>   http://lists.digium.com/mailman/listinfo/asterisk-users
>> >>
>> >
>> > First, the reason is, why use a BAD IDEA when there's perfectly good
>> > solutions in front of the user There was no mention on this ONE
>> > call
>> > going outbound over the trunk needing a different CID...the request
>> > was as
>> > follows:
>> >
>> > Client needs to call an INTERNAL extension, where the INTERNAL
>> > CallerID will
>> > be used, and at the SAME TIME, a call to an EXTERNAL number (which
>> > would
>> > necessitate USING THEIR PROVIDER TRUNK), using the EXTERNAL
>> > CallerID
>> >
>> > Now, p-lease tell me how just configuring the damned trunk's
>> > outbound CID is
>> > NOT more sensible, efficient, and just friggin' COMMON SENSE TO START
>> > WITH...over using a Local channel call, which would require slightly
>> > more
>> > typing, and using something that I've almost NEVER found a good
>> > reason to
>> > use, and if you'd care to search the damn archives, you'll see that
>> > I was
>> > pushing upwards of 5k CONCURRENT CALLS back in 2005, WITH 1.4 Trunk
>> > and the
>> > RealTime addiiton (which was experimental)...
>> >
>> > For the love of whatever you find holy and good and true...don't
>> > come at me
>> > like that...I'm really not in the mood anymore...I put 3-4 solid
>> > years of
>> > helpjng newbies figure out why shit didn't work, reporting REAL bugs
>> > and
>> > issues to thew developers and even assisting with some of the
>> > fixesI
>> > feel entitled (yes, I know that's an asshole thing to say) to a little
>> > common respect
>> >
>> >
>> > Now...anyone for a pint? I'm off to vent some frustration with
>> > people who
>> > jump on the WRONG bandwagon and try to take over
>> >
>> > Sherwood Mother-F'in' McGowanb...
>> > Telecommunications and Tattooing
>> > You konw anyone else who combines those two professions? I'd like to
>> > buy
>> > that guy a drink!
>> >
>> >
>> >
>> > --
>> >