What does it mean that the first user is dialed &quot;three times?&quot; Also, put this log on <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a> and use FreeSWITCH Log as the syntax highlighting. That makes it much easier to read.<br>
<br>Thanks,<br>MC<br><br><div class="gmail_quote">On Wed, Aug 1, 2012 at 2:15 AM, ramesh <span dir="ltr">&lt;<a href="mailto:ramesh_mind@yahoo.com" target="_blank">ramesh_mind@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Team,<br>
<br>
I made a script to dial a user , and if not answered  the second user should<br>
get the dial. Everything works file , Except the first user is dialed for 3<br>
times , if the user is busy or unanswered , i was trying to figure out what<br>
could be the problem for this issue, but i couldn&#39;t .<br>
<br>
Can Anyone Figure out what is the reason for this issue.<br>
below is my lua dial script<br>
<br>
session:execute(&quot;bridge&quot;,&quot;{ignore_early_media=true,monitor_early_media_fail=user_busy:1:480+620!destination_out_of_order:2:1776.7,originate_continue_on_timeout=true}sofia/gateway/<a href="http://bandwidth.com/+919xxxxxxxx|sofia/gateway/bandwidth.com/+919xxxxxxxx" target="_blank">bandwidth.com/+919xxxxxxxx|sofia/gateway/bandwidth.com/+919xxxxxxxx</a>&quot;);<br>

<br>
<br>
following is the log i can get.<br>
<br>
Any Help or suggestion would be really helpful!<br>
<br>
[NOTICE] sofia.c:5594 Ring-Ready sofia/internal/<a href="tel:%2B919677080275" value="+919677080275">+919677080275</a>!<br>
2012-08-01 07:09:13.212635 [DEBUG] switch_ivr_originate.c:1164 Raw Codec<br>
Activation Success L16@16000hz 1 channel 20ms<br>
2012-08-01 07:09:13.212635 [DEBUG] switch_core_codec.c:216<br>
rtmp/default/<a href="tel:%2B542914850488" value="+542914850488">+542914850488</a> Push codec L16:70<br>
2012-08-01 07:09:13.212635 [DEBUG] switch_ivr_originate.c:1227 Play Ringback<br>
Tone [%(2000,4000,440,480)]<br>
2012-08-01 07:09:16.532655 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:16.532655 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia.c:5502 Channel<br>
sofia/internal/+919677080275 entering state [proceeding][183]<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia.c:5513 Remote SDP:<br>
v=0<br>
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14<br>
s=SIP Media Capabilities<br>
c=IN IP4 65.115.130.14<br>
t=0 0<br>
m=audio 10382 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=ptime:20<br>
<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[SPEEX:99:16000:20:42200]<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[G7221:115:32000:20:48000]<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[G7221:107:16000:20:32000]<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[G722:9:8000:20:64000]<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:2919 Set Codec<br>
sofia/internal/+919677080275 PCMU/8000 20 ms 160 samples 64000 bits<br>
2012-08-01 07:09:16.552637 [DEBUG] switch_core_codec.c:111<br>
sofia/internal/+919677080275 Original read codec set to PCMU:0<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send<br>
payload to 101<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3171 AUDIO RTP<br>
[sofia/internal/+919677080275] 10.244.15.45 port 30506 -&gt; 65.115.130.14 port<br>
10382 codec: 0 ms: 20<br>
2012-08-01 07:09:16.552637 [DEBUG] switch_rtp.c:1661 Starting timer [soft]<br>
160 bytes per 20ms<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3435 Set 2833 dtmf send<br>
payload to 101<br>
2012-08-01 07:09:16.552637 [DEBUG] sofia_glue.c:3441 Set 2833 dtmf receive<br>
payload to 101<br>
2012-08-01 07:09:16.552637 [NOTICE] sofia_glue.c:3945 Pre-Answer<br>
sofia/internal/+919677080275!<br>
2012-08-01 07:09:16.552637 [DEBUG] switch_channel.c:2936<br>
(sofia/internal/+919677080275) Callstate Change RINGING -&gt; EARLY<br>
2012-08-01 07:09:16.552637 [DEBUG] switch_channel.c:2978 Send signal<br>
rtmp/default/+542914850488 [BREAK]<br>
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2782 Adding tone spec<br>
480,620 index 0 hits 1<br>
2012-08-01 07:09:16.572648 [DEBUG] switch_core_media_bug.c:457 Attaching BUG<br>
to sofia/internal/+919677080275<br>
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2782 Adding tone spec<br>
1776.7 index 1 hits 2<br>
2012-08-01 07:09:16.572648 [DEBUG] switch_ivr_async.c:2877<br>
sofia/internal/+919677080275 bug already running<br>
2012-08-01 07:09:16.572648 [DEBUG] switch_rtp.c:3205 Correct ip/port<br>
confirmed.<br>
2012-08-01 07:09:16.572648 [DEBUG] switch_core_io.c:340 Setting BUG Codec<br>
PCMU:0<br>
2012-08-01 07:09:33.072650 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:33.072650 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:33.092641 [DEBUG] sofia.c:5502 Channel<br>
sofia/internal/+919677080275 entering state [proceeding][183]<br>
2012-08-01 07:09:33.092641 [DEBUG] sofia.c:5510 Duplicate SDP<br>
v=0<br>
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14<br>
s=SIP Media Capabilities<br>
c=IN IP4 65.115.130.14<br>
t=0 0<br>
m=audio 10382 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=ptime:20<br>
<br>
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]<br>
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:2853 Already using PCMU<br>
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send<br>
payload to 101<br>
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:3141 Audio params are<br>
unchanged for sofia/internal/+919677080275.<br>
2012-08-01 07:09:33.092641 [DEBUG] sofia_glue.c:3151<br>
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0<br>
2012-08-01 07:09:36.372634 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:36.372634 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:36.392686 [DEBUG] sofia.c:5502 Channel<br>
sofia/internal/+919677080275 entering state [proceeding][183]<br>
2012-08-01 07:09:36.392686 [DEBUG] sofia.c:5510 Duplicate SDP<br>
v=0<br>
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14<br>
s=SIP Media Capabilities<br>
c=IN IP4 65.115.130.14<br>
t=0 0<br>
m=audio 10382 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=ptime:20<br>
<br>
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]<br>
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:2853 Already using PCMU<br>
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send<br>
payload to 101<br>
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:3141 Audio params are<br>
unchanged for sofia/internal/+919677080275.<br>
2012-08-01 07:09:36.392686 [DEBUG] sofia_glue.c:3151<br>
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0<br>
2012-08-01 07:09:38.512638 [DEBUG] libdingaling.c:1624 Sent keep alive<br>
signal<br>
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:55.272635 [DEBUG] switch_core_session.c:875 Send signal<br>
sofia/internal/+919677080275 [BREAK]<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5502 Channel<br>
sofia/internal/+919677080275 entering state [proceeding][183]<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5510 Duplicate SDP<br>
v=0<br>
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14<br>
s=SIP Media Capabilities<br>
c=IN IP4 65.115.130.14<br>
t=0 0<br>
m=audio 10382 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=ptime:20<br>
<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:2853 Already using PCMU<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send<br>
payload to 101<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3141 Audio params are<br>
unchanged for sofia/internal/+919677080275.<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3151<br>
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5502 Channel<br>
sofia/internal/+919677080275 entering state [proceeding][183]<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia.c:5510 Duplicate SDP<br>
v=0<br>
o=Sonus_UAC 31326 20180 IN IP4 65.115.130.14<br>
s=SIP Media Capabilities<br>
c=IN IP4 65.115.130.14<br>
t=0 0<br>
m=audio 10382 RTP/AVP 0 101<br>
a=rtpmap:0 PCMU/8000<br>
a=rtpmap:101 telephone-event/8000<br>
a=fmtp:101 0-15<br>
a=ptime:20<br>
<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
[PCMU:0:8000:20:64000]/[PCMU:0:8000:20:64000]<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:2853 Already using PCMU<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:4912 Set 2833 dtmf send<br>
payload to 101<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3141 Audio params are<br>
unchanged for sofia/internal/+919677080275.<br>
2012-08-01 07:09:55.292634 [DEBUG] sofia_glue.c:3151<br>
sofia/internal/+919677080275 Setting audio receive payload in Re-INVITE to 0<br>
2012-08-01 07:10:11.012635 [DEBUG] switch_core_codec.c:241<br>
rtmp/default/+542914850488 Restore previous codec SPEEX:99.<br>
2012-08-01 07:10:11.012635 [DEBUG] switch_channel.c:2852<br>
(sofia/internal/+919677080275) Callstate Change EARLY -&gt; HANGUP<br>
2012-08-01 07:10:11.012635 [NOTICE] switch_ivr_originate.c:3182 Hangup<br>
sofia/internal/+919677080275 [CS_CONSUME_MEDIA] [NO_ANSWER]<br>
<br>
<br>
Thanks<br>
Ramesh<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-Auto-Retrying-a-call-for-3-times-if-it-is-not-answered-tp7581406.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Freeswitch-Auto-Retrying-a-call-for-3-times-if-it-is-not-answered-tp7581406.html</a><br>

Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>