[Freeswitch-users] Invalid Application hash

Steven Ayre steveayre at gmail.com
Mon Oct 25 03:43:31 PDT 2010


This is on the FAQ...
http://wiki.freeswitch.org/wiki/FreeSwitch_FAQ#Q:_Why_do_I_get_the_error_.22Invalid_Application_.3Cname.3E.22.3F

Are you upgrading and using an older config?

Limit handling was changed (quite a while ago now). mod_limit no
longer exists, it's been moved into the core and modules now provide
storage backends for it. The mod_limit module that now exists is more
of a stub really, and will log an error on startup telling you that
you need to update your config.

If you were loading mod_limit before, you should now load mod_hash and
mod_db. They should be built by default with latest git and loaded by
the example config, so I assume you're using an old config file.

Check conf/autoload_configs/modules.conf.xml contains:
<load module="mod_hash"/>

Regards,
-Steve


On 25 October 2010 09:58, David Wafula <davidwaf at gmail.com> wrote:
> Hi all,
> Notice the last line in the log below when i dial 1001. This is from the
> latest git as of this morning. Any pointers?
> thanks.
>
> Dialplan: sofia/internal/1000 at 146.141.76.153 Regex (PASS) [Local_Extension]
> destination_number(1001) =~ /^(10[01][0-9])$/ break=on-false
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> set(dialed_extension=1001)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> export(dialed_extension=1001)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action bind_meta_app(1 b s
> execute_extension::dx XML features)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action bind_meta_app(2 b s
> record_session::/usr/local/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action bind_meta_app(3 b s
> execute_extension::cf XML features)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action set(ringback=${us-ring})
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> set(transfer_ringback=local_stream://moh)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action set(call_timeout=30)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> set(hangup_after_bridge=true)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> set(continue_on_fail=true)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number})
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid})
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> set(called_party_callgroup=${user_data(${dialed_extension}@${domain_name}
> var callgroup)})
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> hash(insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid})
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action
> bridge(user/${dialed_extension}@${domain_name})
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action answer()
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action sleep(1000)
> Dialplan: sofia/internal/1000 at 146.141.76.153 Action voicemail(default
> ${domain_name} ${dialed_extension})
> 2010-10-25 10:47:47.193206 [DEBUG] switch_core_state_machine.c:119
> (sofia/internal/1000 at 146.141.76.153) State Change CS_ROUTING -> CS_EXECUTE
> 2010-10-25 10:47:47.193206 [DEBUG] switch_core_session.c:1057 Send signal
> sofia/internal/1000 at 146.141.76.153 [BREAK]
> 2010-10-25 10:47:47.193206 [DEBUG] switch_core_state_machine.c:345
> (sofia/internal/1000 at 146.141.76.153) State ROUTING going to sleep
> 2010-10-25 10:47:47.193206 [DEBUG] switch_core_state_machine.c:318
> (sofia/internal/1000 at 146.141.76.153) Running State Change CS_EXECUTE
> 2010-10-25 10:47:47.193206 [DEBUG] switch_core_state_machine.c:352
> (sofia/internal/1000 at 146.141.76.153) State EXECUTE
> 2010-10-25 10:47:47.193206 [DEBUG] mod_sofia.c:239
> sofia/internal/1000 at 146.141.76.153 SOFIA EXECUTE
> 2010-10-25 10:47:47.193206 [DEBUG] switch_core_state_machine.c:157
> sofia/internal/1000 at 146.141.76.153 Standard EXECUTE
> EXECUTE sofia/internal/1000 at 146.141.76.153 set(open=true)
> 2010-10-25 10:47:47.193206 [DEBUG] mod_dptools.c:1028
> sofia/internal/1000 at 146.141.76.153 SET [open]=[true]
> 2010-10-25 10:47:47.193206 [ERR] switch_core_session.c:1807 Invalid
> Application hash
>
>
> --
> David Wafula
>
> _______________________________________________
> 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
>
>



More information about the FreeSWITCH-users mailing list