[Freeswitch-users] Help Setting up Freeswitch

saumya garg saumyagarg at gmail.com
Sat Mar 29 22:44:31 PDT 2008


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.

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:


    <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




More information about the FreeSWITCH-users mailing list