Help with freeswitch configuration



  • I am running freeswitch 0.9.7.26.

    I am setup to allow registration on the LAN ports.

    I have two extensions defined, 1000 and 1001 and I was able to get x-lite and the Line In port on a Linksys SPA3102 registered. I'm able to connect to special extensions (conference, echo test, music on hold, etc) however extension to extension calls go directly to voicemail. Logs below:

    2011-10-01 11:00:34.175412 [INFO] mod_dialplan_xml.c:315 Processing 1000->1001 in context default
    2011-10-01 11:00:34.227223 [INFO] switch_ivr_async.c:1795 Bound B-Leg: 1 execute_extension::dx XML features
    2011-10-01 11:00:34.232975 [INFO] switch_ivr_async.c:1795 Bound B-Leg: 2 record_session::/usr/local/freeswitch/recordings/1000.2011-10-01-11-00-34.wav
    2011-10-01 11:00:34.232975 [INFO] switch_ivr_async.c:1795 Bound B-Leg: 3 execute_extension::cf XML features
    2011-10-01 11:00:34.389079 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [error] cause: [FACILITY_NOT_SUBSCRIBED]
    2011-10-01 11:00:34.391085 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [user] cause: [FACILITY_NOT_SUBSCRIBED]
    2011-10-01 11:00:34.395211 [INFO] mod_dptools.c:2093 Originate Failed.  Cause: FACILITY_NOT_SUBSCRIBED
    2011-10-01 11:00:34.421522 [NOTICE] mod_dptools.c:649 Channel [sofia/internal/1000@192.168.66.254] has been answered
    2011-10-01 11:00:38.339043 [NOTICE] sofia.c:322 Hangup sofia/internal/1000@192.168.66.254 [CS_EXECUTE] [NORMAL_CLEARING]
    2011-10-01 11:00:38.566783 [NOTICE] switch_core_session.c:1086 Session 52 (sofia/internal/1000@192.168.66.254) Ended
    2011-10-01 11:00:38.572183 [NOTICE] switch_core_session.c:1088 Close Channel sofia/internal/1000@192.168.66.254 [CS_DESTROY]
    2011-10-01 11:01:27.884940 [NOTICE] switch_channel.c:602 New Channel sofia/internal/1000@192.168.66.254 [cc09e69e-46ec-e011-9f1d-000874065d81]
    2011-10-01 11:01:27.927600 [INFO] mod_dialplan_xml.c:315 Processing 1000->1001 in context default
    2011-10-01 11:01:27.962275 [INFO] switch_ivr_async.c:1795 Bound B-Leg: 1 execute_extension::dx XML features
    2011-10-01 11:01:27.966914 [INFO] switch_ivr_async.c:1795 Bound B-Leg: 2 record_session::/usr/local/freeswitch/recordings/1000.2011-10-01-11-01-27.wav
    2011-10-01 11:01:27.979386 [INFO] switch_ivr_async.c:1795 Bound B-Leg: 3 execute_extension::cf XML features
    2011-10-01 11:01:28.104913 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [error] cause: [FACILITY_NOT_SUBSCRIBED]
    2011-10-01 11:01:28.107347 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [user] cause: [FACILITY_NOT_SUBSCRIBED]
    2011-10-01 11:01:28.107347 [INFO] mod_dptools.c:2093 Originate Failed.  Cause: FACILITY_NOT_SUBSCRIBED
    2011-10-01 11:01:28.134077 [NOTICE] mod_dptools.c:649 Channel [sofia/internal/1000@192.168.66.254] has been answered
    2011-10-01 11:01:40.282072 [NOTICE] sofia.c:322 Hangup sofia/internal/1000@192.168.66.254 [CS_EXECUTE] [NORMAL_CLEARING]
    2011-10-01 11:01:40.348050 [NOTICE] switch_core_session.c:1086 Session 53 (sofia/internal/1000@192.168.66.254) Ended
    2011-10-01 11:01:40.348050 [NOTICE] switch_core_session.c:1088 Close Channel sofia/internal/1000@192.168.66.254 [CS_DESTROY]

    I came across the link below and I suspect that this might be my problem.
    http://old.nabble.com/FACILITY_NOT_SUBSCRIBED-td20422656i20.html

    you are calling
    user/<user>@ <domain>This is going to use the USER channel which does a lookup in your XML directory for <domain>the looks for <user>with the appropriate id within that domain.

    once it finds one it will try to fetch the param dial-string from <params>in <user>or <domain>(in that order)
    once it finds that it tries to call it.</domain></user></params></user></domain></domain></user>

    Any ideas what could be wrong?


Locked