[Freeswitch-users] Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]

Michael Jerris mike at jerris.com
Thu Feb 9 20:16:32 MSK 2017


it appears from this that you are attempting to call a user who is not registered:

<action application="bridge" data="{absolute_codec_string='PCMU'}user/${dialed_number}@${domain_name}"/>

it should then continue on in the dial plan after this.  Why would you use loopback to get to voicemail instead of just calling the voicemail app directly?  It should work but seems unnecessary.


> On Feb 9, 2017, at 10:13 AM, Michael Nielsen <mic.niel84 at gmail.com> wrote:
> 
> I'm trying to create a voicemail, but are getting error due to:
> 
> EXECUTE sofia/internal/4412345678 at sip.nexmo.com <mailto:4412345678 at sip.nexmo.com> bridge({absolute_codec_string='PCMU'}user/4487654321 at my-domain.com <mailto:4487654321 at my-domain.com>)
> 2017-02-09 14:44:33.887109 [DEBUG] switch_ivr_originate.c:2138 Parsing global variables
> 2017-02-09 14:44:33.887109 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f047c0262f0 Connected.
> 2017-02-09 14:44:33.887109 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f047c0262f0 released.
> 2017-02-09 14:44:33.887109 [DEBUG] switch_ivr_originate.c:2138 Parsing global variables
> 2017-02-09 14:44:33.887109 [NOTICE] switch_ivr_originate.c:2841 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
> 2017-02-09 14:44:33.887109 [DEBUG] switch_ivr_originate.c:3829 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
> 2017-02-09 14:44:33.887109 [NOTICE] switch_ivr_originate.c:2841 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
> 2017-02-09 14:44:33.887109 [DEBUG] switch_ivr_originate.c:3829 Originate Resulted in Error Cause: 606 [USER_NOT_REGISTERED]
> 2017-02-09 14:44:33.887109 [INFO] mod_dptools.c:3409 Originate Failed.  Cause: USER_NOT_REGISTERED
> 
> My dial plan is as follows:
> 
>     <condition field="${user_exists}" expression="^true$" break="never">
>       <action application="set" data="call_timeout=20"/>
>       <action application="set" data="hangup_after_bridge=true"/>
>       <action application="set" data="continue_on_fail=true"/>
>       <action application="bridge" data="{absolute_codec_string='PCMU'}user/${dialed_number}@${domain_name}"/>
>       <action application="answer"/>
>       <action application="sleep" data="1000"/>
>       <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_number}"/>
>     </condition>
> 
> So I guess the user should not be registered, as it is for voicemail.
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170209/7e6d5fe6/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list