[Freeswitch-users] Help Setting up Freeswitch

saumya garg saumyagarg at gmail.com
Mon Mar 31 03:37:48 PDT 2008


Brian,

Thanks for helping me troubleshoot.  I was able to make some progress.

I am now getting the following:
2008-03-31 05:25:52 [NOTICE] switch_core_state_machine.c:114
switch_core_standard_on_ring() Hangup
sofia/outbound/8509103450 at 66.54.140.46:5060 [CS_RING]
[NO_ROUTE_DESTINATION]
2008-03-31 05:25:52 [NOTICE] switch_core_session.c:748
switch_core_session_thread() Session 2
(sofia/outbound/8509103450 at 66.54.140.46:5060) Ended
 2008-03-31 05:25:52 [NOTICE] switch_core_session.c:750
switch_core_session_thread() Close Channel sofia/outbound/<MY CELL
PHONE NUMBER>@<SOME IP>:5060 [CS_HANGUP]

I will be tweaking my dialplan to add the proper routes, as described
in the documentation, tomorrow.

Also, thanks for picking up that typo in the diagram. I fixed the typo
and re-uploaded the file to the documentation wiki.

Saumya

On Sun, Mar 30, 2008 at 10:43 AM, Brian West <brian.west at mac.com> wrote:
>
>
>  On Mar 30, 2008, at 12:44 AM, saumya garg wrote:
>
>  > The following is my scenario:
>  >
>  > I have some SIP account, xyzUSER at ekiga.net,  registered on Ekiga. I
>  > have a 10 digit US number that is attached to this SIP account. I want
>  > Freeswitch to answer incoming calls on this account.
>  >
>  > I am able to use the ekiga client that comes with ubuntu and connect
>  > to the server and receive calls using this 10 digit number.
>  >
>  >
>  > The following is included in my /conf/sip_profiles/outbound folder:
>  >
>  > <include>
>  >  <gateway name="ekiga.net">
>  >  <param name="username" value="xyzUSER"/>
>  >  <param name="from-user" value="xyzUSER"/>
>  >  <param name="password" value="xyzPASS"/>
>  >  <param name="extension" value="xyzUSER"/>
>  >  <param name="register" value="true"/>
>  >  <param name="caller-id-in-from" value="true"/>
>  >  </gateway>
>  > </include>
>  >
>  > I've tried the above settings with and without the settings "register"
>  > and "caller-id-in-from" commented.
>  >
>  > When freeswitch starts, I know that these settings are at least
>  > partially correct, for I see the following in my log file:
>  >
>  > 2008-03-29 20:17:41 [NOTICE] sofia_reg.c:104 sofia_reg_check_gateway()
>  > registering ekiga.net
>  > 2008-03-29 20:17:41 [DEBUG] sofia_reg.c:753
>  > sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with
>  > 'Digest:"ekiga.net":xyzUSER:xyzPASS'.
>  > 2008-03-29 20:17:41 [DEBUG] sofia_reg.c:684
>  > sofia_reg_handle_sip_r_register() Changing expire time to 3600 by
>  > request of proxy sip:ekiga.net
>  > 2008-03-29 20:17:42 [DEBUG] sofia_reg.c:87 sofia_reg_check_gateway()
>  > registered ekiga.net
>  > 2008-03-29 20:37:12 [DEBUG] sofia_reg.c:87 sofia_reg_check_gateway()
>  > registered ekiga.net
>  > 2008-03-29 21:15:35 [DEBUG] sofia_reg.c:87 sofia_reg_check_gateway()
>  > registered ekiga.net
>  > 2008-03-29 21:59:21 [DEBUG] sofia_reg.c:87 sofia_reg_check_gateway()
>  > registered ekiga.net
>  > 2008-03-29 22:42:26 [DEBUG] sofia_reg.c:87 sofia_reg_check_gateway()
>  > registered ekiga.net
>  >
>  > In spite of these log messages, when I try to dial my 10 digit number
>  > I only hear a busy signal.
>  >
>
>  Their has to be more output than this when you get a call.. I bet you
>  10 bucks you didn't forward port 5080 and you're behind nat.
>
>
>
>  > I feel that the error is in dialplan. As per the diagram located at
>  > http://wiki.freeswitch.org/wiki/Image:FreeswitchDiagram.png, which I
>  > created following a link that was provided to me on freenode via IRCt,
>  > calls coming in via my ekiga SIP should end up in the secure default
>  > context. Nevertheless, I have adding the following block of code to
>  > both my public and default contexts:
>
>  This graph is wrong.. the default profile listens on 5060 and that
>  graph clearly says 5080 which is WRONG.
>
>
>
>  >
>  >
>  >
>  >    <extension name="xyzUSER">
>  >      <condition field="destination_number" expression="^xyzUSER$">
>  >       <action application="answer"/>
>  >       <action application="echo"/>
>  >       <anti-action application="answer"/>
>  >      </condition>
>  >    </extension>
>  >
>  > What else could I be missing?
>  >
>  > Thanks in advance for your help!
>  >
>  > Sincerely,
>  >
>  > Saumya Garg
>  >
>  > _______________________________________________
>  > Freeswitch-users mailing list
>  > Freeswitch-users at lists.freeswitch.org
>  > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>  > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>  > http://www.freeswitch.org
>
>
>  _______________________________________________
>  Freeswitch-users mailing list
>  Freeswitch-users at lists.freeswitch.org
>  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>  http://www.freeswitch.org
>




More information about the FreeSWITCH-users mailing list