[Freeswitch-users] Help Setting up Freeswitch

Brian West brian.west at mac.com
Sun Mar 30 08:43:37 PDT 2008


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





More information about the FreeSWITCH-users mailing list