/usr/local/freeswitch/scripts/lsvc/outbound.lua:113: attempt to concatenate local 'accepted' (a nil value)

That means on line 113 the variable "accepted" is trying to be used in some string but it's nil so it's throwing an error. If that was for your bridge string, that might be your problem.

-Avi



On Sun, Oct 7, 2012 at 5:19 AM, <stephen@picardogroup.com> wrote:
Using SIP. Outbound calls being connected but recipient hear nothing, only silence, then gets disconnected  (I have changed phone numbers to xxxxxxxxxx ) What does " attempt to concatenate local 'accepted' (a nil value)" mean?

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
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
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
2012-10-06 19:27:55.571762 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79155] client selected sexual style #5
2012-10-06 19:27:55.571762 [WARNING] switch_core_file.c:193 File has 2 channels, muxing to mono will occur.
2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: Query = select phone_number, usable from ccards where card_number = '01319188a35aca6fde49ea5cd7f980213af2'
2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 query: select phone_number, usable from ccards where card_number = '01319188a35aca6fde49ea5cd7f980213af2'
2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] Client entered credit card marked as usable
2012-10-06 19:27:57.211232 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] lsvc_in: handle_credit_card: prompting for expiration
2012-10-06 19:28:01.494010 [NOTICE] switch_channel.c:951 New Channel sofia/adtran/xxxxxxxxxx@69.194.150.50 [7863b09a-100d-11e2-9804-755b37dd9a6f]
2012-10-06 19:28:01.511347 [INFO] mod_dialplan_xml.c:485 Processing Private <xxxxxxxxxx>->xxxxxxxxxxx in context default
2012-10-06 19:28:01.511347 [INFO] switch_cpp.cpp:1227 lsvc: inbound: we're running @/usr/local/freeswitch/scripts/lsvc/inbound.lua

2012-10-06 19:28:01.511347 [NOTICE] switch_cpp.cpp:1227 lsvc: inbound: lsvc_in: main()
2012-10-06 19:28:01.511347 [INFO] switch_cpp.cpp:1227 query: select count(*) as c from nocalls where phone_number = 'xxxxxxxxxx'
2012-10-06 19:28:01.511347 [NOTICE] switch_cpp.cpp:599 Channel [sofia/adtran/xxxxxxxxxx@69.194.150.50] has been answered

2012-10-06 19:28:06.330444 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] lsvc_in: handle_credit_card: prompting for cvv

2012-10-06 19:28:25.911046 [INFO] switch_cpp.cpp:1227 query: select count(*) as c from nocalls where phone_number = 'xxxxxxxxxx'
2012-10-06 19:28:25.911046 [INFO] switch_cpp.cpp:1227 query: select * from clients where phone_number = 'xxxxxxxxxx'
2012-10-06 19:28:25.930620 [INFO] switch_cpp.cpp:1227 lsvc: inbound: using client phone number xxxxxxxxxx
2012-10-06 19:28:25.930620 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79156] Client hearing product choices
2012-10-06 19:28:28.013780 [INFO] switch_cpp.cpp:1227 query: select price from pricing where minutes = 15
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
2012-10-06 19:28:31.650657 [WARNING] switch_core_file.c:193 File has 2 channels, muxing to mono will occur.
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 query: select phone from staff where staff_id = 25
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] Found staff phone number: xxxxxxxxxx
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 query: select lower(style) as style from styles where id = 5
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] style name: xxxxx
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] userdata: 0x2aaac001bf18: 2b174856-100d-11e2-97f8-755b37dd9a6f
2012-10-06 19:28:31.650657 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: lsvc_out: main()
2012-10-06 19:28:31.650657 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: Customer UUID = 2b174856-100d-11e2-97f8-755b37dd9a6f
2012-10-06 19:28:31.650657 [INFO] switch_cpp.cpp:1227 lsvc: outbound: [79153] Dialing staff ID 25
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/1xxxxxxxxxx@69.194.153.50 [8a60d836-100d-11e2-980a-755b37dd9a6f]
2012-10-06 19:28:33.771553 [NOTICE] sofia_glue.c:4226 Pre-Answer sofia/internal/1xxxxxxxxxx@69.194.153.50!
2012-10-06 19:28:39.030618 [NOTICE] sofia.c:6964 Channel [sofia/internal/1xxxxxxxxxx@69.194.153.50] has been answered
2012-10-06 19:28:39.030618 [NOTICE] switch_channel.c:949 Rename Channel sofia/internal/1xxxxxxxxxx@69.194.153.50->lsvc-79153-out [8a60d836-100d-11e2-980a-755b37dd9a6f]
2012-10-06 19:28:39.030618 [NOTICE] switch_cpp.cpp:1227 lsvc: outbound: Call to staff initiated
2012-10-06 19:28:40.091278 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79156] client selected style #
2012-10-06 19:28:46.850909 [NOTICE] switch_cpp.cpp:637 Hangup sofia/adtran/xxxxxxxxxx@69.194.150.50 [CS_EXECUTE] [NORMAL_CLEARING]

2012-10-06 19:28:46.850909 [NOTICE] switch_core_session.c:1433 Session 397 (sofia/adtran/xxxxxxxxxx@69.194.150.50) Ended
2012-10-06 19:28:46.850909 [NOTICE] switch_core_session.c:1437 Close Channel sofia/adtran/xxxxxxxxxx@69.194.150.50 [CS_DESTROY]

2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: outbound: [79153] staff isn't currently available
2012-10-06 19:29:22.512199 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_out: Status = false
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 'accepted' (a nil value)
2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] database outcome: 1
2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] lsvc_out: acceptance failure: Staff 25 logged out
2012-10-06 19:29:22.512199 [INFO] switch_cpp.cpp:1227 lsvc: lsvc_out: [79153] Staff rejected the call.
2012-10-06 19:29:22.512199 [NOTICE] switch_cpp.cpp:1011 Hangup lsvc-79153-out [CS_SOFT_EXECUTE] [NORMAL_CLEARING]
2012-10-06 19:29:22.512199 [NOTICE] switch_core_session.c:1433 Session 398 (lsvc-79153-out) Ended
2012-10-06 19:29:22.512199 [NOTICE] switch_core_session.c:1437 Close Channel lsvc-79153-out [CS_DESTROY]
2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] Waiting for staff confirmation . . .
2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] staff contact attempt returned ~
2012-10-06 19:29:22.531326 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] staff did not accept call
2012-10-06 19:29:26.230714 [INFO] switch_cpp.cpp:1227 lsvc: inbound: [79153] Client hearing product choices
2012-10-06 19:29:32.992092 [NOTICE] switch_cpp.cpp:1227 lsvc: lsvc_in: clearing cleanup action 1
2012-10-06 19:29:32.992092 [NOTICE] switch_cpp.cpp:637 Hangup sofia/adtran/6613804123@69.194.150.50 [CS_EXECUTE] [NORMAL_CLEARING]









_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org