or, if you're not really using it, take the line ouf of your dialplan. It's just the example config that's using it. On Fri, Oct 14, 2011 at 10:30 AM, Steven Ayre <steveayre@gmail.com> wrote:
Try loading it anyway. If it doesn't load try loading mod_limit. One of the two will give you the app.
Usage of the app didn't change, just the module providing it so there should be no difference between switches using the old and new module.
mod_limit will be in newer releases, but as a dummy module that gives a Warning level message when you load it. If you see that message you're on a version that should have mod_hash.
-Steve
On 14 October 2011 13:40, Papineni, Suneel <SPapineni@enghouse.com> wrote:
Hi Steve,
I think mod_hash is not present in Freeswitch 1.0.5 ( Ichecked in default modules.conf file). Seems it has mod_limit (which is removed in later releases).
Thanks & Regards
Suneel
From: Steven Ayre [mailto:steveayre@gmail.com] Sent: 14 October 2011 11:09 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Invalid Application Hash
You need to load mod_hash in modules.conf.xml
Steve on iPhone
On 14 Oct 2011, at 10:08, "Papineni, Suneel" <SPapineni@enghouse.com> wrote:
Hi,
Before sending this request, I searched the forum for similar posts and found some solutions for recent versions of Freeswitch. Unfortunately one of my servers is using Freswitch 1.0.5. In this, I am trying to make a call using “originate sofia/external/01183035887@135.xxx.xxx.xxx 9999” command at console. This is giving an error “Invalid Application hash” and FS is sending CANCEL.
Is there any way to resolve this issue other than upgrading to the latest version of Freeswitch (I am going to upgrade in coming weeks, but I need to test a specific scenario now on existing system).
Thanks & Regards
Suneel
Here is the log for reference…
2011-10-13 16:59:34.341952 [DEBUG] sofia.c:4158 Channel sofia/external/01183035887@135.196.132.200 entering state [ready][200]
2011-10-13 16:59:34.341952 [DEBUG] sofia_glue.c:3579 Audio Codec Compare [PCMU:0:8000:20]/[PCMU:0:8000:20]
2011-10-13 16:59:34.341952 [DEBUG] sofia_glue.c:2354 Set Codec sofia/external/01183035887@135.196.132.200 PCMU/8000 20 ms 160 samples
2011-10-13 16:59:34.341952 [DEBUG] sofia_glue.c:3512 Set 2833 dtmf recv payload to 0
2011-10-13 16:59:34.341952 [DEBUG] sofia_glue.c:2594 AUDIO RTP [sofia/external/01183035887@135.196.132.200] 192.168.20.240 port 25744 -> 135.196.145.145 port 54206 codec: 0 ms: 20
2011-10-13 16:59:34.341952 [DEBUG] switch_rtp.c:1182 Starting timer [soft] 160 bytes per 20ms
2011-10-13 16:59:34.341952 [NOTICE] sofia.c:4738 Channel [sofia/external/01183035887@135.196.132.200] has been answered
2011-10-13 16:59:34.341952 [DEBUG] switch_ivr_originate.c:3148 Originate Resulted in Success: [sofia/external/01183035887@135.196.132.200]
2011-10-13 16:59:34.341952 [DEBUG] switch_ivr.c:1441 (sofia/external/01183035887@135.196.132.200) State Change CS_CONSUME_MEDIA -> CS_ROUTING
2011-10-13 16:59:34.341952 [DEBUG] switch_core_session.c:1018 Send signal sofia/external/01183035887@135.196.132.200 [BREAK]
2011-10-13 16:59:34.341952 [DEBUG] switch_core_session.c:638 Send signal sofia/external/01183035887@135.196.132.200 [BREAK]
2011-10-13 16:59:34.341952 [NOTICE] switch_ivr.c:1447 Transfer sofia/external/01183035887@135.196.132.200 to XML[9999@default]
2011-10-13 16:59:34.341952 [DEBUG] switch_core_state_machine.c:314 (sofia/external/01183035887@135.196.132.200) Running State Change CS_ROUTING
2011-10-13 16:59:34.341952 [DEBUG] switch_core_state_machine.c:341 (sofia/external/01183035887@135.196.132.200) State ROUTING
2011-10-13 16:59:34.341952 [DEBUG] mod_sofia.c:141 sofia/external/01183035887@135.196.132.200 SOFIA ROUTING
2011-10-13 16:59:34.341952 [DEBUG] switch_core_state_machine.c:77 sofia/external/01183035887@135.196.132.200 Standard ROUTING
2011-10-13 16:59:34.341952 [INFO] mod_dialplan_xml.c:418 Processing ->9999 in context default
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->unloop] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->tod_example] continue=true
Dialplan: day of week[5] =~ 2-6 (PASS)
Dialplan: hour[16] =~ 9-18 (PASS)
Dialplan: sofia/external/01183035887@135.196.132.200 Date/Time Match (PASS) [tod_example] break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 Action set(open=true)
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->holiday_example] continue=true
Dialplan: month[10] =~ 1 (FAIL)
Dialplan: sofia/external/01183035887@135.196.132.200 Date/Time Match (FAIL) [holiday_example] break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->global-intercept] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [global-intercept] destination_number(9999) =~ /^886$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->group-intercept] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [group-intercept] destination_number(9999) =~ /^\*8$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->intercept-ext] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [intercept-ext] destination_number(9999) =~ /^\*\*(\d+)$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->redial] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [redial] destination_number(9999) =~ /^870$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->global] continue=true
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [global] ${sip_has_crypto}() =~ /^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$/ break=never
Dialplan: sofia/external/01183035887@135.196.132.200 Absolute Condition [global]
Dialplan: sofia/external/01183035887@135.196.132.200 Action hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid})
Dialplan: sofia/external/01183035887@135.196.132.200 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/external/01183035887@135.196.132.200 Action hash(insert/${domain_name}-last_dial/global/${uuid})
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->snom-demo-2] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [snom-demo-2] destination_number(9999) =~ /^9001$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->snom-demo-1] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [snom-demo-1] destination_number(9999) =~ /^9000$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->eavesdrop] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [eavesdrop] destination_number(9999) =~ /^88(.*)$|^\*0(.*)$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->eavesdrop] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [eavesdrop] destination_number(9999) =~ /^779$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->call_return] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [call_return] destination_number(9999) =~ /^\*69$|^869$|^lcr$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->del-group] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [del-group] destination_number(9999) =~ /^80(\d{2})$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->add-group] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [add-group] destination_number(9999) =~ /^81(\d{2})$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->call-group-simo] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [call-group-simo] destination_number(9999) =~ /^82(\d{2})$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->call-group-order] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [call-group-order] destination_number(9999) =~ /^83(\d{2})$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->extension-intercom] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [extension-intercom] destination_number(9999) =~ /^8(10[01][0-9])$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->Local_Extension] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [Local_Extension] destination_number(9999) =~ /^(10[01][0-9])$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->group_dial_sales] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [group_dial_sales] destination_number(9999) =~ /^2000$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->group_dial_support] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [group_dial_support] destination_number(9999) =~ /^2001$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->group_dial_billing] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [group_dial_billing] destination_number(9999) =~ /^2002$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->operator] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [operator] destination_number(9999) =~ /^(operator|0)$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->vmain] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [vmain] destination_number(9999) =~ /^vmain$|^4000$|^\*98$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->sip_uri] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [sip_uri] destination_number(9999) =~ /^sip:(.*)$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->nb_conferences] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [nb_conferences] destination_number(9999) =~ /^(30\d{2})$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->wb_conferences] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [wb_conferences] destination_number(9999) =~ /^(31\d{2})$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->uwb_conferences] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [uwb_conferences] destination_number(9999) =~ /^(32\d{2})$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->cdquality_conferences] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [cdquality_conferences] destination_number(9999) =~ /^(33\d{2})$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->freeswitch_public_conf_via_sip] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [freeswitch_public_conf_via_sip] destination_number(9999) =~ /^9(888|1616|3232)$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->mad_boss_intercom] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [mad_boss_intercom] destination_number(9999) =~ /^0911$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->mad_boss_intercom] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [mad_boss_intercom] destination_number(9999) =~ /^0912$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->mad_boss] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [mad_boss] destination_number(9999) =~ /^0913$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->ivr_demo] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [ivr_demo] destination_number(9999) =~ /^5000$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->dynamic_conference] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [dynamic_conference] destination_number(9999) =~ /^5001$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->rtp_multicast_page] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [rtp_multicast_page] destination_number(9999) =~ /^pagegroup$|^7243$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->park] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [park] destination_number(9999) =~ /^5900$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->unpark] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [unpark] destination_number(9999) =~ /^5901$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->valet_park] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [valet_park] destination_number(9999) =~ /^(6000)$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->valet_park] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [valet_park] destination_number(9999) =~ /^(60\d[1-9])$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->park] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [park] source(..\..\src\switch_ivr_originate.c) =~ /mod_sofia/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->unpark] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [unpark] source(..\..\src\switch_ivr_originate.c) =~ /mod_sofia/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->park] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [park] source(..\..\src\switch_ivr_originate.c) =~ /mod_sofia/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->unpark] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [unpark] source(..\..\src\switch_ivr_originate.c) =~ /mod_sofia/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->wait] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [wait] destination_number(9999) =~ /^wait$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->fax_receive] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [fax_receive] destination_number(9999) =~ /^9978$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->fax_transmit] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [fax_transmit] destination_number(9999) =~ /^9979$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->ringback_180] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [ringback_180] destination_number(9999) =~ /^9980$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->ringback_183_uk_ring] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [ringback_183_uk_ring] destination_number(9999) =~ /^9981$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->ringback_183_music_ring] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [ringback_183_music_ring] destination_number(9999) =~ /^9982$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->ringback_post_answer_uk_ring] continue=false
Dialplan: sofia/external/01183035887@135.196.132.200 Regex (FAIL) [ringback_post_answer_uk_ring] destination_number(9999) =~ /^9983$/ break=on-false
Dialplan: sofia/external/01183035887@135.196.132.200 parsing [default->ringback_post_answer_music] continue=false
Dialplan:
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900