Hi, I am trying to integrate Newfies Dialer with Freeswitch. This is my sofia status freeswitch@127.0.0.1@internal> sofia status Name Type Data State ================================================================================================= *:XX.XX.XX.XX* alias internal ALIASED external profile sip:mod_sofia@*:XX.XX.XX.XX*:5080 RUNNING (0) external::example.com gateway sip:joeuser@example.com NOREG * external::XX.XX.XX.XX gateway sip:password@XX.XX.XX.XX REGED* internal profile sip:mod_sofia@199.167.145.102:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0) ================================================================================================= 3 profiles 1 alias Looks like the Service provider is now registered with the Freeswitch. I am asuming as it says REGED in the status. However, when i start my campaign through the dialer, I am unable to make the outgoing calls which results in these errors. 2011-10-28 04:24:41.992674 [DEBUG] switch_ivr_originate.c:1884 Parsing global variables 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [plivo_request_uuid]=[48df3dbe-013e-11e1-8b92-bc305bec2901] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [plivo_answer_url]=[http://*XX.XX.XX.XX*:9080/api/dialer_cdr/answercall/] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [plivo_hangup_url]=[http://*XX.XX.XX.XX*:9080/api/dialer_cdr/hangupcall/] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [origination_caller_id_number]=[8888888888] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [bridge_early_media]=[true] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [hangup_after_bridge]=[true] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [plivo_app]=[true] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [absolute_codec_string]=[PCMA] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [originate_timeout]=[1800] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [ignore_early_media]=[true] 2011-10-28 04:24:41.992674 [ERR] switch_core_session.c:426 *Could not locate channel type* *XX.XX.XX.XX Customers contact number* 2011-10-28 04:24:41.992674 [NOTICE] switch_ivr_originate.c:2459 Cannot create outgoing channel of type [*XX.XX.XX.XX Customers contact number*] cause: [CHAN_NOT_IMPLEMENTED] 2011-10-28 04:24:41.992674 [DEBUG] switch_ivr_originate.c:3348 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] 2011-10-28 04:25:00.052673 [DEBUG] switch_ivr_originate.c:1884 Parsing global variables 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [plivo_request_uuid]=[53a1c460-013e-11e1-8b92-bc305bec2901] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [plivo_answer_url]=[http://*XX.XX.XX.XX*:9080/api/dialer_cdr/answercall/] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [plivo_hangup_url]=[http://*XX.XX.XX.XX*2:9080/api/dialer_cdr/hangupcall/] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [origination_caller_id_number]=[8888888888] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [bridge_early_media]=[true] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [hangup_after_bridge]=[true] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [plivo_app]=[true] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [absolute_codec_string]=[PCMA] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [originate_timeout]=[1800] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [ignore_early_media]=[true] 2011-10-28 04:25:00.052673 [ERR] switch_core_session.c:426 Could not locate channel type *XX.XX.XX.XX Customers contact number* 2011-10-28 04:25:00.052673 [NOTICE] switch_ivr_originate.c:2459 Cannot create outgoing channel of type [*XX.XX.XX.XX Customers contact number*] cause: [CHAN_NOT_IMPLEMENTED] 2011-10-28 04:25:00.052673 [DEBUG] switch_ivr_originate.c:3348 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] Please advice.
This is a newfies configuration issue. I've only looked briefly at the newfies dialer (I don't want to get anywhere near it because it's AGPL - yuck) and I do know that it requires you to specify your gateway in some manner. It does not look like you have done that. I'd review this information from the newfies-dialer.org documentation site: Newfies-Dialer’s Gateway Log into the Newfies-Dialer interface using your root username and password previously created in these instructions. Click Admin, and locate and enter the “Dialer Gateways” panel on the dashboard, then add a dialer gateway. Only the fields in bold need to be filled in. That is to say, the name of gateway, for identification, and the Gateway’s field, e.g. sofia/gateway/myprovider/ “myprovider” is the name of the gateway which you can take from the gateway name when you typed “sofia status” when configuring the Freeswitch Gateway. Finally, check the status is active, and save. The trunk should now appear in the gateway list. -MC On Fri, Oct 28, 2011 at 1:28 AM, Dip Mehta <dipkumar.mehta@gmail.com> wrote:
Hi,
I am trying to integrate Newfies Dialer with Freeswitch.
This is my sofia status
freeswitch@127.0.0.1@internal> sofia status Name Type Data State
================================================================================================= *:XX.XX.XX.XX* alias internal ALIASED external profile sip:mod_sofia@* :XX.XX.XX.XX*:5080 RUNNING (0) external::example.com gateway sip:joeuser@example.com NOREG * external::XX.XX.XX.XX gateway sip:password@XX.XX.XX.XX REGED* internal profile sip:mod_sofia@199.167.145.102:5060 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)
================================================================================================= 3 profiles 1 alias
Looks like the Service provider is now registered with the Freeswitch. I am asuming as it says REGED in the status.
However, when i start my campaign through the dialer, I am unable to make the outgoing calls which results in these errors.
2011-10-28 04:24:41.992674 [DEBUG] switch_ivr_originate.c:1884 Parsing global variables 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [plivo_request_uuid]=[48df3dbe-013e-11e1-8b92-bc305bec2901] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [plivo_answer_url]=[http://*XX.XX.XX.XX*:9080/api/dialer_cdr/answercall/] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [plivo_hangup_url]=[http://*XX.XX.XX.XX*:9080/api/dialer_cdr/hangupcall/] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [origination_caller_id_number]=[8888888888] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [bridge_early_media]=[true] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [hangup_after_bridge]=[true] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [plivo_app]=[true] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [absolute_codec_string]=[PCMA] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [originate_timeout]=[1800] 2011-10-28 04:24:41.992674 [DEBUG] switch_event.c:1521 Parsing variable [ignore_early_media]=[true] 2011-10-28 04:24:41.992674 [ERR] switch_core_session.c:426 *Could not locate channel type* *XX.XX.XX.XX Customers contact number* 2011-10-28 04:24:41.992674 [NOTICE] switch_ivr_originate.c:2459 Cannot create outgoing channel of type [*XX.XX.XX.XX Customers contact number*] cause: [CHAN_NOT_IMPLEMENTED] 2011-10-28 04:24:41.992674 [DEBUG] switch_ivr_originate.c:3348 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED] 2011-10-28 04:25:00.052673 [DEBUG] switch_ivr_originate.c:1884 Parsing global variables 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [plivo_request_uuid]=[53a1c460-013e-11e1-8b92-bc305bec2901] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [plivo_answer_url]=[http://*XX.XX.XX.XX*:9080/api/dialer_cdr/answercall/] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [plivo_hangup_url]=[http://*XX.XX.XX.XX*2:9080/api/dialer_cdr/hangupcall/] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [origination_caller_id_number]=[8888888888] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [bridge_early_media]=[true] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [hangup_after_bridge]=[true] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [plivo_app]=[true] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [absolute_codec_string]=[PCMA] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [originate_timeout]=[1800] 2011-10-28 04:25:00.052673 [DEBUG] switch_event.c:1521 Parsing variable [ignore_early_media]=[true] 2011-10-28 04:25:00.052673 [ERR] switch_core_session.c:426 Could not locate channel type *XX.XX.XX.XX Customers contact number* 2011-10-28 04:25:00.052673 [NOTICE] switch_ivr_originate.c:2459 Cannot create outgoing channel of type [*XX.XX.XX.XX Customers contact number*] cause: [CHAN_NOT_IMPLEMENTED] 2011-10-28 04:25:00.052673 [DEBUG] switch_ivr_originate.c:3348 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]
Please advice.
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Dip Mehta
-
Michael Collins