[Freeswitch-users] Extension name from dialplan
Archana Venugopan
a.venugopan at mundio.com
Fri Mar 1 18:53:48 MSK 2013
Hi,
If I call 2003 from my mobile, its not passing through the 'voicemail1' part alone that I have set in default.xml but its checking other <extension> in default.xml. Whereas if i call from my desk phone its recognising. I have been digging threw and I could not get a single clue. Can anyone please point me out why its not picking for mobiles.
<!-- Voicemail -->
<extension name="voicemail1">
<condition field="${svc_application}" expression="^voicemail1$">
<action application="info"/>
<action application="answer"/>
<action application="start_dtmf"/>
<action application="sleep" data="1000"/>
<action application="javascript" data="vect/ivr_in.js ${user_name} ${domain_name}"/>
</condition>
</extension>
<Mobile logs>
EXECUTE sofia/mo-internal/447892140242 at 10.31.1.117 lua(num_lookup.lua 2003 vect.uk01.net)
2013-03-01 15:38:14.169265 [CRIT] switch_cpp.cpp:1227 num_lookup.lua SELECT dir_users.*, domain_name, prefix FROM dir_users INNER JOIN dir_domains ON (domain_id=dir_domains.id) WHERE (user_id='2003' AND domain_name='vect.uk01.net') OR msisdn='2003'
2013-03-01 15:38:14.169265 [DEBUG] switch_cpp.cpp:1007 sofia/mo-internal/447892140242 at 10.31.1.117 destroy/unlink session from object
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 parsing [mo-internal-default->uk01_extension] continue=false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 Regex (FAIL) [uk01_extension] ${svc_type}(app) =~ /^extn$/ break=on-false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 parsing [mo-internal-default->voicemail] continue=false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 Regex (FAIL) [voicemail] ${svc_application}(voicemail1) =~ /^voicemail$/ break=on-false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 parsing [mo-internal-default->conference] continue=false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 Regex (FAIL) [conference] ${svc_application}(voicemail1) =~ /^conference$/ break=on-false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 parsing [mo-internal-default->group_dial] continue=false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 Regex (FAIL) [group_dial] ${svc_application}(voicemail1) =~ /^group_call$/ break=on-false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 parsing [mo-internal-default->park] continue=false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 Regex (FAIL) [park] destination_number(2003) =~ /^\*56([1-9])$/ break=on-false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 parsing [mo-internal-default->unpark] continue=false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 Regex (FAIL) [unpark] destination_number(2003) =~ /^#56([1-9])$/ break=on-false
Dialplan: sofia/mo-internal/447892140242 at 10.31.1.117 parsing [mo-internal-default->group_pickup] continue=false
<Desk logs>
Dialplan: sofia/internal/250 at vect.uk01.net Action lua(num_lookup.lua 2003 ${domain_name}) INLINE
EXECUTE sofia/internal/250 at vect.uk01.net lua(num_lookup.lua 2003 vect.uk01.net)
2013-03-01 15:42:55.089237 [CRIT] switch_cpp.cpp:1227 num_lookup.lua SELECT dir_users.*, domain_name, prefix FROM dir_users INNER JOIN dir_domains ON (domain_id=dir_domains.id) WHERE (user_id='2003' AND domain_name='vect.uk01.net') OR msisdn='2003'
2013-03-01 15:42:55.099248 [DEBUG] switch_cpp.cpp:1007 sofia/internal/250 at vect.uk01.net destroy/unlink session from object
Dialplan: sofia/internal/250 at vect.uk01.net parsing [default->uk01_extension] continue=false
Dialplan: sofia/internal/250 at vect.uk01.net Regex (FAIL) [uk01_extension] ${svc_type}(app) =~ /^extn$/ break=on-false
Dialplan: sofia/internal/250 at vect.uk01.net parsing [default->voicemail] continue=false
Dialplan: sofia/internal/250 at vect.uk01.net Regex (FAIL) [voicemail] ${svc_application}(voicemail1) =~ /^voicemail$/ break=on-false
Dialplan: sofia/internal/250 at vect.uk01.net parsing [default->voicemail1] continue=false
Dialplan: sofia/internal/250 at vect.uk01.net Regex (PASS) [voicemail1] ${svc_application}(voicemail1) =~ /^voicemail1$/ break=on-false
Dialplan: sofia/internal/250 at vect.uk01.net Action info()
Dialplan: sofia/internal/250 at vect.uk01.net Action answer()
Dialplan: sofia/internal/250 at vect.uk01.net Action start_dtmf()
Dialplan: sofia/internal/250 at vect.uk01.net Action sleep(1000)
Dialplan: sofia/internal/250 at vect.uk01.net Action javascript(vect/ivr_in.js ${user_name} ${domain_name})
Many Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130301/e6f0962e/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list