Thanks for your instant reply.<br><br>i m using CentOS5.1<br><br> <section name="dialplan" description="example_curl_dialplan"><br> <context name="public"><br> <br> <extension name="echo test"><br>
<condition field="destination_number" expression="999"><br> <action application="answer" /><br> <action application="echo"/><br> </condition><br>
</extension><br> <br> <extension name="curl_test"><br> <condition field="destination_number" expression="(.*)"><br> <action application="set" data="proxy_media=true"/><br>
<action application="set" data="hangup_after_bridge=true"/><br> <action application="set" data="continue_on_fail=NO_ROUTE_DESTINATION,NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER"/><br>
<action application="bridge" data="sofia/internal/$1%X.X.X.X" /><br> <action application="bridge" data="sofia/internal/$1@X.X.X.X" /><br> <action application="hangup" /><br>
</condition><br> </extension><br><br> <br> </context><br> </section><br><br>My dialplan is like this:<br><br><br>TH SIP trace are as follows:<br><br>***********************************************************************************<br>
2008-06-30 18:28:42 [NOTICE] switch_channel.c:531 switch_channel_set_name() New Channel sofia/internal/<a href="http://73814@8.14.147.7:60">73814@8.14.147.7:60</a> [3981c0a5-52ae-4d42-b53b-144417411041]<br>2008-06-30 18:28:42 [INFO] mod_dialplan_xml.c:223 dialplan_hunt() Processing Emran->999@public<br>
send 1082 bytes to udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:28:42.850929:<br> ------------------------------------------------------------------------<br> SIP/2.0 200 OK Content-Length: 494<br>
<br> v=0<br> o=- 0 2 IN IP4 <a href="http://202.56.7.133">202.56.7.133</a><br> s=CounterPath X-Lite 3.0<br> c=IN IP4 <a href="http://202.56.7.133">202.56.7.133</a><br> t=0 0<br> m=audio 6062 RTP/AVP 107 119 100 106 0 97 105 98 8 101<br>
a=alt:1 2 : +kaK6fdy AO7bhX9b <a href="http://10.130.5.144">10.130.5.144</a> 6062<br> a=alt:2 1 : 1HGX4kCQ 8AY7lwQk <a href="http://202.56.7.133">202.56.7.133</a> 60622008-06-30 18:28:42 [NOTICE] switch_channel.c:1381 switch_channel_perform_mark_pre_answered() Ring-Ready sofia/internal/<a href="http://73814@8.14.147.7:60">73814@8.14.147.7:60</a>!<br>
2008-06-30 18:28:42 [NOTICE] sofia_glue.c:1782 sofia_glue_tech_media() Pre-Answer sofia/internal/<a href="http://73814@8.14.147.7:60">73814@8.14.147.7:60</a>!<br>2008-06-30 18:28:42 [NOTICE] mod_dptools.c:620 answer_function() Channel [sofia/internal/<a href="http://73814@8.14.147.7:60">73814@8.14.147.7:60</a>] has been answered<br>
<br> a=fmtp:101 0-15<br> a=rtpmap:107 BV32/16000<br> a=rtpmap:119 BV32-FEC/16000<br> a=rtpmap:100 SPEEX/16000<br> a=rtpmap:106 SPEEX-FEC/16000<br> a=rtpmap:97 SPEEX/8000<br> a=rtpmap:105 SPEEX-FEC/8000<br> a=rtpmap:98 iLBC/8000<br>
a=rtpmap:101 telephone-event/8000<br> a=sendrecv<br> ------------------------------------------------------------------------<br>send 1082 bytes to udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:28:43.390886:<br>
------------------------------------------------------------------------<br> SIP/2.0 200 OK<br> Via: SIP/2.0/UDP 10.130.5.144:6060;branch=z9hG4bK-d87543-ba226852c327c735-1--d87543-;rport=6060;received=<a href="http://202.56.7.133">202.56.7.133</a><br>
From: "Emran"<<a href="http://sip:73814@8.14.147.7:60">sip:73814@8.14.147.7:60</a>>;tag=2130c455<br> To: "999" <<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>>;tag=pBr0jSNFm2tDS<br>
Call-ID: NjMxZTAxOTlhNzg3ZmFkMDExZmJkYzM3NjRmODZmZTc.<br> CSeq: 2 INVITE<br> Contact: <sip:mod_sofia@8.14.147.7:60;transport=udp><br> User-Agent: FreeSWITCH-mod_sofia/1.0.rc6-exported<br> Accept: application/sdp<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH<br> Supported: 100rel, precondition, timer<br> Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary<br>
Min-SE: 120<br> Content-Type: application/sdp<br> Content-Disposition: session<br> Content-Length: 270<br> <br> v=0<br> o=FreeSWITCH 8868993956311956419 6207280862328188583 IN IP4 <a href="http://8.14.147.7">8.14.147.7</a><br>
s=FreeSWITCH<br> c=IN IP4 <a href="http://8.14.147.7">8.14.147.7</a><br> t=0 0<br> a=sendrecv<br> m=audio 25042 RTP/AVP 0 101 13<br> a=rtpmap:0 PCMU/8000<br> a=rtpmap:101 telephone-event/8000<br> a=fmtp:101 0-16<br>
a=rtpmap:13 CN/8000<br> a=ptime:20<br> ------------------------------------------------------------------------<br>recv 322 bytes from udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:28:43.392783:<br>
------------------------------------------------------------------------<br> ACK <a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a> SIP/2.0<br> Via: SIP/2.0/UDP 10.130.5.144:6060;branch=z9hG4bK-d87543-cb5fdd7f0f480f4f-1--d87543-;rport<br>
To: "999" <<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>>;tag=N2y7gy4BQS4tD<br> From: "Emran"<<a href="http://sip:73814@8.14.147.7:60">sip:73814@8.14.147.7:60</a>>;tag=2130c455<br>
Call-ID: NjMxZTAxOTlhNzg3ZmFkMDExZmJkYzM3NjRmODZmZTc.<br> CSeq: 1 ACK<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>send 1082 bytes to udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:28:43.649996:<br>
------------------------------------------------------------------------<br> SIP/2.0 200 OK<br> Via: SIP/2.0/UDP 10.130.5.144:6060;branch=z9hG4bK-d87543-ba226852c327c735-1--d87543-;rport=6060;received=<a href="http://202.56.7.133">202.56.7.133</a><br>
From: "Emran"<<a href="http://sip:73814@8.14.147.7:60">sip:73814@8.14.147.7:60</a>>;tag=2130c455<br> To: "999" <<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>>;tag=pBr0jSNFm2tDS<br>
Call-ID: NjMxZTAxOTlhNzg3ZmFkMDExZmJkYzM3NjRmODZmZTc.<br> CSeq: 2 INVITE<br> Contact: <sip:mod_sofia@8.14.147.7:60;transport=udp><br> User-Agent: FreeSWITCH-mod_sofia/1.0.rc6-exported<br> Accept: application/sdp<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH<br> Supported: 100rel, precondition, timer<br> Allow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summary<br>
Min-SE: 120<br> Content-Type: application/sdp<br> Content-Disposition: session<br> Content-Length: 270<br> <br> v=0<br> o=FreeSWITCH 8868993956311956419 6207280862328188583 IN IP4 <a href="http://8.14.147.7">8.14.147.7</a><br>
s=FreeSWITCH<br> c=IN IP4 <a href="http://8.14.147.7">8.14.147.7</a><br> t=0 0<br> a=sendrecv<br> m=audio 25042 RTP/AVP 0 101 13<br> a=rtpmap:0 PCMU/8000<br> a=rtpmap:101 telephone-event/8000<br> a=fmtp:101 0-16<br>
a=rtpmap:13 CN/8000<br> a=ptime:20<br> ------------------------------------------------------------------------<br>recv 704 bytes from udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:28:43.701995:<br>
------------------------------------------------------------------------<br> ACK sip:mod_sofia@8.14.147.7:60;transport=udp SIP/2.0<br> Via: SIP/2.0/UDP 10.130.5.144:6060;branch=z9hG4bK-d87543-e225ef323f565677-1--d87543-;rport<br>
Max-Forwards: 70<br> Contact: <<a href="http://sip:73814@202.56.7.133:6060">sip:73814@202.56.7.133:6060</a>><br> To: "999"<<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>>;tag=pBr0jSNFm2tDS<br>
From: "Emran"<<a href="http://sip:73814@8.14.147.7:60">sip:73814@8.14.147.7:60</a>>;tag=2130c455<br> Call-ID: NjMxZTAxOTlhNzg3ZmFkMDExZmJkYzM3NjRmODZmZTc.<br> CSeq: 2 ACK<br> Proxy-Authorization: Digest username="73814",realm="<a href="http://8.14.147.7">8.14.147.7</a>",nonce="cf982c06-49ad-4783-b66f-1b3fbc39eba6",uri="<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>",response="d4216c57ffccdac32c0aad69a3e7edb4",cnonce="ad462cc0040fbaf128ab19ac726dd9fd",nc=00000001,qop=auth,algorithm=MD5recv 704 bytes from udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:28:44.276254:<br>
------------------------------------------------------------------------<br> ACK sip:mod_sofia@8.14.147.7:60;transport=udp SIP/2.0<br> Via: SIP/2.0/UDP 10.130.5.144:6060;branch=z9hG4bK-d87543-e225ef323f565677-1--d87543-;rport<br>
Max-Forwards: 70<br> Contact: <<a href="http://sip:73814@202.56.7.133:6060">sip:73814@202.56.7.133:6060</a>><br> To: "999"<<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>>;tag=pBr0jSNFm2tDS<br>
From: "Emran"<<a href="http://sip:73814@8.14.147.7:60">sip:73814@8.14.147.7:60</a>>;tag=2130c455<br> Call-ID: NjMxZTAxOTlhNzg3ZmFkMDExZmJkYzM3NjRmODZmZTc.<br> CSeq: 2 ACK<br> Proxy-Authorization: Digest username="73814",realm="<a href="http://8.14.147.7">8.14.147.7</a>",nonce="cf982c06-49ad-4783-b66f-1b3fbc39eba6",uri="<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>",response="d4216c57ffccdac32c0aad69a3e7edb4",cnonce="ad462cc0040fbaf128ab19ac726dd9fd",nc=00000001,qop=auth,algorithm=MD5<br>
User-Agent: X-Lite release 1011s stamp 41150<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>recv 704 bytes from udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:28:44.492472:<br>
------------------------------------------------------------------------<br> ACK sip:mod_sofia@8.14.147.7:60;transport=udp SIP/2.0<br> Via: SIP/2.0/UDP 10.130.5.144:6060;branch=z9hG4bK-d87543-e225ef323f565677-1--d87543-;rport<br>
Max-Forwards: 70<br> Contact: <<a href="http://sip:73814@202.56.7.133:6060">sip:73814@202.56.7.133:6060</a>><br> To: "999"<<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>>;tag=pBr0jSNFm2tDS<br>
From: "Emran"<<a href="http://sip:73814@8.14.147.7:60">sip:73814@8.14.147.7:60</a>>;tag=2130c455<br> Call-ID: NjMxZTAxOTlhNzg3ZmFkMDExZmJkYzM3NjRmODZmZTc.<br> CSeq: 2 ACK<br> Proxy-Authorization: Digest username="73814",realm="<a href="http://8.14.147.7">8.14.147.7</a>",nonce="cf982c06-49ad-4783-b66f-1b3fbc39eba6",uri="<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>",response="d4216c57ffccdac32c0aad69a3e7edb4",cnonce="ad462cc0040fbaf128ab19ac726dd9fd",nc=00000001,qop=auth,algorithm=MD5<br>
User-Agent: X-Lite release 1011s stamp 41150<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>recv 764 bytes from udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:29:02.939495:<br>
------------------------------------------------------------------------<br> BYE sip:mod_sofia@8.14.147.7:60;transport=udp SIP/2.0<br> Via: SIP/2.0/UDP 10.130.5.144:6060;branch=z9hG4bK-d87543-3d675138d06a9b12-1--d87543-;rport<br>
Max-Forwards: 70<br> Contact: <<a href="http://sip:73814@202.56.7.133:6060">sip:73814@202.56.7.133:6060</a>><br> To: "999"<<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>>;tag=pBr0jSNFm2tDS<br>
From: "Emran"<<a href="http://sip:73814@8.14.147.7:60">sip:73814@8.14.147.7:60</a>>;tag=2130c455<br> Call-ID: NjMxZTAxOTlhNzg3ZmFkMDExZmJkYzM3NjRmODZmZTc.<br> CSeq: 3 BYE<br> Proxy-Authorization: Digest username="73814",realm="<a href="http://8.14.147.7">8.14.147.7</a>",nonce="cf982c06-49ad-4783-b66f-1b3fbc39eba6",uri="sip:mod_sofia@8.14.147.7:60;transport=udp",response="6b9abae5ffece0385d2e16d5114ab97d",cnonce="d763d24d7aa2fd4f617d61888f11232d",nc=00000002,qop=auth,algorithm=MD5<br>
User-Agent: X-Lite release 1011s stamp 41150<br> Reason: SIP;description="User Hung Up"<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>send 537 bytes to udp/[<a href="http://202.56.7.133">202.56.7.133</a>]:6060 at 01:29:02.941894:<br>
------------------------------------------------------------------------<br> SIP/2.0 200 OK<br> Via: SIP/2.0/UDP 10.130.5.144:6060;branch=z9hG4bK-d87543-3d675138d06a9b12-1--d87543-;rport=6060;received=<a href="http://202.56.7.133">202.56.7.133</a><br>
From: "Emran"<<a href="http://sip:73814@8.14.147.7:60">sip:73814@8.14.147.7:60</a>>;tag=2130c455<br> To: "999"<<a href="http://sip:999@8.14.147.7:60">sip:999@8.14.147.7:60</a>>;tag=pBr0jSNFm2tDS<br>
Call-ID: NjMxZTAxOTlhNzg3ZmFkMDExZmJkYzM3NjRmODZmZTc.<br> CSeq: 3 BYE<br> User-Agent: FreeSWITCH-mod_sofia/1.0.rc6-exported<br> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH<br>
Supported: 100rel, precondition, timer<br> Content-Length: 0<br> <br> ------------------------------------------------------------------------<br>2008-06-30 18:29:02 [NOTICE] sofia.c:2126 sofia_handle_sip_i_state() Hangup sofia/internal/<a href="http://73814@8.14.147.7:60">73814@8.14.147.7:60</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>
2008-06-30 18:29:02 [NOTICE] switch_core_session.c:753 switch_core_session_thread() Session 2 (sofia/internal/<a href="http://73814@8.14.147.7:60">73814@8.14.147.7:60</a>) Ended<br>2008-06-30 18:29:02 [NOTICE] switch_core_session.c:755 switch_core_session_thread() Close Channel sofia/internal/<a href="http://73814@8.14.147.7:60">73814@8.14.147.7:60</a> [CS_HANGUP]<br>
*********************************************************************<br><br><div class="gmail_quote">On Tue, Jul 8, 2008 at 3:09 AM, Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">It could be many things... Firewall? Nat being a nazi... what does your dialplan look like? So many variables but from the info provided we need more to make a guess.<div>
<br></div><div>You'll need to provide a sip trace. You can get that via starting FreeSWITCH like this TPORT_LOG=1 ./freeswitch</div><div><br></div><div>If you're on windows you can set the ENV variable to collect the same output</div>
<div><br></div><div>Then you can place that up on our paste bin located at <span style="font-size: 11px;"><a href="http://pastebin:freeswitch@pastebin.freeswitch.org/" target="_blank">http://pastebin:freeswitch@pastebin.freeswitch.org</a></span></div>
<div><br></div><div>Thanks,</div><div>/b</div><div>PS: service iptables stop</div><div><br></div><div><br></div><div><br><div><div><div></div><div class="Wj3C7c">On Jul 7, 2008, at 4:03 PM, M.Emran wrote:<br></div></div><blockquote type="cite">
<div><div></div><div class="Wj3C7c">Hi,<br><br>I have configured FS like this.but voice is not transmitting between two endpoints.Can you help me where i did wrong ? Here is my configuration:<br><div><span></span> </div>
<div> <div style="margin-left: 1em; text-indent: -2em;"><a href="http://?ui=2&view=bsp&ver=1qygpcgurkovy#11afef97be4488a0_11afef267e7502b2_" target="_blank">-</a> <span></span></div><profile name="internal" domain="$${domain}"><br>
<aliases><br> <alias name="$${domain}"/><br> <alias name="default"/><br> </aliases><br> <gateways><br> <X-PRE-PROCESS cmd="include" data="internal/*.xml"/><br>
</gateways><br> <domains><br> </domains><br> <br> <settings><br> <param name="debug" value="1"/><br> <param name="sip-trace" value="no"/><br>
<param name="context" value="public"/><br> <param name="rfc2833-pt" value="101"/><br> <!-- port to bind to for sip traffic --><br> <param name="sip-port" value="60"/><br>
<param name="dialplan" value="XML"/><br> <param name="dtmf-duration" value="100"/><br> <param name="codec-prefs" value="$${global_codec_prefs}"/><br>
<param name="use-rtp-timer" value="true"/><br> <param name="rtp-timer-name" value="soft"/><br> <param name="aggressive-nat-detection" value="true"/><br>
<!-- ip address to use for rtp --><br> <param name="rtp-ip" value="$${local_ip_v4}"/><br> <!-- ip address to bind to --><br> <param name="sip-ip" value="$${local_ip_v4}"/><br>
<param name="hold-music" value="$${hold_music}"/><br> <param name="apply-nat-acl" value="rfc1918"/><br> <param name="record-template" value="$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/><br>
<param name="manage-presence" value="true"/><br> <param name="inbound-codec-negotiation" value="generous"/><br> <param name="tls" value="false"/><br>
<param name="tls-bind-params" value="transport=tls"/><br> <param name="tls-sip-port" value="5061"/><br> <param name="tls-cert-dir" value="$${base_dir}/conf/ssl"/><br>
<param name="tls-version" value="tlsv1"/><br> <br> <param name="inbound-no-media" value="true"/><br> <br> <br> <param name="nonce-ttl" value="60"/><br>
<param name="auth-calls" value="true"/><br> <param name="auth-all-packets" value="false"/><br> <param name="rtp-timeout-sec" value="300"/><br>
<param name="rtp-hold-timeout-sec" value="1800"/><br> <br> </settings><br></profile><br><br><br></div><br><br clear="all"><br>-- <br>Regards <br>---------- <br>M Emran<br>Inspiration Software Ltd<br>
</div></div> Web: <a href="http://www.inspiresoftbd.com/" target="_blank">www.inspiresoftbd.com</a> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><font color="#888888"><br><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<div>Brian West</div><div><a>sip:brian@freeswitch.org</a></div><div><br></div></div></span><br> </div><br></font></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards <br>---------- <br>M Emran<br>Managing Director<br>InSpiration Software Ltd.<br><br>Robin Tower<br>42-43, Purana Palton(4th)<br>Dhaka-1000,Bangladesh.<br>Phone# 880-2-9559461<br>
Cell# 880-1713033045<br><a href="mailto:E-mail%3Amonemran@gmail.com">E-mail:monemran@gmail.com</a><br>IM: <a href="mailto:mohammademran@hotmail.com">mohammademran@hotmail.com</a><br>Web: <a href="http://www.inspiresoftbd.com">www.inspiresoftbd.com</a>