Outcall works but the incoming doesn't. It always said "DESTINATION_OUT_OF_ORDER"
2010-11-04 20:32:31.797390 [NOTICE] switch_channel.c:784 New Channel dingaling/1001 [2d48674e-e874-11df-ab9a-9787aa669b3a]
2010-11-04 20:32:31.797390 [NOTICE] switch_channel.c:782 Rename Channel dingaling/1001->DingaLing/new [2d48674e-e874-11df-ab9a-9787aa669b3a]
2010-11-04 20:32:31.797390 [NOTICE] mod_dingaling.c:1104 Ring-Ready DingaLing/new!
2010-11-04 20:32:32.164739 [NOTICE] mod_dingaling.c:909 Hangup DingaLing/new [CS_INIT] [DESTINATION_OUT_OF_ORDER]
2010-11-04 20:32:32.165726 [NOTICE] switch_core_session.c:1242 Session 1 (DingaLing/new) Ended
2010-11-04 20:32:32.165726 [NOTICE] switch_core_session.c:1244 Close Channel DingaLing/new [CS_DESTROY]
I had skypopen loaded but pointed to another extension, not sure whether it's related. Now I commented out mod_skypopen but still got the same problem.
<include>
<!-- Client Profile (Original mode) -->
<!-- to use this profile take the x- away from the open and close tags so its <profile> and$
<profile type="client">
<param name="name" value="$${xmpp_client_profile}"/>
<param name="password" value="xxxx"/>
<param name="dialplan" value="XML"/>
<param name="context" value="public"/>
<param name="message" value="Jingle all the way"/>
<param name="rtp-ip" value="$${bind_server_ip}"/>
<!-- <param name="ext-rtp-ip" value="auto-nat"/> -->
<param name="auto-login" value="true"/>
<!-- SASL "plain" or "md5" -->
<param name="sasl" value="plain"/>
<!-- if the server where the jabber is hosted is not the same as the one in the jid -->
<!-- Enable TLS or not -->
<param name="tls" value="true"/>
<!-- disable to trade async for more calls -->
<param name="use-rtp-timer" value="true"/>
<!-- default extension (if one cannot be determined) -->
<param name="exten" value="1001"/>
<!-- VAD choose one -->
<!-- <param name="vad" value="in"/> -->
<!-- <param name="vad" value="out"/> -->
<param name="vad" value="both"/>
<!--<param name="avatar" value="/path/to/tiny.jpg"/>-->
<param name="candidate-acl" value="wan.auto"/>
<param name="local-network-acl" value="localnet.auto"/>
</profile>
</include>