<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.14.1">
</HEAD>
<BODY>
Well, I have no idea why, but when I booted this morning it all just worked without me changing anything :/<BR>
<BR>
Sadly I did not get a log of it, but I did notice that the first time I ran freeswitch that the IP phone registered. Further, on subsequent executions of freeswitch, the IP phone does not seem to need/bother to re-register but I can make internal calls from the analog phone connected to TDM to the IP phone.<BR>
<BR>
Now I am off to try and sort out calling from the IP phone to the analog phone. I am getting some errors but have not looked into it yet.<BR>
<BR>
[ERR] mod_openzap.c:719 channel_outgoing_channel() Missing span<BR>
[ERR] switch_ivr_originate.c:533 switch_ivr_originate() Cannot Create Outgoing Channel! cause: DESTINATION_OUT_OF_ORDER <BR>
<BR>
<BR>
To answer some questions:<BR>
<BR>
<FONT COLOR="#000000">> </FONT><FONT COLOR="#000000"><TT>Is the phone actually registering to freeswitch? It appears not</TT></FONT><FONT COLOR="#000000">.</FONT><BR>
<BR>
I have noticed it register once, but not again. Is there something I should be setting/doing to force it to register every time freeswitch starts up ?<BR>
<BR>
> <FONT COLOR="#000000"><TT>in</TT></FONT><TT> </TT><TT><FONT COLOR="#000000">the directory, is the id 5 in the domain 192.1680.0.4?</FONT></TT><BR>
<BR>
Yes, id 5 is in the correct domain. In directory.xml I have:<BR>
<domain name="$${sip_profile}"><BR>
<BR>
<BR>
><TT> [change profile from ip address to domain name]</TT><BR>
<BR>
I did not do this - since it all just worked this morning. I will keep this in mind though if I have further problems.<BR>
<BR>
<BR>
<BR>
Thanks for the help.<BR>
<BR>
<BR>
Regards,<BR>
Craig.<BR>
<BR>
<BR>
On Wed, 2007-08-15 at 11:46 -0400, Jason Garland wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">The SIP profile name is an ip address?</FONT>
<FONT COLOR="#000000">How about changing it to "foo.localdomain"</FONT>
<FONT COLOR="#000000">On 8/15/07, Michael Jerris <<A HREF="mailto:mike@jerris.com">mike@jerris.com</A>> wrote:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Is the phone actually registering to freeswitch? It appears not. Also, in</FONT>
<FONT COLOR="#000000">> the directory, is the id 5 in the domain 192.1680.0.4? You will want to</FONT>
<FONT COLOR="#000000">> look in the log before the call is made to see what happens with the</FONT>
<FONT COLOR="#000000">> register attempt (or lack of) from the phone.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Mike</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> On 8/15/07 3:40 AM, "Craig Kowald"</FONT>
<FONT COLOR="#000000">> <<A HREF="mailto:craig.kowald@cubemicrosystems.com">craig.kowald@cubemicrosystems.com</A>> wrote:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I am trying to call from one internal phone to another internal phone - but</FONT>
<FONT COLOR="#000000">> I can not get it working :(.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> I have an analog phone connected to a Digium TDM400P and an IP phone</FONT>
<FONT COLOR="#000000">> (identified as user:5)</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> In directory.xml I have identified the IP phone as:</FONT>
<FONT COLOR="#000000">> <user id="5"></FONT>
<FONT COLOR="#000000">> <params></FONT>
<FONT COLOR="#000000">> <param name="password" value="5"/></FONT>
<FONT COLOR="#000000">> </params></FONT>
<FONT COLOR="#000000">> </user></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> In my dialplan I have:</FONT>
<FONT COLOR="#000000">> <extension name="Internal-5"></FONT>
<FONT COLOR="#000000">> <condition field="destination_number" expression="^5$"></FONT>
<FONT COLOR="#000000">> <action application="bridge"</FONT>
<FONT COLOR="#000000">> data="sofia/${sip_profile}/5%${sip_profile}"/></FONT>
<FONT COLOR="#000000">> </condition></FONT>
<FONT COLOR="#000000">> </extension></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> In sophia.xml I try to make it so that sip phones have to register by</FONT>
<FONT COLOR="#000000">> having:</FONT>
<FONT COLOR="#000000">> <!--<param name="accept-blind-reg" value="true"/> --></FONT>
<FONT COLOR="#000000">> <param name="auth-calls" value="true"/></FONT>
<FONT COLOR="#000000">> <param name="auth-all-packets" value="true"/></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> When I dial '5' on the analog phone I can see that freeswitch tries to make</FONT>
<FONT COLOR="#000000">> the connection, but can not:</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> [NOTICE] switch_core_state_machine.c:134</FONT>
<FONT COLOR="#000000">> switch_core_standard_on_execute() Execute</FONT>
<FONT COLOR="#000000">> bridge(sofia/${sip_profile}/5%${sip_profile})</FONT>
<FONT COLOR="#000000">> [DEBUG] switch_core_state_machine.c:158</FONT>
<FONT COLOR="#000000">> switch_core_standard_on_execute() Expanded String</FONT>
<FONT COLOR="#000000">> bridge(sofia/192.168.0.4/5%192.168.0.4)</FONT>
<FONT COLOR="#000000">> [WARNING] mod_sofia.c:1397 sofia_outgoing_channel() Cannot locate</FONT>
<FONT COLOR="#000000">> registered user <A HREF="mailto:5@192.168.0.4">5@192.168.0.4</A></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Any ideas/suggestions on how to call internal sip phones ?</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Regards,</FONT>
<FONT COLOR="#000000">> Craig.</FONT>
<FONT COLOR="#000000">> ________________________________</FONT>
<FONT COLOR="#000000">> _______________________________________________</FONT>
<FONT COLOR="#000000">> Freeswitch-users mailing list</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</A></FONT>
<FONT COLOR="#000000">> <A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></FONT>
<FONT COLOR="#000000">> UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A></FONT>
<FONT COLOR="#000000">> <A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> _______________________________________________</FONT>
<FONT COLOR="#000000">> Freeswitch-users mailing list</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</A></FONT>
<FONT COLOR="#000000">> <A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></FONT>
<FONT COLOR="#000000">> UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A></FONT>
<FONT COLOR="#000000">> <A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Freeswitch-users mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></FONT>
<FONT COLOR="#000000">UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A></FONT>
<FONT COLOR="#000000"><A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>