Nibble Billing deducted balance from account even call doesn't come to my mobile number
Hi Team, Strange issue with Nibblebill module. My setup is like that I am using newfies-dialer for making call from server to any number. I am using Nibblebill for realtime billing. Call don't come to my mobile and status at Freeswitch changed to Answer and nibblebill start deduction of my balance from define tables...... *Below is the FS_CLI output:* 2012-07-31 03:10:09.668193 [DEBUG] switch_ivr_originate.c:1947 Parsing global variables 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [plivo_request_uuid]=[c395799a-dade-11e1-b432-00163e908c9f] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [plivo_answer_url]=[http://46.252.152.160:8008/api/v1/answercall/] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [plivo_hangup_url]=[http://46.252.152.160:8008/api/v1/hangupcall/] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [origination_caller_id_number]=[0498722120] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [bridge_early_media]=[true] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [hangup_after_bridge]=[true] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [hangup_after_bridge]=[true] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [nibble_account]=[97183008] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [nibble_rate]=[5] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [nibble_increment]=[30] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [plivo_from]=[0498722120] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [plivo_to]=[919718300881] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [plivo_app]=[true] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [absolute_codec_string]=[PCMA] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [originate_timeout]=[60] 2012-07-31 03:10:09.668193 [DEBUG] switch_event.c:1519 Parsing variable [ignore_early_media]=[true] 2012-07-31 03:10:09.668193 [NOTICE] switch_channel.c:926 New Channel sofia/external/919718300881 [c3961efe-dade-11e1-b60f-1782e99edc0a] 2012-07-31 03:10:09.668193 [DEBUG] mod_sofia.c:4705 (sofia/external/919718300881) State Change CS_NEW -> CS_INIT 2012-07-31 03:10:09.668193 [DEBUG] switch_core_session.c:1224 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:385 (sofia/external/919718300881) Running State Change CS_INIT 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:424 (sofia/external/919718300881) State INIT 2012-07-31 03:10:09.668193 [DEBUG] mod_sofia.c:85 sofia/external/919718300881 SOFIA INIT 2012-07-31 03:10:09.668193 [DEBUG] mod_sofia.c:125 (sofia/external/919718300881) State Change CS_INIT -> CS_ROUTING 2012-07-31 03:10:09.668193 [DEBUG] switch_core_session.c:1224 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:424 (sofia/external/919718300881) State INIT going to sleep 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:385 (sofia/external/919718300881) Running State Change CS_ROUTING 2012-07-31 03:10:09.668193 [DEBUG] switch_channel.c:1919 (sofia/external/919718300881) Callstate Change DOWN -> RINGING 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:433 (sofia/external/919718300881) State ROUTING 2012-07-31 03:10:09.668193 [DEBUG] mod_sofia.c:148 sofia/external/919718300881 SOFIA ROUTING 2012-07-31 03:10:09.668193 [DEBUG] switch_ivr_originate.c:67 (sofia/external/919718300881) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2012-07-31 03:10:09.668193 [DEBUG] switch_core_session.c:1224 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:453 Attempting to bill at $5 per minute to account 97183008 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:383 Doing lookup query [SELECT cash AS nibble_balance FROM accounts WHERE id='97183008'] 2012-07-31 03:10:09.668193 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:393 Retrieved current balance for account 97183008 (balance = 500.500000) 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:469 Comparing 500.500000 to hangup balance of 0.000000 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:383 Doing lookup query [SELECT cash AS nibble_balance FROM accounts WHERE id='97183008'] 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:393 Retrieved current balance for account 97183008 (balance = 500.500000) 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:433 (sofia/external/919718300881) State ROUTING going to sleep 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:385 (sofia/external/919718300881) Running State Change CS_CONSUME_MEDIA 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:452 (sofia/external/919718300881) State CONSUME_MEDIA 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:453 Attempting to bill at $5 per minute to account 97183008 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:383 Doing lookup query [SELECT cash AS nibble_balance FROM accounts WHERE id='97183008'] 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:393 Retrieved current balance for account 97183008 (balance = 500.500000) 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:469 Comparing 500.500000 to hangup balance of 0.000000 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:383 Doing lookup query [SELECT cash AS nibble_balance FROM accounts WHERE id='97183008'] 2012-07-31 03:10:09.668193 [DEBUG] mod_nibblebill.c:393 Retrieved current balance for account 97183008 (balance = 500.500000) 2012-07-31 03:10:09.668193 [INFO] switch_core_session.c:1376 sofia/external/919718300881 setting session heartbeat to 30 second(s). 2012-07-31 03:10:09.668193 [DEBUG] switch_core_state_machine.c:452 (sofia/external/919718300881) State CONSUME_MEDIA going to sleep 2012-07-31 03:10:09.668193 [DEBUG] sofia.c:5745 Channel sofia/external/919718300881 entering state [calling][0] 2012-07-31 03:10:09.708195 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:09.708195 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:09.708195 [DEBUG] sofia.c:5745 Channel sofia/external/919718300881 entering state [calling][0] 2012-07-31 03:10:20.808198 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:20.808198 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:20.808198 [DEBUG] sofia.c:5745 Channel sofia/external/919718300881 entering state [proceeding][183] 2012-07-31 03:10:20.808198 [DEBUG] sofia.c:5756 Remote SDP: v=0 o=root 3607 3607 IN IP4 31.216.132.13 s=session c=IN IP4 31.216.132.13 t=0 0 m=audio 19974 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 2012-07-31 03:10:20.808198 [DEBUG] sofia_glue.c:4915 Audio Codec Compare [PCMA:8:8000:20:64000]/[PCMA:8:8000:20:64000] 2012-07-31 03:10:20.808198 [DEBUG] sofia_glue.c:2995 Set Codec sofia/external/919718300881 PCMA/8000 20 ms 160 samples 64000 bits 2012-07-31 03:10:20.808198 [DEBUG] switch_core_codec.c:111 sofia/external/919718300881 Original read codec set to PCMA:8 2012-07-31 03:10:20.808198 [DEBUG] sofia_glue.c:5029 Set 2833 dtmf send payload to 101 2012-07-31 03:10:20.808198 [DEBUG] sofia_glue.c:3244 AUDIO RTP [sofia/external/919718300881] 46.252.152.160 port 26726 -> 31.216.132.13 port 19974 codec: 8 ms: 20 2012-07-31 03:10:20.808198 [DEBUG] switch_rtp.c:1676 Starting timer [soft] 160 bytes per 20ms 2012-07-31 03:10:20.808198 [DEBUG] sofia_glue.c:3508 Set 2833 dtmf send payload to 101 2012-07-31 03:10:20.808198 [DEBUG] sofia_glue.c:3514 Set 2833 dtmf receive payload to 101 2012-07-31 03:10:20.808198 [DEBUG] sofia_glue.c:3541 sofia/external/919718300881 Set rtp dtmf delay to 40 2012-07-31 03:10:20.808198 [NOTICE] sofia_glue.c:4052 Pre-Answer sofia/external/919718300881! 2012-07-31 03:10:20.808198 [DEBUG] switch_channel.c:3019 (sofia/external/919718300881) Callstate Change RINGING -> EARLY 2012-07-31 03:10:48.328196 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:48.328196 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:48.328196 [DEBUG] sofia.c:5745 Channel sofia/external/919718300881 entering state [completing][200] 2012-07-31 03:10:48.328196 [DEBUG] sofia.c:5756 Remote SDP: v=0 o=root 3607 3608 IN IP4 31.216.132.13 s=session c=IN IP4 31.216.132.13 t=0 0 m=audio 19974 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 2012-07-31 03:10:48.328196 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:48.328196 [DEBUG] switch_core_session.c:919 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:48.328196 [DEBUG] sofia.c:5745 Channel sofia/external/919718300881 entering state [ready][200] 2012-07-31 03:10:48.328196 [DEBUG] switch_channel.c:3278 (sofia/external/919718300881) Callstate Change EARLY -> ACTIVE 2012-07-31 03:10:48.328196 [DEBUG] switch_ivr_originate.c:3330 Originate Resulted in Success: [sofia/external/919718300881] 2012-07-31 03:10:48.328196 [NOTICE] sofia.c:6420 Channel [sofia/external/919718300881] has been answered 2012-07-31 03:10:48.328196 [INFO] switch_channel.c:2744 sofia/external/919718300881 Flipping CID from "" <0498722120> to "Outbound Call" <919718300881> 2012-07-31 03:10:48.328196 [DEBUG] mod_commands.c:3616 (sofia/external/919718300881) State Change CS_CONSUME_MEDIA -> CS_EXECUTE 2012-07-31 03:10:48.328196 [DEBUG] switch_core_session.c:1224 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:48.328196 [DEBUG] switch_core_state_machine.c:385 (sofia/external/919718300881) Running State Change CS_EXECUTE 2012-07-31 03:10:48.328196 [DEBUG] switch_core_state_machine.c:440 (sofia/external/919718300881) State EXECUTE 2012-07-31 03:10:48.328196 [DEBUG] mod_sofia.c:241 sofia/external/919718300881 SOFIA EXECUTE 2012-07-31 03:10:48.328196 [INFO] switch_core_session.c:1376 sofia/external/919718300881 setting session heartbeat to 30 second(s). 2012-07-31 03:10:48.328196 [DEBUG] switch_core_state_machine.c:196 sofia/external/919718300881 Standard EXECUTE EXECUTE sofia/external/919718300881 socket(127.0.0.1:8084 async full) 2012-07-31 03:10:48.328196 [DEBUG] mod_nibblebill.c:612 Received request via SESSION_HEARTBEAT! 2012-07-31 03:10:48.328196 [DEBUG] mod_nibblebill.c:453 Attempting to bill at $5 per minute to account 97183008 2012-07-31 03:10:48.328196 [INFO] mod_nibblebill.c:505 Beginning new billing on c3961efe-dade-11e1-b60f-1782e99edc0a 2012-07-31 03:10:48.328196 [DEBUG] mod_nibblebill.c:511 0 seconds passed since last bill time of 2012-07-31 03:10:48 2012-07-31 03:10:48.328196 [DEBUG] mod_nibblebill.c:528 Billing $2.500000 to 97183008 (Call: c3961efe-dade-11e1-b60f-1782e99edc0a / 0.000000 so far) 2012-07-31 03:10:48.328196 [DEBUG] mod_nibblebill.c:338 Doing update query [UPDATE accounts SET cash=cash-30 WHERE id='97183008'] 2012-07-31 03:10:48.328196 [DEBUG] mod_nibblebill.c:383 Doing lookup query [SELECT cash AS nibble_balance FROM accounts WHERE id='97183008'] 2012-07-31 03:10:48.328196 [DEBUG] mod_nibblebill.c:393 Retrieved current balance for account 97183008 (balance = 470.500000) 2012-07-31 03:10:48.348194 [DEBUG] switch_core_session.c:1056 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:48.348194 [DEBUG] switch_core_session.c:1056 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:48.368196 [DEBUG] switch_rtp.c:3253 Correct ip/port confirmed. 2012-07-31 03:10:48.368196 [DEBUG] switch_ivr.c:598 sofia/external/919718300881 Command Execute set(plivo_app=true) EXECUTE sofia/external/919718300881 set(plivo_app=true) 2012-07-31 03:10:48.368196 [DEBUG] mod_dptools.c:1305 sofia/external/919718300881 SET [plivo_app]=[true] 2012-07-31 03:10:48.408195 [DEBUG] switch_ivr.c:598 sofia/external/919718300881 Command Execute set(hangup_after_bridge=false) EXECUTE sofia/external/919718300881 set(hangup_after_bridge=false) 2012-07-31 03:10:48.408195 [DEBUG] mod_dptools.c:1305 sofia/external/919718300881 SET [hangup_after_bridge]=[false] 2012-07-31 03:10:48.468630 [DEBUG] switch_core_session.c:1056 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:48.488187 [DEBUG] switch_ivr.c:598 sofia/external/919718300881 Command Execute speak(flite|slt|Hello World this is demo IVR message) EXECUTE sofia/external/919718300881 speak(flite|slt|Hello World this is demo IVR message) 2012-07-31 03:10:48.488187 [DEBUG] switch_ivr_play_say.c:2473 OPEN TTS flite 2012-07-31 03:10:48.488187 [DEBUG] switch_ivr_play_say.c:2482 Raw Codec Activated 2012-07-31 03:10:48.608191 [DEBUG] switch_ivr_play_say.c:2164 Speaking text: Hello World this is demo IVR message 2012-07-31 03:10:51.428188 [DEBUG] switch_ivr_play_say.c:2361 done speaking text 2012-07-31 03:10:51.428188 [DEBUG] switch_core_session.c:1056 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:51.428188 [DEBUG] mod_event_socket.c:2644 (sofia/external/919718300881) State Change CS_EXECUTE -> CS_RESET 2012-07-31 03:10:51.428188 [DEBUG] switch_core_session.c:1224 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:51.448191 [DEBUG] switch_ivr.c:598 sofia/external/919718300881 Command Execute hangup() EXECUTE sofia/external/919718300881 hangup() 2012-07-31 03:10:51.448191 [DEBUG] switch_channel.c:2882 (sofia/external/919718300881) Callstate Change ACTIVE -> HANGUP 2012-07-31 03:10:51.448191 [NOTICE] mod_dptools.c:1134 Hangup sofia/external/919718300881 [CS_RESET] [NORMAL_CLEARING] 2012-07-31 03:10:51.448191 [DEBUG] switch_channel.c:2905 Send signal sofia/external/919718300881 [KILL] 2012-07-31 03:10:51.448191 [DEBUG] switch_core_session.c:1224 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:51.448191 [DEBUG] switch_core_session.c:2329 sofia/external/919718300881 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2012-07-31 03:10:51.448191 [DEBUG] switch_core_session.c:2329 sofia/external/919718300881 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:440 (sofia/external/919718300881) State EXECUTE going to sleep 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:385 (sofia/external/919718300881) Running State Change CS_HANGUP 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:625 (sofia/external/919718300881) State HANGUP 2012-07-31 03:10:51.448191 [DEBUG] mod_sofia.c:469 Channel sofia/external/919718300881 hanging up, cause: NORMAL_CLEARING 2012-07-31 03:10:51.448191 [DEBUG] mod_sofia.c:517 Sending BYE to sofia/external/919718300881 2012-07-31 03:10:51.448191 [DEBUG] mod_nibblebill.c:453 Attempting to bill at $5 per minute to account 97183008 2012-07-31 03:10:51.448191 [DEBUG] mod_nibblebill.c:511 -26 seconds passed since last bill time of 2012-07-31 03:11:18 2012-07-31 03:10:51.448191 [DEBUG] mod_nibblebill.c:383 Doing lookup query [SELECT cash AS nibble_balance FROM accounts WHERE id='97183008'] 2012-07-31 03:10:51.448191 [DEBUG] mod_nibblebill.c:393 Retrieved current balance for account 97183008 (balance = 470.500000) 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:47 sofia/external/919718300881 Standard HANGUP, cause: NORMAL_CLEARING 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:625 (sofia/external/919718300881) State HANGUP going to sleep 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:416 (sofia/external/919718300881) State Change CS_HANGUP -> CS_REPORTING 2012-07-31 03:10:51.448191 [DEBUG] switch_core_session.c:1224 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:385 (sofia/external/919718300881) Running State Change CS_REPORTING 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:685 (sofia/external/919718300881) State REPORTING 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:79 sofia/external/919718300881 Standard REPORTING, cause: NORMAL_CLEARING 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:685 (sofia/external/919718300881) State REPORTING going to sleep 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:410 (sofia/external/919718300881) State Change CS_REPORTING -> CS_DESTROY 2012-07-31 03:10:51.448191 [DEBUG] switch_core_session.c:1224 Send signal sofia/external/919718300881 [BREAK] 2012-07-31 03:10:51.448191 [DEBUG] switch_core_session.c:1424 Session 105 (sofia/external/919718300881) Locked, Waiting on external entities 2012-07-31 03:10:51.448191 [NOTICE] switch_core_session.c:1442 Session 105 (sofia/external/919718300881) Ended 2012-07-31 03:10:51.448191 [NOTICE] switch_core_session.c:1444 Close Channel sofia/external/919718300881 [CS_DESTROY] 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:514 (sofia/external/919718300881) Callstate Change HANGUP -> DOWN 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:517 (sofia/external/919718300881) Running State Change CS_DESTROY 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:527 (sofia/external/919718300881) State DESTROY 2012-07-31 03:10:51.448191 [DEBUG] mod_sofia.c:374 sofia/external/919718300881 SOFIA DESTROY 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:86 sofia/external/919718300881 Standard DESTROY 2012-07-31 03:10:51.448191 [DEBUG] switch_core_state_machine.c:527 (sofia/external/919718300881) State DESTROY going to sleep if anything is required from my end then please let me know if will provide here.... -- Thanks and regards Virendra Bhati +91-9718300881 Asterisk Developer E-mail-: virbhati@gmail.com Skype id:- virbhati2 New Delhi(India)
I have the same problem. When i am calling from one my extension to another all is ok, but when i am calling to external number i got this message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in answered state". 31.07.2012 10:35, virendra bhati пишет:
mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state
-- Evgeniy Movlyan, BestNet Ltd.
Hi, Well its works perfect for me, do you guys have ignore_early_media set in your outbound string, if no then set it and then see what happens. On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan" <evgeniy@bestnet.kharkov.ua> wrote:
I have the same problem. When i am calling from one my extension to another all is ok, but when i am calling to external number i got this message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in answered state".
31.07.2012 10:35, virendra bhati пишет:
mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
hi guy, I have simply written a voicemailrecording in lua. My dialplan extension is: <extension name="dorf_mailboxes" > <condition field="destination_number" expression="^44[0-9][0-9][0-9][0-9]\d*$"> <action application="set" data="msgtime=msg_${strftime(%Y_%m_%d_%H_%M_%S)}_${mailbox}.alaw"/> <action application="lua" data="recordmsg.lua $${dorf_mailbox_prefix}/${mailbox_to}/greeting.alaw ${mailbox} ${msgtime}"/> </condition> </extension> The luascript: -- simply mailbox recording -- parameters: -- mailbox, sender, message mailbox = argv[1]; from_box = argv[2]; msg_file = argv[3]; snd = "/usr/local/freeswitch/sounds/dorf"; file, errMsg = io.open( mailbox, "r" ); if not file then session:streamFile("/usr/local/freeswitch/sounds/dorf/mailbox_not.alaw") session:execute("transfer","dorf_now XML dorf_now"); else freeswitch.consoleLog("info", "msg_file is: " .. msg_file .. "\n"); session:execute("playback",mailbox); session:streamFile("/usr/local/freeswitch/sounds/ivr/beep.alaw") session:execute("record","/tmp/" .. msg_file .. " 180 200 3 "); session:execute("transfer","dorf_send XML dorf_send"); end I become the error: [ERR] mod_lua.cpp:198 /usr/local/freeswitch/scripts/recordmsg.lua:13 : attempt to concatenate global 'msg_file' (a nil value)M I have 3 arguments, only 2 arguments will be works. Can your help please? thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Hi, <action application="lua" data="recordmsg.lua $${dorf_mailbox_prefix}/${** mailbox_to}/greeting.alaw ${mailbox} ${msgtime}"/> 1st Argument: $${dorf_mailbox_prefix}/${**mailbox_to}/greeting.alaw 2nd Argument: ${mailbox} 3rd Argument: ${msgtime} Can you verify that the ${msgtime} is properly calculated and is not NULL at the taime of execution of application=lua ? Regards, Sammy On Tue, Jul 31, 2012 at 2:12 PM, Thomas Hoellriegel <admin@blindi.net>wrote:
hi guy, I have simply written a voicemailrecording in lua. My dialplan extension is: <extension name="dorf_mailboxes" > <condition field="destination_number" expression="^44[0-9][0-9][0-9]**[0-9]\d*$"> <action application="set" data="msgtime=msg_${strftime(%** Y_%m_%d_%H_%M_%S)}_${mailbox}.**alaw"/> <action application="lua" data="recordmsg.lua $${dorf_mailbox_prefix}/${**mailbox_to}/greeting.alaw ${mailbox} ${msgtime}"/> </condition> </extension>
The luascript:
-- simply mailbox recording -- parameters: -- mailbox, sender, message mailbox = argv[1]; from_box = argv[2]; msg_file = argv[3]; snd = "/usr/local/freeswitch/sounds/**dorf"; file, errMsg = io.open( mailbox, "r" ); if not file then session:streamFile("/usr/**local/freeswitch/sounds/dorf/** mailbox_not.alaw") session:execute("transfer","**dorf_now XML dorf_now"); else freeswitch.consoleLog("info", "msg_file is: " .. msg_file .. "\n"); session:execute("playback",**mailbox); session:streamFile("/usr/**local/freeswitch/sounds/ivr/**beep.alaw") session:execute("record","/**tmp/" .. msg_file .. " 180 200 3 "); session:execute("transfer","**dorf_send XML dorf_send"); end
I become the error: [ERR] mod_lua.cpp:198 /usr/local/freeswitch/scripts/**recordmsg.lua:13 : attempt to concatenate global 'msg_file' (a nil value)M
I have 3 arguments, only 2 arguments will be works. Can your help please? thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/**listinfo/blinde-misc<http://www.blindi.net/mailman/listinfo/blinde-misc>
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Hi SamyGo
1st Argument: $${dorf_mailbox_prefix}/${**mailbox_to}/greeting.alaw 2nd Argument: ${mailbox} 3rd Argument: ${msgtime}
Can you verify that the ${msgtime} is properly calculated and is not NULL at the taime of execution of application=lua ?
I like to save a message in the timestamp format: for example: msg_2012_31_07_15_32_31.alaw I read the current date and time from: ${msgtime} But i have no output. What is wrong please? thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
If you don't get an output on :
msgtime=msg_${strftime(%**Y_%m_%d_%H_%M_%S)}_${mailbox}.**alaw
${strftime(%**Y_%m_%d_%H_%M_%S)} I think the function strftime don't like the "_" Captures all the fields of the strftime separately and then concatenate into your required format formt he temporary variables. i.e year=${strftime(%**Y)} month=${strftime(%**M)} day=${strftime(%d)} and then string= ${year}_${month}_${day} On Tue, Jul 31, 2012 at 2:37 PM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hi SamyGo
1st Argument: $${dorf_mailbox_prefix}/${****mailbox_to}/greeting.alaw
2nd Argument: ${mailbox} 3rd Argument: ${msgtime}
Can you verify that the ${msgtime} is properly calculated and is not NULL at the taime of execution of application=lua ?
I like to save a message in the timestamp format: for example: msg_2012_31_07_15_32_31.alaw I read the current date and time from: ${msgtime} But i have no output. What is wrong please?
thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/**listinfo/blinde-misc<http://www.blindi.net/mailman/listinfo/blinde-misc>
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Hi SamyGo:
If you don't get an output on :
msgtime=msg_${strftime(%**Y_%m_%d_%H_%M_%S)}_${mailbox}.**alaw
${strftime(%**Y_%m_%d_%H_%M_%S)}
I think the function strftime don't like the "_"
Thanks, i have set the variable, and paste in to script as arguments.
So, you';ve changed the approach and set the required variable from XML dialplan and now you dont need to set that as Argument !? On Fri, Aug 3, 2012 at 12:43 PM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hi SamyGo:
If you don't get an output on :
msgtime=msg_${strftime(%**Y_%m_%d_%H_%M_%S)}_${mailbox}.**alaw
${strftime(%**Y_%m_%d_%H_%M_%S)}
I think the function strftime don't like the "_"
Thanks, i have set the variable, and paste in to script as arguments.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Hi SamyGo,
So, you';ve changed the approach and set the required variable from XML dialplan and now you dont need to set that as Argument !?
I have changed my dialplan to: <action application="set" data="year=${strftime(%Y)}"/> <action application="set" data="month=${strftime(%m)}"/> <action application="set" data="day=${strftime(%d)}"/> <action application="set" data="hours=${strftime(%H)}"/> <action application="set" data="minutes=${strftime(%M)}"/> <action application="set" data="seconds=${strftime(%S)}"/> <action application="set" data="string=msg_${year}_${month}_${day}_${hours}_${minutes}_ ${seconds}_${mailbox}_${caller_id_number}.alaw"/> I paste the arguments in to lua: -- parameters: for lua voicemail -- mailbox, sender, message, messagefile -- variables mailbox = argv[1]; from_box = argv[2]; msg = argv[3]; msg_save = argv[4]; ----------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
So this worked for you.? On Wed, Aug 8, 2012 at 1:28 PM, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi SamyGo,
So, you';ve changed the approach and set the required variable from XML
dialplan and now you dont need to set that as Argument !?
I have changed my dialplan to: <action application="set" data="year=${strftime(%Y)}"/> <action application="set" data="month=${strftime(%m)}"/> <action application="set" data="day=${strftime(%d)}"/> <action application="set" data="hours=${strftime(%H)}"/> <action application="set" data="minutes=${strftime(%M)}"**/> <action application="set" data="seconds=${strftime(%S)}"**/> <action application="set" data="string=msg_${year}_${**month}_${day}_${hours}_${**minutes}_ ${seconds}_${mailbox}_${**caller_id_number}.alaw"/> I paste the arguments in to lua: -- parameters: for lua voicemail -- mailbox, sender, message, messagefile
-- variables
mailbox = argv[1]; from_box = argv[2]; msg = argv[3]; msg_save = argv[4];
-----------------
Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/**listinfo/blinde-misc<http://www.blindi.net/mailman/listinfo/blinde-misc>
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
I believe you need to run this command "inline": <action application="set" data="msgtime=msg_${strftime(%Y_%m_%d_%H_%M_%S)}_${mailbox}.alaw"/> Change it to this and try again: <action application="set" data="msgtime=msg_${strftime(%Y_%m_%d_%H_%M_%S)}_${mailbox}.alaw" inline="true"/> Let us know if it works or not. Also, your homework assignment will be to read this: http://wiki.freeswitch.org/wiki/Dialplan_XML#Inline_Actions And learn about hunting (or "parsing" phase) vs. execution phase of dialplan processing. :) -MC On Tue, Jul 31, 2012 at 2:12 AM, Thomas Hoellriegel <admin@blindi.net>wrote:
hi guy, I have simply written a voicemailrecording in lua. My dialplan extension is: <extension name="dorf_mailboxes" > <condition field="destination_number" expression="^44[0-9][0-9][0-9]**[0-9]\d*$"> <action application="set" data="msgtime=msg_${strftime(%** Y_%m_%d_%H_%M_%S)}_${mailbox}.**alaw"/> <action application="lua" data="recordmsg.lua $${dorf_mailbox_prefix}/${**mailbox_to}/greeting.alaw ${mailbox} ${msgtime}"/> </condition> </extension>
The luascript:
-- simply mailbox recording -- parameters: -- mailbox, sender, message mailbox = argv[1]; from_box = argv[2]; msg_file = argv[3]; snd = "/usr/local/freeswitch/sounds/**dorf"; file, errMsg = io.open( mailbox, "r" ); if not file then session:streamFile("/usr/**local/freeswitch/sounds/dorf/** mailbox_not.alaw") session:execute("transfer","**dorf_now XML dorf_now"); else freeswitch.consoleLog("info", "msg_file is: " .. msg_file .. "\n"); session:execute("playback",**mailbox); session:streamFile("/usr/**local/freeswitch/sounds/ivr/**beep.alaw") session:execute("record","/**tmp/" .. msg_file .. " 180 200 3 "); session:execute("transfer","**dorf_send XML dorf_send"); end
I become the error: [ERR] mod_lua.cpp:198 /usr/local/freeswitch/scripts/**recordmsg.lua:13 : attempt to concatenate global 'msg_file' (a nil value)M
I have 3 arguments, only 2 arguments will be works. Can your help please? thanks.
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Hi, I see that you've also turned on the bridge_early_media, for me that means if 183 comes from the b-leg then bridge it. And as soon the legs get bridged nibblebill session gets in action. Can you try setting it off/false ? http://wiki.freeswitch.org/wiki/Variable_bridge_early_media BR Sammy On Tue, Jul 31, 2012 at 1:06 PM, SamyGo <govoiper@gmail.com> wrote:
Hi, Well its works perfect for me, do you guys have ignore_early_media set in your outbound string, if no then set it and then see what happens. On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan" <evgeniy@bestnet.kharkov.ua> wrote:
I have the same problem. When i am calling from one my extension to another all is ok, but when i am calling to external number i got this message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in answered state".
31.07.2012 10:35, virendra bhati пишет:
mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
It did not work for me, i got the same message. My outbond extension: <extension name="AUTH_rad"> <condition field="${toll_allow}" expression="international"/> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" break="on-true"> <action application="lua" data="callfailed.lua ${caller_id_number}"/> </condition> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="ignore_early_media=true"/> <action application="bridge" data="sofia/gateway/${default_gateway}/${dialed_number}"/> </condition> </extension> 31.07.2012 11:06, SamyGo пишет:
Hi, Well its works perfect for me, do you guys have ignore_early_media set in your outbound string, if no then set it and then see what happens. On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua> wrote:
I have the same problem. When i am calling from one my extension to another all is ok, but when i am calling to external number i got this message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in answered state".
31.07.2012 10:35, virendra bhati пишет:
mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
You might wanna change your dialplan to something like this: <action application="bridge" data="{ ignore_early_media=true }sofia/gateway/${default_gateway}/${dialed_number}"/> That's How I;ve done it, no wonder I use LUA but the dial-string is exactly as below. I think there is a difference if you do it like above, It will set the ignore_early_media on the B-leg session and not on A-leg. This a snippet from the FS-1.6 book: *page:186* "Curly brackets are used "globally" for the duration of a call. Take the following example where we are bridging a call to Darren's cell phone, 203-829-3150. We only want to ring the phone for 20 seconds, to avoid hitting voicemail. <application action="bridge" data="{call_timeout=20}sofia/my_provider/2038293150"> *The variable in brackets is utilized on the newly setup channel, sofia/my_provider/2038293150.*" Regards, Sammy On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
It did not work for me, i got the same message. My outbond extension:
<extension name="AUTH_rad"> <condition field="${toll_allow}" expression="international"/> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" break="on-true"> <action application="lua" data="callfailed.lua ${caller_id_number}"/> </condition> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="ignore_early_media=true"/> <action application="bridge" data="sofia/gateway/${default_gateway}/${dialed_number}"/> </condition> </extension>
31.07.2012 11:06, SamyGo пишет:
Hi, Well its works perfect for me, do you guys have ignore_early_media set in your outbound string, if no then set it and then see what happens. On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua> wrote:
I have the same problem. When i am calling from one my extension to another all is ok, but when i am calling to external number i got this message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in answered state".
31.07.2012 10:35, virendra bhati пишет:
mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
I changed my dialplan, but got the same message =( 02.08.2012 07:49, SamyGo пишет:
You might wanna change your dialplan to something like this:
<action application="bridge" data="{ ignore_early_media=true }sofia/gateway/${default_gateway}/${dialed_number}"/> That's How I;ve done it, no wonder I use LUA but the dial-string is exactly as below.
I think there is a difference if you do it like above, It will set the ignore_early_media on the B-leg session and not on A-leg.
This a snippet from the FS-1.6 book: *page:186*
"Curly brackets are used "globally" for the duration of a call. Take the following example where we are bridging a call to Darren's cell phone, 203-829-3150. We only want to ring the phone for 20 seconds, to avoid hitting voicemail.
<application action="bridge" data="{call_timeout=20}sofia/my_provider/2038293150">
*The variable in brackets is utilized on the newly setup channel, sofia/my_provider/2038293150.*"
Regards, Sammy
On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
It did not work for me, i got the same message. My outbond extension:
<extension name="AUTH_rad"> <condition field="${toll_allow}" expression="international"/> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" break="on-true"> <action application="lua" data="callfailed.lua ${caller_id_number}"/> </condition> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="ignore_early_media=true"/> <action application="bridge" data="sofia/gateway/${default_gateway}/${dialed_number}"/> </condition> </extension>
31.07.2012 11:06, SamyGo пишет:
Hi, Well its works perfect for me, do you guys have ignore_early_media set in your outbound string, if no then set it and then see what happens. On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua> wrote:
I have the same problem. When i am calling from one my extension to another all is ok, but when i am calling to external number i got this message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in answered state".
31.07.2012 10:35, virendra bhati пишет:
mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
Ok, Paste the whole call console log and share via pastebin. Maybe find some other thing breaking it. BR Sammy On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan" <evgeniy@bestnet.kharkov.ua> wrote:
I changed my dialplan, but got the same message =(
02.08.2012 07:49, SamyGo пишет:
You might wanna change your dialplan to something like this:
<action application="bridge" data="{ ignore_early_media=true }sofia/gateway/${default_gateway}/${dialed_number}"/> That's How I;ve done it, no wonder I use LUA but the dial-string is exactly as below.
I think there is a difference if you do it like above, It will set the ignore_early_media on the B-leg session and not on A-leg.
This a snippet from the FS-1.6 book: *page:186*
"Curly brackets are used "globally" for the duration of a call. Take the following example where we are bridging a call to Darren's cell phone, 203-829-3150. We only want to ring the phone for 20 seconds, to avoid hitting voicemail.
<application action="bridge" data="{call_timeout=20}sofia/my_provider/2038293150">
*The variable in brackets is utilized on the newly setup channel, sofia/my_provider/2038293150.*"
Regards, Sammy
On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
It did not work for me, i got the same message. My outbond extension:
<extension name="AUTH_rad"> <condition field="${toll_allow}" expression="international"/> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" break="on-true"> <action application="lua" data="callfailed.lua ${caller_id_number}"/> </condition> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="ignore_early_media=true"/> <action application="bridge" data="sofia/gateway/${default_gateway}/${dialed_number}"/> </condition> </extension>
31.07.2012 11:06, SamyGo пишет:
Hi, Well its works perfect for me, do you guys have ignore_early_media set in your outbound string, if no then set it and then see what happens. On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua
wrote:
I have the same problem. When i am calling from one my extension to another all is ok, but when i am calling to external number i got this message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in answered state".
31.07.2012 10:35, virendra bhati пишет:
mod_nibblebill.c:465 Not billing 97183008 - call is not in answered state
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
http://pastebin.com/enEmLVJz 02.08.2012 13:58, SamyGo пишет:
Ok, Paste the whole call console log and share via pastebin. Maybe find some other thing breaking it. BR Sammy On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua> wrote:
I changed my dialplan, but got the same message =(
02.08.2012 07:49, SamyGo пишет:
You might wanna change your dialplan to something like this:
<action application="bridge" data="{ ignore_early_media=true }sofia/gateway/${default_gateway}/${dialed_number}"/> That's How I;ve done it, no wonder I use LUA but the dial-string is exactly as below.
I think there is a difference if you do it like above, It will set the ignore_early_media on the B-leg session and not on A-leg.
This a snippet from the FS-1.6 book: *page:186*
"Curly brackets are used "globally" for the duration of a call. Take the following example where we are bridging a call to Darren's cell phone, 203-829-3150. We only want to ring the phone for 20 seconds, to avoid hitting voicemail.
<application action="bridge" data="{call_timeout=20}sofia/my_provider/2038293150">
*The variable in brackets is utilized on the newly setup channel, sofia/my_provider/2038293150.*"
Regards, Sammy
On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
It did not work for me, i got the same message. My outbond extension:
<extension name="AUTH_rad"> <condition field="${toll_allow}" expression="international"/> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" break="on-true"> <action application="lua" data="callfailed.lua ${caller_id_number}"/> </condition> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="ignore_early_media=true"/> <action application="bridge" data="sofia/gateway/${default_gateway}/${dialed_number}"/> </condition> </extension>
31.07.2012 11:06, SamyGo пишет:
Hi, Well its works perfect for me, do you guys have ignore_early_media set in your outbound string, if no then set it and then see what happens. On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua
wrote:
I have the same problem. When i am calling from one my extension to another all is ok, but when i am calling to external number i got this message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in answered state".
31.07.2012 10:35, virendra bhati пишет: > mod_nibblebill.c:465 Not billing > 97183008 - call is not in answered state
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
Hi Your link isn't working for me !! On Thu, Aug 2, 2012 at 4:12 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
02.08.2012 13:58, SamyGo пишет:
Ok, Paste the whole call console log and share via pastebin. Maybe find some other thing breaking it. BR Sammy On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua> wrote:
I changed my dialplan, but got the same message =(
02.08.2012 07:49, SamyGo пишет:
You might wanna change your dialplan to something like this:
<action application="bridge" data="{ ignore_early_media=true }sofia/gateway/${default_gateway}/${dialed_number}"/> That's How I;ve done it, no wonder I use LUA but the dial-string is exactly as below.
I think there is a difference if you do it like above, It will set the ignore_early_media on the B-leg session and not on A-leg.
This a snippet from the FS-1.6 book: *page:186*
"Curly brackets are used "globally" for the duration of a call. Take the following example where we are bridging a call to Darren's cell phone, 203-829-3150. We only want to ring the phone for 20 seconds, to avoid hitting voicemail.
<application action="bridge" data="{call_timeout=20}sofia/my_provider/2038293150">
*The variable in brackets is utilized on the newly setup channel, sofia/my_provider/2038293150.*"
Regards, Sammy
On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
It did not work for me, i got the same message. My outbond extension:
<extension name="AUTH_rad"> <condition field="${toll_allow}" expression="international"/> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" break="on-true"> <action application="lua" data="callfailed.lua ${caller_id_number}"/> </condition> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="ignore_early_media=true"/> <action application="bridge" data="sofia/gateway/${default_gateway}/${dialed_number}"/> </condition> </extension>
31.07.2012 11:06, SamyGo пишет:
Hi, Well its works perfect for me, do you guys have ignore_early_media set in your outbound string, if no then set it and then see what happens. On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"< evgeniy@bestnet.kharkov.ua
wrote:
> I have the same problem. When i am calling from one my extension to > another all is ok, but when i am calling to external number i got this > message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in > answered state". > > 31.07.2012 10:35, virendra bhati пишет: >> mod_nibblebill.c:465 Not billing >> 97183008 - call is not in answered state > > -- > Evgeniy Movlyan, > BestNet Ltd. > >
> 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 > > Join Us At ClueCon - Aug 7-9, 2012 > > 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 >
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
I checked it twice from different computers and it works fine =\ I made another one paste - http://pastebin.com/iW9DaAWN Can you show me how you make calls from lua script? 03.08.2012 11:41, SamyGo пишет:
Hi Your link isn't working for me !!
On Thu, Aug 2, 2012 at 4:12 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
02.08.2012 13:58, SamyGo пишет:
Ok, Paste the whole call console log and share via pastebin. Maybe find some other thing breaking it. BR Sammy On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua> wrote:
I changed my dialplan, but got the same message =(
02.08.2012 07:49, SamyGo пишет:
You might wanna change your dialplan to something like this:
<action application="bridge" data="{ ignore_early_media=true }sofia/gateway/${default_gateway}/${dialed_number}"/> That's How I;ve done it, no wonder I use LUA but the dial-string is exactly as below.
I think there is a difference if you do it like above, It will set the ignore_early_media on the B-leg session and not on A-leg.
This a snippet from the FS-1.6 book: *page:186*
"Curly brackets are used "globally" for the duration of a call. Take the following example where we are bridging a call to Darren's cell phone, 203-829-3150. We only want to ring the phone for 20 seconds, to avoid hitting voicemail.
<application action="bridge" data="{call_timeout=20}sofia/my_provider/2038293150">
*The variable in brackets is utilized on the newly setup channel, sofia/my_provider/2038293150.*"
Regards, Sammy
On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
It did not work for me, i got the same message. My outbond extension:
<extension name="AUTH_rad"> <condition field="${toll_allow}" expression="international"/> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" break="on-true"> <action application="lua" data="callfailed.lua ${caller_id_number}"/> </condition> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/> <action application="set" data="ignore_early_media=true"/> <action application="bridge" data="sofia/gateway/${default_gateway}/${dialed_number}"/> </condition> </extension>
31.07.2012 11:06, SamyGo пишет: > Hi, > Well its works perfect for me, do you guys have ignore_early_media set in > your outbound string, if no then set it and then see what happens. > On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"< evgeniy@bestnet.kharkov.ua
> wrote: > >> I have the same problem. When i am calling from one my extension to >> another all is ok, but when i am calling to external number i got this >> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in >> answered state". >> >> 31.07.2012 10:35, virendra bhati пишет: >>> mod_nibblebill.c:465 Not billing >>> 97183008 - call is not in answered state >> >> -- >> Evgeniy Movlyan, >> BestNet Ltd. >> >>
>> 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 >> >> Join Us At ClueCon - Aug 7-9, 2012 >> >> 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 >> > > > >
> 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 > > Join Us At ClueCon - Aug 7-9, 2012 > > 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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
yes why not, wait for some time while I access my files. On Fri, Aug 3, 2012 at 3:56 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
I checked it twice from different computers and it works fine =\ I made another one paste - http://pastebin.com/iW9DaAWN Can you show me how you make calls from lua script?
03.08.2012 11:41, SamyGo пишет:
Hi Your link isn't working for me !!
On Thu, Aug 2, 2012 at 4:12 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
02.08.2012 13:58, SamyGo пишет:
Ok, Paste the whole call console log and share via pastebin. Maybe find some other thing breaking it. BR Sammy On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua> wrote:
I changed my dialplan, but got the same message =(
02.08.2012 07:49, SamyGo пишет:
You might wanna change your dialplan to something like this:
<action application="bridge" data="{ ignore_early_media=true }sofia/gateway/${default_gateway}/${dialed_number}"/> That's How I;ve done it, no wonder I use LUA but the dial-string is exactly as below.
I think there is a difference if you do it like above, It will set the ignore_early_media on the B-leg session and not on A-leg.
This a snippet from the FS-1.6 book: *page:186*
"Curly brackets are used "globally" for the duration of a call. Take the following example where we are bridging a call to Darren's cell phone, 203-829-3150. We only want to ring the phone for 20 seconds, to avoid hitting voicemail.
<application action="bridge" data="{call_timeout=20}sofia/my_provider/2038293150">
*The variable in brackets is utilized on the newly setup channel, sofia/my_provider/2038293150.*"
Regards, Sammy
On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
> It did not work for me, i got the same message. > My outbond extension: > > <extension name="AUTH_rad"> > <condition field="${toll_allow}" expression="international"/> > <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" > break="on-true"> > <action application="lua" data="callfailed.lua ${caller_id_number}"/> > </condition> > <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> > <action application="set" > data="effective_caller_id_number=${outbound_caller_id_number}"/> > <action application="set" > data="effective_caller_id_name=${outbound_caller_id_name}"/> > <action application="set" data="ignore_early_media=true"/> > <action application="bridge" > data="sofia/gateway/${default_gateway}/${dialed_number}"/> > </condition> > </extension> > > > 31.07.2012 11:06, SamyGo пишет: >> Hi, >> Well its works perfect for me, do you guys have ignore_early_media set in >> your outbound string, if no then set it and then see what happens. >> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"< evgeniy@bestnet.kharkov.ua
>> wrote: >> >>> I have the same problem. When i am calling from one my extension to >>> another all is ok, but when i am calling to external number i got this >>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in >>> answered state". >>> >>> 31.07.2012 10:35, virendra bhati пишет: >>>> mod_nibblebill.c:465 Not billing >>>> 97183008 - call is not in answered state >>> >>> -- >>> Evgeniy Movlyan, >>> BestNet Ltd. >>> >>> >
>>> 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 >>> >>> Join Us At ClueCon - Aug 7-9, 2012 >>> >>> 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 >>> >> >> >> >>
>> 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 >> >> Join Us At ClueCon - Aug 7-9, 2012 >> >> 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 > > -- > Evgeniy Movlyan, > BestNet Ltd. > >
> 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 > > Join Us At ClueCon - Aug 7-9, 2012 > > 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 >
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Try using pastebin.pk. It should work! On Fri, Aug 3, 2012 at 4:15 PM, SamyGo <govoiper@gmail.com> wrote:
yes why not, wait for some time while I access my files.
On Fri, Aug 3, 2012 at 3:56 PM, Evgeniy Movlyan < evgeniy@bestnet.kharkov.ua> wrote:
I checked it twice from different computers and it works fine =\ I made another one paste - http://pastebin.com/iW9DaAWN Can you show me how you make calls from lua script?
03.08.2012 11:41, SamyGo пишет:
Hi Your link isn't working for me !!
On Thu, Aug 2, 2012 at 4:12 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
02.08.2012 13:58, SamyGo пишет:
Ok, Paste the whole call console log and share via pastebin. Maybe find some other thing breaking it. BR Sammy On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua> wrote:
I changed my dialplan, but got the same message =(
02.08.2012 07:49, SamyGo пишет: > You might wanna change your dialplan to something like this: > > <action application="bridge" data="{ > ignore_early_media=true }sofia/gateway/${default_gateway}/${dialed_number}"/> > That's How I;ve done it, no wonder I use LUA but the dial-string is exactly > as below. > > I think there is a difference if you do it like above, It will set the > ignore_early_media on the B-leg session and not on A-leg. > > This a snippet from the FS-1.6 book: *page:186* > > "Curly brackets are used "globally" for the duration of a call. Take the > following example where we are bridging a call to Darren's cell phone, > 203-829-3150. We > only want to ring the phone for 20 seconds, to avoid hitting voicemail. > > <application action="bridge" > data="{call_timeout=20}sofia/my_provider/2038293150"> > > *The variable in brackets is utilized on the newly setup channel, > sofia/my_provider/2038293150.*" > > > Regards, > Sammy > > > On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan > <evgeniy@bestnet.kharkov.ua>wrote: > >> It did not work for me, i got the same message. >> My outbond extension: >> >> <extension name="AUTH_rad"> >> <condition field="${toll_allow}" expression="international"/> >> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" >> break="on-true"> >> <action application="lua" data="callfailed.lua ${caller_id_number}"/> >> </condition> >> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> >> <action application="set" >> data="effective_caller_id_number=${outbound_caller_id_number}"/> >> <action application="set" >> data="effective_caller_id_name=${outbound_caller_id_name}"/> >> <action application="set" data="ignore_early_media=true"/> >> <action application="bridge" >> data="sofia/gateway/${default_gateway}/${dialed_number}"/> >> </condition> >> </extension> >> >> >> 31.07.2012 11:06, SamyGo пишет: >>> Hi, >>> Well its works perfect for me, do you guys have ignore_early_media set in >>> your outbound string, if no then set it and then see what happens. >>> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"< evgeniy@bestnet.kharkov.ua > >>> wrote: >>> >>>> I have the same problem. When i am calling from one my extension to >>>> another all is ok, but when i am calling to external number i got this >>>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in >>>> answered state". >>>> >>>> 31.07.2012 10:35, virendra bhati пишет: >>>>> mod_nibblebill.c:465 Not billing >>>>> 97183008 - call is not in answered state >>>> >>>> -- >>>> Evgeniy Movlyan, >>>> BestNet Ltd. >>>> >>>> >>
>>>> 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 >>>> >>>> Join Us At ClueCon - Aug 7-9, 2012 >>>> >>>> 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 >>>> >>> >>> >>> >>>
>>> 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 >>> >>> Join Us At ClueCon - Aug 7-9, 2012 >>> >>> 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 >> >> -- >> Evgeniy Movlyan, >> BestNet Ltd. >> >>
>> 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 >> >> Join Us At ClueCon - Aug 7-9, 2012 >> >> 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 >> > > > >
> 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 > > Join Us At ClueCon - Aug 7-9, 2012 > > 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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Here it is: I had to delete alot of lines to make it understandable for you. -- START OF CODE -- phone_number = argv[1]; client_id = argv[2]; B_PARTY = argv[3]; outbound_cli = argv[4]; rate = argv[5]; freeswitch.consoleLog("INFO","the number we are calling is " .. phone_number.."\n"); session = freeswitch.Session("{ignore_early_media=true,origination_caller_id_number="..outbound_cli.."}sofia/gateway/Asterisk/" .. phone_number); session:execute("nibblebill","heartbeat 30") -- triggered for 30 sec billing deduction on A-Leg session:setVariable("client_id",client_id) session:setVariable("nibble_account",phone_number) session:setVariable("nibble_rate",rate) session:setVariable("nibble_increment",30) if(session:answered() == true) then freeswitch.consoleLog("INFO","Originate a New Call for"..destination_data.." and Start Billing B-Leg too\n") dialB = "{ignore_early_media=false,origination_caller_id_number="..B_PARTY.."}sofia/gateway/Asterisk/I" legB = freeswitch.Session(dialB..destination_data,session) legB:execute("nibblebill","heartbeat 60") -- Triggered for 60 sec billing on B-Leg legB:setVariable("client_id",client_id) legB:setVariable("nibble_account",phone_number) --[[Deduct from A-Party's cash]]-- legB:setVariable("nibble_rate",rate) legB:setVariable("nibble_increment",30) if ( legB:ready()) then freeswitch.consoleLog("NOTICE","------ALL READY BRIDGE THE CALLS------\n") freeswitch.bridge(legB,session) else freeswitch.consoleLog("NOTICE","It appears that " ..session.. " or " .. dialB .. " disconnected...\n") end session:hangup(); end end freeswitch.consoleLog("INFO","hangup reasons '"..session:hangupCause().."' \n"); session:hangup(); ---END OF CODE-- BR Sammy On Fri, Aug 3, 2012 at 4:36 PM, qasimakhan@gmail.com <qasimakhan@gmail.com>wrote:
Try using pastebin.pk. It should work!
On Fri, Aug 3, 2012 at 4:15 PM, SamyGo <govoiper@gmail.com> wrote:
yes why not, wait for some time while I access my files.
On Fri, Aug 3, 2012 at 3:56 PM, Evgeniy Movlyan < evgeniy@bestnet.kharkov.ua> wrote:
I checked it twice from different computers and it works fine =\ I made another one paste - http://pastebin.com/iW9DaAWN Can you show me how you make calls from lua script?
03.08.2012 11:41, SamyGo пишет:
Hi Your link isn't working for me !!
On Thu, Aug 2, 2012 at 4:12 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
02.08.2012 13:58, SamyGo пишет:
Ok, Paste the whole call console log and share via pastebin. Maybe find some other thing breaking it. BR Sammy On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua
wrote:
> I changed my dialplan, but got the same message =( > > 02.08.2012 07:49, SamyGo пишет: >> You might wanna change your dialplan to something like this: >> >> <action application="bridge" data="{ >> ignore_early_media=true > }sofia/gateway/${default_gateway}/${dialed_number}"/> >> That's How I;ve done it, no wonder I use LUA but the dial-string is > exactly >> as below. >> >> I think there is a difference if you do it like above, It will set the >> ignore_early_media on the B-leg session and not on A-leg. >> >> This a snippet from the FS-1.6 book: *page:186* >> >> "Curly brackets are used "globally" for the duration of a call. Take the >> following example where we are bridging a call to Darren's cell phone, >> 203-829-3150. We >> only want to ring the phone for 20 seconds, to avoid hitting voicemail. >> >> <application action="bridge" >> data="{call_timeout=20}sofia/my_provider/2038293150"> >> >> *The variable in brackets is utilized on the newly setup channel, >> sofia/my_provider/2038293150.*" >> >> >> Regards, >> Sammy >> >> >> On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan >> <evgeniy@bestnet.kharkov.ua>wrote: >> >>> It did not work for me, i got the same message. >>> My outbond extension: >>> >>> <extension name="AUTH_rad"> >>> <condition field="${toll_allow}" expression="international"/> >>> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" >>> break="on-true"> >>> <action application="lua" data="callfailed.lua > ${caller_id_number}"/> >>> </condition> >>> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> >>> <action application="set" >>> data="effective_caller_id_number=${outbound_caller_id_number}"/> >>> <action application="set" >>> data="effective_caller_id_name=${outbound_caller_id_name}"/> >>> <action application="set" data="ignore_early_media=true"/> >>> <action application="bridge" >>> data="sofia/gateway/${default_gateway}/${dialed_number}"/> >>> </condition> >>> </extension> >>> >>> >>> 31.07.2012 11:06, SamyGo пишет: >>>> Hi, >>>> Well its works perfect for me, do you guys have ignore_early_media set > in >>>> your outbound string, if no then set it and then see what happens. >>>> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"< evgeniy@bestnet.kharkov.ua >> >>>> wrote: >>>> >>>>> I have the same problem. When i am calling from one my extension to >>>>> another all is ok, but when i am calling to external number i got this >>>>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in >>>>> answered state". >>>>> >>>>> 31.07.2012 10:35, virendra bhati пишет: >>>>>> mod_nibblebill.c:465 Not billing >>>>>> 97183008 - call is not in answered state >>>>> >>>>> -- >>>>> Evgeniy Movlyan, >>>>> BestNet Ltd. >>>>> >>>>> >>> >
>>>>> 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 >>>>> >>>>> Join Us At ClueCon - Aug 7-9, 2012 >>>>> >>>>> 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 >>>>> >>>> >>>> >>>> >>>> >
>>>> 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 >>>> >>>> Join Us At ClueCon - Aug 7-9, 2012 >>>> >>>> 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 >>> >>> -- >>> Evgeniy Movlyan, >>> BestNet Ltd. >>> >>> >
>>> 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 >>> >>> Join Us At ClueCon - Aug 7-9, 2012 >>> >>> 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 >>> >> >> >> >>
>> 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 >> >> Join Us At ClueCon - Aug 7-9, 2012 >> >> 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 > > -- > Evgeniy Movlyan, > BestNet Ltd. > >
> 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 > > Join Us At ClueCon - Aug 7-9, 2012 > > 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 >
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Thanks a lot. 03.08.2012 16:40, SamyGo пишет:
Here it is: I had to delete alot of lines to make it understandable for you.
-- START OF CODE -- phone_number = argv[1]; client_id = argv[2]; B_PARTY = argv[3]; outbound_cli = argv[4]; rate = argv[5];
freeswitch.consoleLog("INFO","the number we are calling is " .. phone_number.."\n");
session = freeswitch.Session("{ignore_early_media=true,origination_caller_id_number="..outbound_cli.."}sofia/gateway/Asterisk/" .. phone_number); session:execute("nibblebill","heartbeat 30") -- triggered for 30 sec billing deduction on A-Leg session:setVariable("client_id",client_id) session:setVariable("nibble_account",phone_number) session:setVariable("nibble_rate",rate) session:setVariable("nibble_increment",30) if(session:answered() == true) then freeswitch.consoleLog("INFO","Originate a New Call for"..destination_data.." and Start Billing B-Leg too\n") dialB = "{ignore_early_media=false,origination_caller_id_number="..B_PARTY.."}sofia/gateway/Asterisk/I" legB = freeswitch.Session(dialB..destination_data,session) legB:execute("nibblebill","heartbeat 60") -- Triggered for 60 sec billing on B-Leg legB:setVariable("client_id",client_id) legB:setVariable("nibble_account",phone_number) --[[Deduct from A-Party's cash]]-- legB:setVariable("nibble_rate",rate) legB:setVariable("nibble_increment",30) if ( legB:ready()) then freeswitch.consoleLog("NOTICE","------ALL READY BRIDGE THE CALLS------\n") freeswitch.bridge(legB,session) else freeswitch.consoleLog("NOTICE","It appears that " ..session.. " or " .. dialB .. " disconnected...\n") end session:hangup(); end end freeswitch.consoleLog("INFO","hangup reasons '"..session:hangupCause().."' \n"); session:hangup(); ---END OF CODE--
BR Sammy
On Fri, Aug 3, 2012 at 4:36 PM, qasimakhan@gmail.com <qasimakhan@gmail.com>wrote:
Try using pastebin.pk. It should work!
On Fri, Aug 3, 2012 at 4:15 PM, SamyGo<govoiper@gmail.com> wrote:
yes why not, wait for some time while I access my files.
On Fri, Aug 3, 2012 at 3:56 PM, Evgeniy Movlyan< evgeniy@bestnet.kharkov.ua> wrote:
I checked it twice from different computers and it works fine =\ I made another one paste - http://pastebin.com/iW9DaAWN Can you show me how you make calls from lua script?
03.08.2012 11:41, SamyGo пишет:
Hi Your link isn't working for me !!
On Thu, Aug 2, 2012 at 4:12 PM, Evgeniy Movlyan <evgeniy@bestnet.kharkov.ua>wrote:
02.08.2012 13:58, SamyGo пишет: > Ok, > Paste the whole call console log and share via pastebin. > Maybe find some other thing breaking it. > BR > Sammy > On Aug 2, 2012 3:52 PM, "Evgeniy Movlyan"<evgeniy@bestnet.kharkov.ua
> wrote: > >> I changed my dialplan, but got the same message =( >> >> 02.08.2012 07:49, SamyGo пишет: >>> You might wanna change your dialplan to something like this: >>> >>> <action application="bridge" data="{ >>> ignore_early_media=true >> }sofia/gateway/${default_gateway}/${dialed_number}"/> >>> That's How I;ve done it, no wonder I use LUA but the dial-string is >> exactly >>> as below. >>> >>> I think there is a difference if you do it like above, It will set the >>> ignore_early_media on the B-leg session and not on A-leg. >>> >>> This a snippet from the FS-1.6 book: *page:186* >>> >>> "Curly brackets are used "globally" for the duration of a call. Take the >>> following example where we are bridging a call to Darren's cell phone, >>> 203-829-3150. We >>> only want to ring the phone for 20 seconds, to avoid hitting voicemail. >>> >>> <application action="bridge" >>> data="{call_timeout=20}sofia/my_provider/2038293150"> >>> >>> *The variable in brackets is utilized on the newly setup channel, >>> sofia/my_provider/2038293150.*" >>> >>> >>> Regards, >>> Sammy >>> >>> >>> On Wed, Aug 1, 2012 at 8:00 PM, Evgeniy Movlyan >>> <evgeniy@bestnet.kharkov.ua>wrote: >>> >>>> It did not work for me, i got the same message. >>>> My outbond extension: >>>> >>>> <extension name="AUTH_rad"> >>>> <condition field="${toll_allow}" expression="international"/> >>>> <condition field="${AUTH_RESULT_RADIUS}" expression="^NOK$" >>>> break="on-true"> >>>> <action application="lua" data="callfailed.lua >> ${caller_id_number}"/> >>>> </condition> >>>> <condition field="${AUTH_RESULT_RADIUS}" expression="^OK$"> >>>> <action application="set" >>>> data="effective_caller_id_number=${outbound_caller_id_number}"/> >>>> <action application="set" >>>> data="effective_caller_id_name=${outbound_caller_id_name}"/> >>>> <action application="set" data="ignore_early_media=true"/> >>>> <action application="bridge" >>>> data="sofia/gateway/${default_gateway}/${dialed_number}"/> >>>> </condition> >>>> </extension> >>>> >>>> >>>> 31.07.2012 11:06, SamyGo пишет: >>>>> Hi, >>>>> Well its works perfect for me, do you guys have ignore_early_media set >> in >>>>> your outbound string, if no then set it and then see what happens. >>>>> On Jul 31, 2012 12:50 PM, "Evgeniy Movlyan"< evgeniy@bestnet.kharkov.ua >>> >>>>> wrote: >>>>> >>>>>> I have the same problem. When i am calling from one my extension to >>>>>> another all is ok, but when i am calling to external number i got this >>>>>> message: "mod_nibblebill.c:465 Not billing XXXXXXXXXX - call is not in >>>>>> answered state". >>>>>> >>>>>> 31.07.2012 10:35, virendra bhati пишет: >>>>>>> mod_nibblebill.c:465 Not billing >>>>>>> 97183008 - call is not in answered state >>>>>> >>>>>> -- >>>>>> Evgeniy Movlyan, >>>>>> BestNet Ltd. >>>>>> >>>>>> >>>> >>
>>>>>> 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 >>>>>> >>>>>> Join Us At ClueCon - Aug 7-9, 2012 >>>>>> >>>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>>>> >>
>>>>> 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 >>>>> >>>>> Join Us At ClueCon - Aug 7-9, 2012 >>>>> >>>>> 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 >>>> >>>> -- >>>> Evgeniy Movlyan, >>>> BestNet Ltd. >>>> >>>> >>
>>>> 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 >>>> >>>> Join Us At ClueCon - Aug 7-9, 2012 >>>> >>>> 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 >>>> >>> >>> >>> >>>
>>> 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 >>> >>> Join Us At ClueCon - Aug 7-9, 2012 >>> >>> 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 >> >> -- >> Evgeniy Movlyan, >> BestNet Ltd. >> >>
>> 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 >> >> Join Us At ClueCon - Aug 7-9, 2012 >> >> 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 >> > > > >
> 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 > > Join Us At ClueCon - Aug 7-9, 2012 > > 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
-- Evgeniy Movlyan, BestNet Ltd.
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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________
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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
-- Evgeniy Movlyan, BestNet Ltd.
How do I get Freeswitch to load in a new sip profile without restarting it or mod_sofia?
*http://wiki.freeswitch.org/wiki/Mod_sofia#Starting_a_new_profile* 2012/8/6 Alex <alex@thewinelake.com>
How do I get Freeswitch to load in a new sip profile without restarting it or mod_sofia?
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Thanks - I've been playing with those commands and am seeing some slightly strange results. For example, "sofia profile external rescan reloadxml" - I'm not sure that's doing the right thing. I get messages like "Ignoring duplicate gateway XXXX" which seems a little odd.
*http://wiki.freeswitch.org/wiki/Mod_sofia#Starting_a_new_profile*
2012/8/6 Alex <alex@thewinelake.com <mailto:alex@thewinelake.com>>
How do I get Freeswitch to load in a new sip profile without restarting it or mod_sofia?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2196 / Virus Database: 2437/5180 - Release Date: 08/05/12
Also, I get the feeling that rescan does a full reloadxml even if you don't ask for it. so sofia profile external rescan reloadxml is equivalent to sofia profile external rescan I guess I just need to do some tests!
*http://wiki.freeswitch.org/wiki/Mod_sofia#Starting_a_new_profile*
2012/8/6 Alex <alex@thewinelake.com <mailto:alex@thewinelake.com>>
How do I get Freeswitch to load in a new sip profile without restarting it or mod_sofia?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2196 / Virus Database: 2437/5180 - Release Date: 08/05/12
...
...I think it looks like I need to do a killgw on anything that may have changed.
Also, I get the feeling that rescan does a full reloadxml even if you don't ask for it. so sofia profile external rescan reloadxml is equivalent to sofia profile external rescan
I guess I just need to do some tests!
*http://wiki.freeswitch.org/wiki/Mod_sofia#Starting_a_new_profile*
2012/8/6 Alex <alex@thewinelake.com <mailto:alex@thewinelake.com>>
How do I get Freeswitch to load in a new sip profile without restarting it or mod_sofia?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2196 / Virus Database: 2437/5180 - Release Date: 08/05/12
...
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2196 / Virus Database: 2437/5180 - Release Date: 08/05/12
Getting an occasional one-way audio problem. One thing I was wondering about is this: switch_rtp.c:3240 Auto Changing port from 86.174.119.10:16432 to 86.174.119.10:61384 Can one somehow disable this feature as part of diagnostics?
Looks like this is specific to LinkSys SPA942. Other handsets (eg. Grandstream) are fine. It's intermittent. Wondering if it's negotiating some "unlucky" port addresses.
Getting an occasional one-way audio problem.
One thing I was wondering about is this:
switch_rtp.c:3240 Auto Changing port from 86.174.119.10:16432 to 86.174.119.10:61384
Can one somehow disable this feature as part of diagnostics?
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2196 / Virus Database: 2437/5181 - Release Date: 08/06/12
Try getting a full SIP + RTP capture. That message should be for detecting the proper port, but sometimes I think FS goes symmetric when it should not, which causes one-way audio. -Michael -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Alex Sent: Tuesday, August 07, 2012 5:25 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] One Way Audio Looks like this is specific to LinkSys SPA942. Other handsets (eg. Grandstream) are fine. It's intermittent. Wondering if it's negotiating some "unlucky" port addresses.
Getting an occasional one-way audio problem.
One thing I was wondering about is this:
switch_rtp.c:3240 Auto Changing port from 86.174.119.10:16432 to 86.174.119.10:61384
Can one somehow disable this feature as part of diagnostics?
______________________________________________________________________ ___ 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
Join Us At ClueCon - Aug 7-9, 2012
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-use rs http://www.freeswitch.org
----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2196 / Virus Database: 2437/5181 - Release Date: 08/06/12
_________________________________________________________________________ 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 Join Us At ClueCon - Aug 7-9, 2012 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
participants (9)
-
Alex
-
Antonio Teixeira
-
Evgeniy Movlyan
-
Michael Collins
-
Michael Giagnocavo
-
qasimakhan@gmail.com
-
SamyGo
-
Thomas Hoellriegel
-
virendra bhati