According to your dialplan you're forcing all calls that hit Local_Extension (any call with a destination number of 4 digits) to call your ekiga softphone. Your other problem lies in the fact that you should have different dialplans for different methods of calling unlike endpoints one for h232 one for flex.

See below:

-BDF
On May 2, 2013 9:05 AM, "Navnath Sonavne" <navnath.sonavne@yahoo.com> wrote:
>
> Hi All,
>
> I am using flex client(at 192.168.9.165) given in freeswitch source 
> to make call to Ekiga(h323 protocol) softphone(at 192.168.8.27) via freeswitch server(at 192.168.8.41).
> I have two users registered on freeswitch with extension as 1100 and 1101 in default context.
> I loged in using one of extension in flex client,then I dail another extension. 
> After I dail,call goes to Ekiga softphone at 192.168.8.27 because I have made changes 
> in default.xml accordingly to forward calls to this ip.
> Here is My default.xml part :
>
> <extension name="Local_Extension">
>       <condition field="destination_number" expression="^(\d{4})$">
>       <action application="export" data="dialed_extension=$1"/>
>       <action application="set" data="effective_caller_id_number=${dialed_extension}"/>
>       <action application="set" data="PEER_IP=192.168.8.27"/> <<Bad: you should never hardcode a specific endpoint IP if this dialplan should be dialing others as well
>       <action application="set" data="call_timeout=30"/>
>       <action application="set" data="hangup_after_bridge=true"/>
>       <action application="set" data="proxy_media=true"/>
>       <action application="bridge" data="h323/$1@${PEER_IP}"/> <<Bad: you set your dialplan to bridge the call to your softphone
>       </condition>     
> </extension>
>
> Ekiga phone can answer the call and there is audio transmission from both end successfully.
>
> But this is one way calling i.e. from flex to ekiga.
> Now I want to call from Ekiga softphone to flex client.
> How to call flex client from ekiga softphone?
>
> Anybody please me on this issue.
>
> -Navnath.
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>