[asterisk-users] Echo() app doesn't work

Tzafrir Cohen
Sat, 02 Feb 2008 03:13:42 -0000

On Fri, Feb 01, 2008 at 05:01:56PM -0800, Yassen Damyanov
wrote:
> Hello list,
>
> New to asterisk and to the list (although experienced in Unix/Linux
> administration).
>
> Short problem description:
> --------------------------
> I cannot get the Echo() application to run on any 32bit platform I can get
my
> hands on. In contrast, the only 64-bit (amd64 aka x86_64) setup that I have
> runs just fine. In all cases asterisk log shows the same -- that Echo() is
> executed
>
> Details:
> --------
> A. Platforms:
>
> -- AsteriskNOW 0.6 beta 32bit, updated;
>
> -- Debian Etch 32bit with stock kernel and native debian-packaged asterisk
1.2
>
> -- Debian Etch 32bit with custom compiled kernel ("Timer
frequency" 1000 Hz and
> couple more tweaks) and latest stable asterisk (1.4.17) compiled from
source
>
> -- Ubuntiu 7.10 Server with native ubuntu packages (1.4.10)
>
> -- xUbuntu 7.10 Desktop on x86_64 (=amd64) with native ubuntu packages
(1.4.10)
>
> Echo() works only on the 64-bit setup. Does not work for all other cases.
>
> The Playback() app works fine in *all* cases.
>
> (The microphone is tested and works fine, so it's not that simple!)
>
> For some of the setups I established two separate extensions and they could
> talk to each other (so important things work, yes).
>
> The logs show the same, that is, just what would be normal:
>
> -----cut here-----------------------------------
> Asterisk Ready.
> *CLI>     -- Registered IAX2 'yassen' (UNAUTHENTICATED) at
192.168.2.3:4569
>     -- Accepting UNAUTHENTICATED call from 192.168.2.3:
>        > requested format = gsm,
>        > requested prefs = (),
>        > actual format = gsm,
>        > host prefs = (),
>        > priority = mine
>     -- Executing [500 at phones:1] Verbose("IAX2/yassen-2",
"1|Echo test
> application") in new stack
>  Echo test application
>     -- Executing [500 at phones:2] Echo("IAX2/yassen-2",
"") in new stack
>   == Spawn extension (phones, 500, 2) exited non-zero on
'IAX2/yassen-2'
>     -- Hungup 'IAX2/yassen-2'
> -----cut here-----------------------------------

On which platform is that? Echo is executed, and exists without an
error.

>
> My extentions.conf:
> -----cut here-----------------------------------
> [globals]
>
> [general]
>
> [default]
> exten => s,1,Verbose(1|Unrouted call handler)
> exten => s,n,Answer()
> exten => s,n,Wait(1)
> exten => s,n,Playback(tt-weasels)
> exten => s,n,Hangup()
>
> [outgoing_calls]
>
> [incoming_calls]
>
> [internal]
> exten => 500,1,Verbose(1|Echo test application)
> exten => 500,n,Echo()
> exten => 500,n,Hangup()
>
> exten => 501,1,Verbose(1|Playback test application)
> exten => 501,n,Playback(vm-review)
> exten => 501,n,Wait(1)
> exten => 501,n,Hangup()
>
> [phones]
> include => internal
> -----cut here-----------------------------------
>
> My iax.conf:
> -----cut here-----------------------------------
> [general]
> bandwidth=low
> disallow=lpc10
> jitterbuffer=no
> forcejitterbuffer=no
> autokill=yes
>
> [yassen]
> type=friend
> host=dynamic
> context=phones
> -----cut here-----------------------------------
>
> Anyone having a suggestion what might be the reason for the nonworking
Echo() ?
>  I am really stuck; Google could not really help. Any ideas would be highly
> appreciated!
>
> Thanks in advance,
> Yassen
>
> --
>
> Yassen Damyanov
> Adelie Ltd.
>
>
>
____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

--
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir