[Freeswitch-users] Could not locate channel type sofia

Peter Olsson peter.olsson at visionutveckling.se
Fri Oct 5 10:23:21 MSD 2012


Maybe you have somthing wrong in the actual dial string. There is a lot of whitespaces that shouldn't be there...

/Peter

5 okt 2012 kl. 04:10 skrev "Lloyd Aloysius" <lloyd.aloysius at gmail.com<mailto:lloyd.aloysius at gmail.com>>:

FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z)

I have trouble dialing between users. is this a bug?

Dial plan

<document type="freeswitch/xml">
<section name="dialplan" description="FreeSWITCH Dialplan">
<context name="5ele.mydomain.ca<http://5ele.mydomain.ca>">
<extension name="Local_Extension">
<condition field="destination_number" expression="^(24)$">
<action application="set" data="dialed_extension=$1"/>
<action application="export" data="dialed_extension=$1"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="set" data="call_timeout=30"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="{sip_invite_domain=5ele.mydomain.ca<http://5ele.mydomain.ca>}user/dick at 5ele.mydomain.ca<mailto:dick at 5ele.mydomain.ca>"/>
</condition>
</extension>
</context>
</section>


Error...

2012-10-04 21:57:31.143580 [DEBUG] switch_core_state_machine.c:209 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> Standard EXECUTE
EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> set(dialed_extension=24)
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> SET [dialed_extension]=[24]
EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> export(dialed_extension=24)
2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1118 EXPORT (export_vars) [dialed_extension]=[24]
EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> set(ringback=%(2000,4000,440,480))
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> SET [ringback]=[%(2000,4000,440,480)]
EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> set(call_timeout=30)
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> SET [call_timeout]=[30]
EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> set(hangup_after_bridge=true)
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> SET [hangup_after_bridge]=[true]
EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> set(continue_on_fail=true)
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> SET [continue_on_fail]=[true]
EXECUTE sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> bridge({sip_invite_domain=5ele.mydomain.ca<http://5ele.mydomain.ca>}user/dick at 5ele.mydomain.ca<mailto:dick at 5ele.mydomain.ca>)
2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1072 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> EXPORTING[export_vars] [dialed_extension]=[24] to event
2012-10-04 21:57:31.143580 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables
2012-10-04 21:57:31.143580 [DEBUG] switch_event.c:1569 Parsing variable [sip_invite_domain]=[5ele.mydomain.ca<http://5ele.mydomain.ca>]
2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:1072 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> EXPORTING[export_vars] [dialed_extension]=[24] to event
2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables
2012-10-04 21:57:31.163577 [DEBUG] switch_event.c:1569 Parsing variable [presence_id]=[dick at 5ele.mydomain.ca<mailto:dick at 5ele.mydomain.ca>]
2012-10-04 21:57:31.163577 [ERR] switch_core_session.c:408 Could not locate channel type        sofia
2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot create outgoing channel of type [        sofia] cause: [CHAN_NOT_IMPLEMENTED]
2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]
2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot create outgoing channel of type [user] cause: [CHAN_NOT_IMPLEMENTED]
2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]
2012-10-04 21:57:31.163577 [INFO] mod_dptools.c:3027 Originate Failed.  Cause: CHAN_NOT_IMPLEMENTED
2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:262 sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> has executed the last dialplan instruction, hanging up.
2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2950 (sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca>) Callstate Change RINGING -> HANGUP
2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> [CS_EXECUTE] [NORMAL_CLEARING]
2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2973 Send signal sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> [KILL]
2012-10-04 21:57:31.163577 [DEBUG] switch_core_session.c:1210 Send signal sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca> [BREAK]
2012-10-04 21:57:31.163577 [DEBUG] switch_core_state_machine.c:453 (sofia/sipinterface_1/klaus at 5ele.mydomain.ca<mailto:klaus at 5ele.mydomain.ca>) State EXECUTE going to sleep
!DSPAM:506e3ddf32766169113633!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org


!DSPAM:506e3ddf32766169113633!



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list