[Freeswitch-users] kamailio freeswitch SBC

Bote Man bote_radio at botecomm.com
Tue Jan 19 10:14:35 MSK 2016


The log is telling you that FreeSWITCH is looking in the dialplan that
contains the context named "public" (this is the external.xml dialplan in
the vanilla configuration) and can not find a match for "7632689993".

 

Since the log is also SCREAMING at you to change the default password in
vars.xml I can assume that you have not modified any other configuration
files, which is why the call fails. At the very least, add a dialplan
extension that matches 7632689993, but PLEASE review the comments in the
dialplan and the documentation on Confluence to avoid exposing your switch
to toll fraud.

 

The directory allows devices to register with FreeSWITCH, the dialplan
routes calls.

 

https://freeswitch.org/confluence/display/FREESWITCH/Dialplan

 

Hope this helps.

 

 

---

Bote

 

FreeSWITCH Docs Janitor

http://freeswitch.org/confluence

 

 

 

 

From: malik sherif
Sent: Monday, 18 January, 2016 18:13
Subject: [Freeswitch-users] kamailio freeswitch SBC

 

Hello,

I integrated kamailio and freeswitch using the links at the bottom of the
page, however, the call rejected and goes to voicemail and freeswitch
generated the following messages especially I am puzzled by the following
errors

2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup
sofia/internal/7632689993 at 10.22.52.2 [CS_ROUTING] [UNALLOCATED_NUMBER]
2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed.
Cause: UNALLOCATED_NUMBER



Can freeswitch use domain name since kamailio sent invite with domain but
freeswitch with IP address? I am not sure if this is the issue. I looked my
extensions and it looks OK but I might be wrong.

Thank you again for your help

Abdul


############################################################################
################################################################

2016-01-13 05:37:29.572184 [NOTICE] switch_channel.c:1055 New Channel
sofia/internal/7632689991 at AbdulKamailioSIP.com
[e945266d-8eec-4c0e-80b4-b306f43e18df]
2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing
7632689991 <7632689991>->kb-7632689993 in context public
2016-01-13 05:37:29.572184 [NOTICE] switch_ivr.c:1861 Transfer
sofia/internal/7632689991 at AbdulKamailioSIP.com to XML[kb-7632689993 at default]
2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing
7632689991 <7632689991>->kb-7632689993 in context default
2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING
WARNING WARNING WARNING WARNING WARNING WARNING
2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Open
/usr/local/freeswitch/conf/vars.xml and change the default_password.
2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Once changed type
'reloadxml' at the console.
2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING
WARNING WARNING WARNING WARNING WARNING WARNING
2016-01-13 05:37:39.632245 [NOTICE] switch_channel.c:1055 New Channel
sofia/internal/7632689993 at 10.22.52.2 [d52b6ef9-c4f6-4edf-aff9-8a8da3761788]
2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup
sofia/internal/7632689993 at 10.22.52.2 [CS_ROUTING] [UNALLOCATED_NUMBER]
2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed.
Cause: UNALLOCATED_NUMBER
2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1641 Session 12
(sofia/internal/7632689993 at 10.22.52.2) Ended
2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1645 Close Channel
sofia/internal/7632689993 at 10.22.52.2 [CS_DESTROY]
2016-01-13 05:37:39.632245 [NOTICE] sofia_media.c:92 Pre-Answer
sofia/internal/7632689991 at AbdulKamailioSIP.com!
2016-01-13 05:37:39.653182 [NOTICE] mod_dptools.c:1268 Channel
[sofia/internal/7632689991 at AbdulKamailioSIP.com] has been answered
2016-01-13 05:37:50.532203 [NOTICE] sofia.c:952 Hangup
sofia/internal/7632689991 at AbdulKamailioSIP.com [CS_EXECUTE]
[NORMAL_CLEARING]
2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1641 Session 11
(sofia/internal/7632689991 at AbdulKamailioSIP.com) Ended
2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1645 Close Channel
sofia/internal/7632689991 at AbdulKamailioSIP.com [CS_DESTROY]
############################################################################
##############################################


<include>
  <user id="7632689991">
    <params>
      <param name="vm-password" value="1001"/>
    </params>
    <variables>
      <variable name="accountcode" value="7632689991"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension
7632689991"/>
      <variable name="effective_caller_id_number" value="7632689991"/>
    </variables>
  </user>
</include>
############################################################################
##################################

<include>
  <user id="7632689993">
    <params>
      <param name="vm-password" value="1003"/>
    </params>
    <variables>
      <variable name="accountcode" value="7632689993"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension Sherif"/>
      <variable name="effective_caller_id_number" value="7632689993"/>
    </variables>
  </user>
</include>
############################################################################
#########################################







http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160119/136a2403/attachment.html 


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