<div dir="ltr"><span style="font-family:Verdana;font-size:13px;background-color:rgb(255,255,255)">/usr/local/freeswitch/scripts/</span><span style="font-family:Verdana;font-size:13px;background-color:rgb(255,255,255)">lsvc/outbound.lua:113: attempt to concatenate local &#39;accepted&#39; (a nil value)</span><div>

<font face="Verdana"><br></font></div><div><font face="Verdana">That means on line 113 the variable &quot;accepted&quot; is trying to be used in some string but it&#39;s nil so it&#39;s throwing an error. If that was for your bridge string, that might be your problem.</font></div>

<div><font face="Verdana"><br clear="all"></font><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span><br></div><br>
<br><br><div class="gmail_quote">On Sun, Oct 7, 2012 at 5:19 AM,  <span dir="ltr">&lt;<a href="mailto:stephen@picardogroup.com" target="_blank">stephen@picardogroup.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><span style="font-size:10pt;font-family:Verdana"><div>Using SIP. Outbound calls being connected but recipient hear nothing, only silence, then gets disconnected  (I have changed phone numbers to xxxxxxxxxx ) What does &quot; attempt to concatenate local &#39;accepted&#39; (a nil value)&quot; mean?<br>

</div><div><br></div><div>2012-10-06 19:27:29.510684 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] lsvc_in: choose_a_product: client chose staff id # 25<br>2012-10-06 19:27:29.510684 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] lsvc_in: handle_credit_card: Client entering credit card information<br>

2012-10-06 19:27:29.510684 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] lsvc_in: handle_credit_card: prompting for credit card number<br>2012-10-06 19:27:55.571762 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79155] client selected sexual style #5<br>

2012-10-06 19:27:55.571762 [WARNING] switch_core_file.c:193 File has 2 channels, muxing to mono will occur.<br>2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: Query = select phone_number, usable from ccards where card_number = &#39;01319188a35aca6fde49ea5cd7f980213af2&#39;<br>

2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 query: select phone_number, usable from ccards where card_number = &#39;01319188a35aca6fde49ea5cd7f980213af2&#39;<br>2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] Client entered credit card marked as usable<br>

2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] lsvc_in: handle_credit_card: prompting for expiration<br>2012-10-06 19:28:01.494010 [NOTICE] switch_channel.c:951 New Channel sofia/adtran/<a href="mailto:xxxxxxxxxx@69.194.150.50" target="_blank">xxxxxxxxxx@69.194.150.50</a> [7863b09a-100d-11e2-9804-755b37dd9a6f]<br>

2012-10-06 19:28:01.511347 [INFO] mod_dialplan_xml.c:485 Processing Private &lt;xxxxxxxxxx&gt;-&gt;xxxxxxxxxxx in context default<br>2012-10-06 19:28:01.511347 [INFO] switch_cpp.cpp:1227 lsvc: inbound: we&#39;re running @/usr/local/freeswitch/scripts/lsvc/inbound.lua<br>

<br>2012-10-06 19:28:01.511347 [NOTICE] switch_cpp.cpp:1227 lsvc: inbound: lsvc_in: main()<br>2012-10-06 19:28:01.511347 [INFO] switch_cpp.cpp:1227 query: select count(*) as c from nocalls where phone_number = &#39;xxxxxxxxxx&#39;<br>

2012-10-06 19:28:01.511347 [NOTICE] switch_cpp.cpp:599 Channel [sofia/adtran/<a href="mailto:xxxxxxxxxx@69.194.150.50" target="_blank">xxxxxxxxxx@69.194.150.50</a>] has been answered<br><br>2012-10-06 19:28:06.330444 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] lsvc_in: handle_credit_card: prompting for cvv<br>

<br>2012-10-06 19:28:25.911046 [INFO] switch_cpp.cpp:1227 query: select count(*) as c from nocalls where phone_number = &#39;xxxxxxxxxx&#39;<br>2012-10-06 19:28:25.911046 [INFO] switch_cpp.cpp:1227 query: select * from clients where phone_number = &#39;xxxxxxxxxx&#39;<br>

2012-10-06 19:28:25.930620 [INFO] switch_cpp.cpp:1227 lsvc: inbound: using client phone number xxxxxxxxxx<br>2012-10-06 19:28:25.930620 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79156] Client hearing product choices<br>
2012-10-06 19:28:28.013780 [INFO] switch_cpp.cpp:1227 query: select price from pricing where minutes = 15<br>
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] lsvc_in: luarun command: lsvc/lsvc_out.lua 2b174856-100d-11e2-97f8-755b37dd9a6f 25 25 79153 2158434087 5 15<br>2012-10-06 19:28:31.650657 [WARNING] switch_core_file.c:193 File has 2 channels, muxing to mono will occur.<br>

2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc<br>2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 query: select phone from staff where staff_id = 25</div><div>2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] Found staff phone number: xxxxxxxxxx<br>

2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 query: select lower(style) as style from styles where id = 5<br>2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] style name: xxxxx<br>2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] userdata: 0x2aaac001bf18: 2b174856-100d-11e2-97f8-755b37dd9a6f<br>

2012-10-06 19:28:31.650657 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: lsvc_out: main()<br>2012-10-06 19:28:31.650657 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: Customer UUID = 2b174856-100d-11e2-97f8-755b37dd9a6f<br>
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: outbound: [79153] Dialing staff ID 25<br>
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 s_type is: production, host is: lcr/12012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 fstools: create_outbound_session: Dialstring: {jitterbuffer_msec=180, ignore_early_media=true, originate_timeout=120}lcr/1xxxxxxxxxx2012-10-06 19:28:31.671228 [NOTICE] switch_channel.c:951 New Channel sofia/internal/<a href="mailto:1xxxxxxxxxx@69.194.153.50" target="_blank">1xxxxxxxxxx@69.194.153.50</a> [8a60d836-100d-11e2-980a-755b37dd9a6f]<br>

2012-10-06 19:28:33.771553 [NOTICE] sofia_glue.c:4226 Pre-Answer sofia/internal/<a href="mailto:1xxxxxxxxxx@69.194.153.50" target="_blank">1xxxxxxxxxx@69.194.153.50</a>!<br>2012-10-06 19:28:39.030618 [NOTICE] sofia.c:6964 Channel [sofia/internal/<a href="mailto:1xxxxxxxxxx@69.194.153.50" target="_blank">1xxxxxxxxxx@69.194.153.50</a>] has been answered<br>

2012-10-06 19:28:39.030618 [NOTICE] switch_channel.c:949 Rename Channel sofia/internal/1xxxxxxxxxx@69.194.153.50-&gt;lsvc-79153-out [8a60d836-100d-11e2-980a-755b37dd9a6f]<br>2012-10-06 19:28:39.030618 [NOTICE] switch_cpp.cpp:1227 lsvc: outbound: Call to staff initiated<br>

2012-10-06 19:28:40.091278 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79156] client selected style #<br>2012-10-06 19:28:46.850909 [NOTICE] switch_cpp.cpp:637 Hangup sofia/adtran/<a href="mailto:xxxxxxxxxx@69.194.150.50" target="_blank">xxxxxxxxxx@69.194.150.50</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>

<br>2012-10-06 19:28:46.850909 [NOTICE] switch_core_session.c:1433 Session 397 (sofia/adtran/<a href="mailto:xxxxxxxxxx@69.194.150.50" target="_blank">xxxxxxxxxx@69.194.150.50</a>) Ended<br>2012-10-06 19:28:46.850909 [NOTICE] switch_core_session.c:1437 Close Channel sofia/adtran/<a href="mailto:xxxxxxxxxx@69.194.150.50" target="_blank">xxxxxxxxxx@69.194.150.50</a> [CS_DESTROY]<br>

<br>2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: outbound: [79153] staff isn&#39;t currently available<br>2012-10-06 19:29:22.512199 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: Status = false<br>2012-10-06 19:29:22.512199 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: lsvc_out: Error /usr/local/freeswitch/scripts/lsvc/outbound.lua:113: attempt to concatenate local &#39;accepted&#39; (a nil value)<br>

2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] database outcome: 1<br>2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] lsvc_out: acceptance failure: Staff 25 logged out<br>

2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] Staff rejected the call.<br>2012-10-06 19:29:22.512199 [NOTICE] switch_cpp.cpp:1011 Hangup lsvc-79153-out [CS_SOFT_EXECUTE] [NORMAL_CLEARING]<br>

2012-10-06 19:29:22.512199 [NOTICE] switch_core_session.c:1433 Session 398 (lsvc-79153-out) Ended<br>2012-10-06 19:29:22.512199 [NOTICE] switch_core_session.c:1437 Close Channel lsvc-79153-out [CS_DESTROY]<br>2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] Waiting for staff confirmation . . . <br>

2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] staff contact attempt returned ~<br>2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] staff did not accept call<br>2012-10-06 19:29:26.230714 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] Client hearing product choices<br>

2012-10-06 19:29:32.992092 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_in: clearing cleanup action 1<br>2012-10-06 19:29:32.992092 [NOTICE] switch_cpp.cpp:637 Hangup sofia/adtran/<a href="tel:6613804123" value="+16613804123" target="_blank">6613804123</a>@<a href="http://69.194.150.50" target="_blank">69.194.150.50</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>

<br><br><br><br><br><br></div><div><br></div><div><br></div></span></div>

<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>
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></div></div>