so that would suggest nobody is in your sip_registrations table with that host and/or you have not aliased it to your sofia profile On Thu, Jun 30, 2011 at 2:19 PM, Avi Marcus <avi@avimarcus.net> wrote:
Anthony,
FreeSWITCH Version 1.0.head (git-3e6cca9 2011-06-28 10-27-00 -0700)
It still produces an error: "sofia_presence.c:432 Cannot find profile 20064.domain.com"
-Avi
On Tue, Jun 28, 2011 at 8:03 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
can you try this on latest too? The line numbers suggest an older build.
On Tue, Jun 28, 2011 at 9:10 AM, Avi Marcus <avi@avimarcus.net> wrote:
I'm trying to send a MESSAGE_WAITING via ESL on multi-tenant, but I'm getting this error: 2011-06-27 10:46:25.443081 [ERR] sofia_presence.c:405 Cannot find profile 20064.domain.com] the cli lists the domain as an alias to the internal profile. what should I do? I am writing some test code in order to try to send MWI events using the ESL Manager code DLL. Here is my test code:
static void InboundMode2(Object stateInfo)
{
//Initializes a new instance of ESLconnection, and connects to the host $host on the port $port, and supplies $password to freeswitch
ESLconnection eslConnection = new ESLconnection(myinfo);
if (eslConnection.Connected() != ESL_SUCCESS)
{
Console.WriteLine("Error connecting to FreeSwitch");
return;
}
//Set log level
//ESL.eslSetLogLevel((int)enLogLevel.DEBUG);
eslConnection.Api("reloadxml", string.Empty);
// Subscribe to all events
ESLevent eslEvent2 = eslConnection.SendRecv("event plain ALL");
if (eslEvent2 == null)
{
Console.WriteLine("Error subscribing to all events");
return;
}
ESLevent eslEvent = new ESLevent("MESSAGE_WAITING", null);
eslEvent.AddHeader("MWI-Messages-Waiting", "yes");
eslEvent.AddHeader("MWI-Message-Account", "103@20064.domain.com");
eslEvent.AddHeader("MWI-Voice-Message", "1/1 (1/1)");
eslEvent = eslConnection.SendEvent(eslEvent);
if (eslEvent == null)
{
Console.WriteLine("event error");
return;
}
//Turns an event into colon-separated 'name: value' pairs. The format parameter isn't used
Console.WriteLine(eslEvent.Serialize(String.Empty));
// Grab Events until process is killed
while (eslConnection.Connected() == ESL_SUCCESS)
{
eslEvent = eslConnection.RecvEvent();
Console.WriteLine(eslEvent.Serialize(String.Empty));
}
}
When I send the event, I am getting a debug message from FS as follows:
2011-06-27 10:46:25.443081 [ERR] sofia_presence.c:405 Cannot find profile 20064.domain.com]
Thanks!
-Avi
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900