[Freeswitch-users] Inbound calls

Леша... qulix at mail.ru
Mon Mar 23 09:31:59 PDT 2009


Hi all!

There is an error if I try to make inbound call. I don't think it's hard but I'm tired solving it.

Any time I call my city number, FS always returns me an error [INCOMPATIBLE_DESTINATION]

2009-03-23 00:29:40 [NOTICE] switch_channel.c:567 switch_channel_set_name() New Channel sofia/mydomain/number-ani at ip [8d0dcff8-1728-11de-b150-e189b327b8ae]
2009-03-23 00:29:40 [NOTICE] sofia.c:2927 sofia_handle_sip_i_state() Hangup sofia/mydomain/number-ani at ip [CS_NEW] [INCOMPATIBLE_DESTINATION]
2009-03-23 00:29:40 [NOTICE] switch_core_session.c:970 switch_core_session_thread() Session 2 (sofia/mydomain/number-ani at ip) Ended
2009-03-23 00:29:40 [NOTICE] switch_core_session.c:972 switch_core_session_thread() Close Channel sofia/mydomain/number-ani at ip [CS_HANGUP]

My extension is:

   <extension name="Inbound-number">                                                                                              
    <condition field="destination_number" expression="^dest_number$">                                                                         
   <action application="ring_ready" />                                                                                              
<!--     <action application="set" data="call_timeout=20"/>                                                                         
-->                                                                                                                                 
    <action application="bridge" data="user/1000@$mydomain"/>                                                                 
    </condition>                                                                                                                    
    </extension>  

I've made it all the same as http://wiki.freeswitch.org/wiki/Home_PBX_Example (with my own diference line inbound number, dest_number , etc)

Could you share some expirience? Give any solution? Or link where I could learn more about it? =\




More information about the FreeSWITCH-users mailing list