I would like to give a update on this. I setup another freeswitch instance from the master HEAD. There is no such problem like this. I assume this is a bug in 1.2.stable.

Thank you.
Lloyd


On Fri, Oct 5, 2012 at 8:59 AM, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
Additional Info..

In my Lab 

Three phones Behind the firewall. Two Polycom Phones and One Cisco Phone. FreeSWITCH outside the network with public ip.

Three phones registered to the Freeswitch. All three phones can make outgoing calls.

Polycom Phone Dial Cisco Phone Work.

Polycom Phone Dial Polycom Got this Error

Cisco Phone Dial Polycom Got this Error





On Thu, Oct 4, 2012 at 10:03 PM, Lloyd Aloysius <lloyd.aloysius@gmail.com> wrote:
FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6 (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z)

I have trouble dialing between users. is this a bug?

Dial plan

<document type="freeswitch/xml">
<section name="dialplan" description="FreeSWITCH Dialplan">
<context name="5ele.mydomain.ca">
<extension name="Local_Extension">
<condition field="destination_number" expression="^(24)$">
<action application="set" data="dialed_extension=$1"/>
<action application="export" data="dialed_extension=$1"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="set" data="call_timeout=30"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="{sip_invite_domain=5ele.mydomain.ca}user/dick@5ele.mydomain.ca"/>
</condition>
</extension>
</context>
</section>


Error...

2012-10-04 21:57:31.143580 [DEBUG] switch_core_state_machine.c:209 sofia/sipinterface_1/klaus@5ele.mydomain.ca Standard EXECUTE
EXECUTE sofia/sipinterface_1/klaus@5ele.mydomain.ca set(dialed_extension=24)
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus@5ele.mydomain.ca SET [dialed_extension]=[24]
EXECUTE sofia/sipinterface_1/klaus@5ele.mydomain.ca export(dialed_extension=24)
2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1118 EXPORT (export_vars) [dialed_extension]=[24]
EXECUTE sofia/sipinterface_1/klaus@5ele.mydomain.ca set(ringback=%(2000,4000,440,480))
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus@5ele.mydomain.ca SET [ringback]=[%(2000,4000,440,480)]
EXECUTE sofia/sipinterface_1/klaus@5ele.mydomain.ca set(call_timeout=30)
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus@5ele.mydomain.ca SET [call_timeout]=[30]
EXECUTE sofia/sipinterface_1/klaus@5ele.mydomain.ca set(hangup_after_bridge=true)
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus@5ele.mydomain.ca SET [hangup_after_bridge]=[true]
EXECUTE sofia/sipinterface_1/klaus@5ele.mydomain.ca set(continue_on_fail=true)
2012-10-04 21:57:31.143580 [DEBUG] mod_dptools.c:1319 sofia/sipinterface_1/klaus@5ele.mydomain.ca SET [continue_on_fail]=[true]
EXECUTE sofia/sipinterface_1/klaus@5ele.mydomain.ca bridge({sip_invite_domain=5ele.mydomain.ca}user/dick@5ele.mydomain.ca)
2012-10-04 21:57:31.143580 [DEBUG] switch_channel.c:1072 sofia/sipinterface_1/klaus@5ele.mydomain.ca EXPORTING[export_vars] [dialed_extension]=[24] to event
2012-10-04 21:57:31.143580 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables
2012-10-04 21:57:31.143580 [DEBUG] switch_event.c:1569 Parsing variable [sip_invite_domain]=[5ele.mydomain.ca]
2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:1072 sofia/sipinterface_1/klaus@5ele.mydomain.ca EXPORTING[export_vars] [dialed_extension]=[24] to event
2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:2005 Parsing global variables
2012-10-04 21:57:31.163577 [DEBUG] switch_event.c:1569 Parsing variable [presence_id]=[dick@5ele.mydomain.ca]
2012-10-04 21:57:31.163577 [ERR] switch_core_session.c:408 Could not locate channel type        sofia
2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot create outgoing channel of type [        sofia] cause: [CHAN_NOT_IMPLEMENTED]
2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]
2012-10-04 21:57:31.163577 [NOTICE] switch_ivr_originate.c:2591 Cannot create outgoing channel of type [user] cause: [CHAN_NOT_IMPLEMENTED]
2012-10-04 21:57:31.163577 [DEBUG] switch_ivr_originate.c:3508 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]
2012-10-04 21:57:31.163577 [INFO] mod_dptools.c:3027 Originate Failed.  Cause: CHAN_NOT_IMPLEMENTED
2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:262 sofia/sipinterface_1/klaus@5ele.mydomain.ca has executed the last dialplan instruction, hanging up.
2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2950 (sofia/sipinterface_1/klaus@5ele.mydomain.ca) Callstate Change RINGING -> HANGUP
2012-10-04 21:57:31.163577 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/sipinterface_1/klaus@5ele.mydomain.ca [CS_EXECUTE] [NORMAL_CLEARING]
2012-10-04 21:57:31.163577 [DEBUG] switch_channel.c:2973 Send signal sofia/sipinterface_1/klaus@5ele.mydomain.ca [KILL]
2012-10-04 21:57:31.163577 [DEBUG] switch_core_session.c:1210 Send signal sofia/sipinterface_1/klaus@5ele.mydomain.ca [BREAK]
2012-10-04 21:57:31.163577 [DEBUG] switch_core_state_machine.c:453 (sofia/sipinterface_1/klaus@5ele.mydomain.ca) State EXECUTE going to sleep