call recordings donot stop

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

call recordings donot stop

Postby hotdog0627 » Fri Mar 23, 2007 10:02 pm

Below is the text when you show the conference call channel information.
Once a call is place and connected these three entries will be present.

LIVE CALLS IN YOUR SESSION:
# REMOTE CHANNEL HANGUP VOLUME
1 SIP/2125-09337ec0 HANGUP
2 Local/8600051@default-7398,2 HANGUP
3 Local/78600051@default-f8d2,2 HANGUP

Once the call is hanged up. this channe (row 2) will be left, and only when you click on HANGUP is when the recording will stop.

# REMOTE CHANNEL HANGUP VOLUME
1 SIP/2125-09337ec0 HANGUP
2 Local/78600051@default-f8d2,2 HANGUP

This happens on G729 and ULAW codecs. (i've not tried other codecs). This is on Manual call.

How do I fix this? I saw one post where he re-wrote some codes... dont know how to do that though... any help is greatly appreciated. Thanks
hotdog0627
 
Posts: 58
Joined: Tue Feb 20, 2007 2:10 pm

Postby mflorell » Sat Mar 24, 2007 6:32 am

Usually when I see this problem, it is because of an overly complex dialplan. Do you have everything accessible under the same context in extensions.conf?

Post some Asterisk CLI output and some output from action_full.2007.XX.XX(need VICIDIAL server logging turned on) of when you try to stop recording.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby hotdog0627 » Mon Mar 26, 2007 3:07 pm

Here's some Asterisk CLI action

> Channel SIP/2125-09331508 was answered.
-- Executing MeetMe("SIP/2125-09331508", "8600051") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-0082,2", "8600051") in new stack
> Channel Local/8600051@default-0082,1 was answered.
-- Executing AGI("Local/8600051@default-0082,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Set("Local/8600051@default-0082,1", "CALLERID(name)=") in new stack
-- Executing Dial("Local/8600051@default-0082,1", "sip/12403961358@sipprovider|55|o") in new stack
-- Called 12403961358@sipprovider
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/78600051@default-30d3,2", "8600051|q") in new stack
> Channel Local/78600051@default-30d3,1 was answered.
-- Executing Answer("Local/78600051@default-30d3,1", "") in new stack
-- Executing Monitor("Local/78600051@default-30d3,1", "wav|20070327-035212_2403961358") in new stack
-- Executing Wait("Local/78600051@default-30d3,1", "3600") in new stack
-- SIP/sipprovider-09324458 is making progress passing it to Local/8600051@default-0082,1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/sipprovider-09324458 is ringing
-- SIP/sipprovider-09324458 is making progress passing it to Local/8600051@default-0082,1
-- SIP/sipprovider-09324458 answered Local/8600051@default-0082,1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-0082,2'
-- Executing DeadAGI("Local/8600051@default-0082,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/8600051@default-0082,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 912403961358, 3) exited non-zero on 'Local/8600051@default-0082,1'
-- Executing DeadAGI("Local/8600051@default-0082,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/8600051@default-0082,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----19-----11)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... -19-----11) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1







Here's the action_full.2007-03-26

2007-03-26 15:52:06|0|1|
Action: Originate
Channel: SIP/2125
Context: default
Exten: 8600051
Priority: 1
Callerid: S0703261552058600051

|
2007-03-26 15:52:06|1||Response: Success
Message: Originate successfully queued

|
2007-03-26 15:52:06|2||Response: Goodbye
Message: Thanks for all the fish.

|
2007-03-26 15:52:13|0|1|
Action: Originate
Exten: 912403961358
Context: default
Channel: Local/8600051@default/n
Priority: 1
Callerid: "M0326155212000000055" <6467231810>
Timeout: 60000

|
2007-03-26 15:52:14|0|1|
Action: Originate
Channel: Local/78600051@default
Context: default
Exten: 8309
Priority: 1
Callerid: 20070327-035212_2403961358

|
2007-03-26 15:52:13|1||Response: Success
Message: Originate successfully queued

|
2007-03-26 15:52:14|1||Response: Success
Message: Originate successfully queued

|
2007-03-26 15:52:13|2||Response: Goodbye
Message: Thanks for all the fish.

|
2007-03-26 15:52:14|2||Response: Goodbye
Message: Thanks for all the fish.

|
2007-03-26 15:52:32|0|1|
Action: Hangup
Channel: Local/8600051@default-0082,2

|
2007-03-26 15:52:32|1||Response: Success
Message: Channel Hungup

|
2007-03-26 15:52:32|2||Response: Goodbye
Message: Thanks for all the fish.

|
2007-03-26 15:59:28|0|1|
Action: Originate
Exten: 912403961358
Context: default
Channel: Local/8600051@default/n
Priority: 1
Callerid: "M0326155928000000056" <6467231810>
Timeout: 60000

|
2007-03-26 15:59:29|0|1|
Action: Originate
Channel: Local/78600051@default
Context: default
Exten: 8309
Priority: 1
Callerid: 20070327-035927_2403961358

|
2007-03-26 15:59:28|1||Response: Success
Message: Originate successfully queued

|
2007-03-26 15:59:29|1||Response: Success
Message: Originate successfully queued

|
2007-03-26 15:59:28|2||Response: Goodbye
Message: Thanks for all the fish.

|
2007-03-26 15:59:29|2||Response: Goodbye
Message: Thanks for all the fish.

|
2007-03-26 15:59:40|0|1|
Action: Hangup
Channel: Local/8600051@default-f0e8,2

|
2007-03-26 15:59:40|1||Response: Success
Message: Channel Hungup

|
2007-03-26 15:59:40|2||Response: Goodbye
Message: Thanks for all the fish.



Here's the entire extensions.conf

[general]
static=yes
writeprotect=yes
autofallthrough=yes

[globals]
CONSOLE=Console/dsp ; Console interface for demo

[sipprovider-incoming]



[default]

; NOTE: The line below is required. It will not affect the Calling Name
; from displayed to the called party. If the called party subscribes to
; Calling Name service, the called party's local exchange carrier performs
; a query to determine the Calling Name based on the Calling Number that is
; received with the call.

exten => _1NXXNXXXXXX,1,Set(CALLERID(number)=)
exten => _1NXXNXXXXXX,n,Dial,SIP/${EXTEN}@sipprovider|88|o
exten => _1NXXNXXXXXX,n,Hangup

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Set(CALLERID(name)=)
exten => _91NXXNXXXXXX,3,Dial(sip/${EXTEN:1}@sipprovider,55,o)
exten => _91NXXNXXXXXX,4,Hangup



; Extension 8600 + 8601 conference rooms
; exten => 8600,1,Meetme,8600
; exten => 8601,1,Meetme,8601





; barge monitoring extension
; exten => 8159,1,ZapBarge
; exten => 8159,2,Hangup

; # timeout invalid rules
; exten => #,1,Playback(invalid) ; "Thanks for trying the demo"
; exten => #,2,Hangup ; Hang them up.
; exten => t,1,Goto(#,1) ; If they take too long, give up
; exten => i,1,Playback(invalid) ; "That's not valid, try again"

; Give voicemail at extension 8500
; exten => 8500,1,VoicemailMain
; exten => 8500,2,Goto(s,6)

; ASTERISK AGENTS LOGINS FOR QUEUES (NOT part of VICIDIAL)
; the following assumes phone agent login and exten are 3 digits and the same
; also assumes that 3-digit login is present in agents.conf and queueus.conf
;Agent Logout then stay onhook, DIAL 54 + 3-digit ID
; exten => _54XXX,1,AgentCallbackLogin(||)
; the following are used to login and logout of Asterisk Queues from phone
;Agent Login then stay offhook on the phone, DIAL 55 + 3-digit ID
; exten => _55XXX,1,AgentLogin(${EXTEN:1})
;Agent Login then stay onhook, phones will ring, DIAL 56 + 3-digit ID
; exten => _56XXX,1,AgentCallbackLogin(||${EXTEN:1}@default)


;##### This 'h' exten is VERY important for VICIDIAL usage,
;##### you will have problems if it is not in your dialplan!
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log)
exten => h,2,DeadAGI(agi://127.0.0.1:4577/VD_hangup--HVcause ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}))


;######------ START extensions.conf additions for agc conferences ------######
exten => 8600001,1,Meetme,8600001|q
exten => 8600002,1,Meetme,8600002|q
exten => 8600003,1,Meetme,8600003|q
exten => 8600004,1,Meetme,8600004|q
exten => 8600005,1,Meetme,8600005|q
exten => 8600006,1,Meetme,8600006|q
exten => 8600007,1,Meetme,8600007|q
exten => 8600008,1,Meetme,8600008|q
exten => 8600009,1,Meetme,8600009|q
exten => 8600010,1,Meetme,8600010|q
exten => 8600011,1,Meetme,8600011|q
exten => 8600012,1,Meetme,8600012|q
exten => 8600013,1,Meetme,8600013|q
exten => 8600014,1,Meetme,8600014|q
exten => 8600015,1,Meetme,8600015|q
exten => 8600016,1,Meetme,8600016|q
exten => 8600017,1,Meetme,8600017|q
exten => 8600018,1,Meetme,8600018|q
exten => 8600019,1,Meetme,8600019|q
exten => 8600020,1,Meetme,8600020|q
exten => 8600021,1,Meetme,8600021|q
exten => 8600022,1,Meetme,8600022|q
exten => 8600023,1,Meetme,8600023|q
exten => 8600024,1,Meetme,8600024|q
exten => 8600025,1,Meetme,8600025|q
exten => 8600026,1,Meetme,8600026|q
exten => 8600027,1,Meetme,8600027|q
exten => 8600028,1,Meetme,8600028|q
exten => 8600029,1,Meetme,8600029|q
;######------ END extensions.conf additions for agc conferences ------######

;######------ START extensions.conf changes for VD conf ------######
exten => _X48600XXX,1,MeetMeAdmin(${EXTEN:2},T,${EXTEN:0:1})
exten => _X48600XXX,2,Hangup

exten => _X38600XXX,1,MeetMeAdmin(${EXTEN:2},t,${EXTEN:0:1})
exten => _X38600XXX,2,Hangup

exten => 8300,1,Hangup

exten => 8600051,1,Meetme,8600051
exten => 8600052,1,Meetme,8600052
exten => 8600053,1,Meetme,8600053
exten => 8600054,1,Meetme,8600054
exten => 8600055,1,Meetme,8600055
exten => 8600056,1,Meetme,8600056
exten => 8600057,1,Meetme,8600057
exten => 8600058,1,Meetme,8600058
exten => 8600059,1,Meetme,8600059
exten => 8600060,1,Meetme,8600060
exten => 8600061,1,Meetme,8600061
exten => 8600062,1,Meetme,8600062
exten => 8600063,1,Meetme,8600063
exten => 8600064,1,Meetme,8600064
exten => 8600065,1,Meetme,8600065
exten => 8600066,1,Meetme,8600066
exten => 8600067,1,Meetme,8600067
exten => 8600068,1,Meetme,8600068
exten => 8600069,1,Meetme,8600069
exten => 8600070,1,Meetme,8600070
exten => 8600071,1,Meetme,8600071
exten => 8600072,1,Meetme,8600072
exten => 8600073,1,Meetme,8600073
exten => 8600074,1,Meetme,8600074
exten => 8600075,1,Meetme,8600075
exten => 8600076,1,Meetme,8600076
exten => 8600077,1,Meetme,8600077
exten => 8600078,1,Meetme,8600078
exten => 8600079,1,Meetme,8600079
exten => 8600080,1,Meetme,8600080
exten => 8600081,1,Meetme,8600081
exten => 8600082,1,Meetme,8600082
exten => 8600083,1,Meetme,8600083
exten => 8600084,1,Meetme,8600084
exten => 8600085,1,Meetme,8600085
exten => 8600086,1,Meetme,8600086
exten => 8600087,1,Meetme,8600087
exten => 8600088,1,Meetme,8600088
exten => 8600089,1,Meetme,8600089
exten => 8600090,1,Meetme,8600090
exten => 8600091,1,Meetme,8600091
exten => 8600092,1,Meetme,8600092
exten => 8600093,1,Meetme,8600093
exten => 8600094,1,Meetme,8600094
exten => 8600095,1,Meetme,8600095
exten => 8600096,1,Meetme,8600096
exten => 8600097,1,Meetme,8600097
exten => 8600098,1,Meetme,8600098
exten => 8600099,1,Meetme,8600099
exten => 8600100,1,Meetme,8600100
exten => 8600101,1,Meetme,8600101
exten => 8600102,1,Meetme,8600102
exten => 8600103,1,Meetme,8600103
exten => 8600104,1,Meetme,8600104
exten => 8600105,1,Meetme,8600105
exten => 8600106,1,Meetme,8600106
exten => 8600107,1,Meetme,8600107
exten => 8600108,1,Meetme,8600108
exten => 8600109,1,Meetme,8600109
exten => 8600110,1,Meetme,8600110
exten => 8600111,1,Meetme,8600111
exten => 8600112,1,Meetme,8600112
exten => 8600113,1,Meetme,8600113
exten => 8600114,1,Meetme,8600114
exten => 8600115,1,Meetme,8600115
exten => 8600116,1,Meetme,8600116
exten => 8600117,1,Meetme,8600117
exten => 8600118,1,Meetme,8600118
exten => 8600119,1,Meetme,8600119
exten => 8600120,1,Meetme,8600120
exten => 8600121,1,Meetme,8600121
exten => 8600122,1,Meetme,8600122
exten => 8600123,1,Meetme,8600123
exten => 8600124,1,Meetme,8600124
exten => 8600125,1,Meetme,8600125
exten => 8600126,1,Meetme,8600126
exten => 8600127,1,Meetme,8600127
exten => 8600128,1,Meetme,8600128
exten => 8600129,1,Meetme,8600129
exten => 8600130,1,Meetme,8600130
exten => 8600131,1,Meetme,8600131
exten => 8600132,1,Meetme,8600132
exten => 8600133,1,Meetme,8600133
exten => 8600134,1,Meetme,8600134
exten => 8600135,1,Meetme,8600135
exten => 8600136,1,Meetme,8600136
exten => 8600137,1,Meetme,8600137
exten => 8600138,1,Meetme,8600138
exten => 8600139,1,Meetme,8600139
exten => 8600140,1,Meetme,8600140
exten => 8600141,1,Meetme,8600141
exten => 8600142,1,Meetme,8600142
exten => 8600143,1,Meetme,8600143
exten => 8600144,1,Meetme,8600144
exten => 8600145,1,Meetme,8600145
exten => 8600146,1,Meetme,8600146
exten => 8600147,1,Meetme,8600147
exten => 8600148,1,Meetme,8600148
exten => 8600149,1,Meetme,8600149
exten => 8600150,1,Meetme,8600150
exten => 8600151,1,Meetme,8600151
exten => 8600152,1,Meetme,8600152
exten => 8600153,1,Meetme,8600153
exten => 8600154,1,Meetme,8600154
exten => 8600155,1,Meetme,8600155
exten => 8600156,1,Meetme,8600156
exten => 8600157,1,Meetme,8600157
exten => 8600158,1,Meetme,8600158
exten => 8600159,1,Meetme,8600159
exten => 8600160,1,Meetme,8600160
exten => 8600161,1,Meetme,8600161
exten => 8600162,1,Meetme,8600162
exten => 8600163,1,Meetme,8600163
exten => 8600164,1,Meetme,8600164
exten => 8600165,1,Meetme,8600165
exten => 8600166,1,Meetme,8600166
exten => 8600167,1,Meetme,8600167
exten => 8600168,1,Meetme,8600168
exten => 8600169,1,Meetme,8600169
exten => 8600170,1,Meetme,8600170
exten => 8600171,1,Meetme,8600171
exten => 8600172,1,Meetme,8600172
exten => 8600173,1,Meetme,8600173
exten => 8600174,1,Meetme,8600174
exten => 8600175,1,Meetme,8600175
exten => 8600176,1,Meetme,8600176
exten => 8600177,1,Meetme,8600177
exten => 8600178,1,Meetme,8600178
exten => 8600179,1,Meetme,8600179
exten => 8600180,1,Meetme,8600180
exten => 8600181,1,Meetme,8600181
exten => 8600182,1,Meetme,8600182
exten => 8600183,1,Meetme,8600183
exten => 8600184,1,Meetme,8600184
exten => 8600185,1,Meetme,8600185
exten => 8600186,1,Meetme,8600186
exten => 8600187,1,Meetme,8600187
exten => 8600188,1,Meetme,8600188
exten => 8600189,1,Meetme,8600189
exten => 8600190,1,Meetme,8600190
exten => 8600191,1,Meetme,8600191
exten => 8600192,1,Meetme,8600192
exten => 8600193,1,Meetme,8600193
exten => 8600194,1,Meetme,8600194
exten => 8600195,1,Meetme,8600195
exten => 8600196,1,Meetme,8600196
exten => 8600197,1,Meetme,8600197
exten => 8600198,1,Meetme,8600198
exten => 8600199,1,Meetme,8600199
exten => 8600200,1,Meetme,8600200

; quiet entry and leaving conferences for VICIDIAL
exten => _78600XXX,1,Meetme,${EXTEN:1}|q
; quiet monitor extensions for meetme rooms (for room managers)
exten => _68600XXX,1,Meetme,${EXTEN:1}|mq

;######------ END extensions.conf changes for VD conf ------######

;######------ START extensions.conf other additions ------######
; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(park)
exten => 8301,4,Hangup
exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup

; park channel for client GUI conferencing, hangup after 30 minutes
; create a GSM formatted audio file named "conf.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8302,1,Answer
exten => 8302,2,Playback(conf)
exten => 8302,3,Hangup

; default audio for safe harbor 2-second-after-hello message then hangup
; create a GSM formatted audio file complies with safe harbor rules
; and put it in /var/lib/asterisk/sounds then change filename below
exten => 8307,1,Answer
exten => 8307,2,Playback(vm-goodbye)
exten => 8307,3,Hangup

; this is used for recording conference calls, the client app sends the filename
; value as a callerID recordings go to /var/spool/asterisk/monitor (WAV)
exten => 8309,1,Answer
exten => 8309,2,Monitor(wav,${CALLERIDNAME})
exten => 8309,3,Wait,3600
exten => 8309,4,Hangup

; this is used for recording conference calls, the client app sends the filename
; value as a callerID recordings go to /var/spool/asterisk/monitor (GSM)
exten => 8310,1,Answer
exten => 8310,2,Monitor(gsm,${CALLERIDNAME})
exten => 8310,3,Wait,3600
exten => 8310,4,Hangup

; this is used for playing a message to an answering machine forwarded from AMD in VICIDIAL
; replace conf with the message file you want to leave
exten => 8320,1,WaitForSilence(2000,2) ; AMD got machine. leave message after recording
exten => 8320,2,Playback(conf)
exten => 8320,3,AGI(VD_amd_post.agi,${EXTEN})
exten => 8320,4,Hangup

; this is used to allow the GUI to send you directly into voicemail
; don't forget to set GUI variable $voicemail_exten to this extension
exten => 8501,1,VoicemailMain(s${CALLERIDNUM})
exten => 8501,2,Hangup

; this is used to allow the GUI to send live calls directly into voicemail
; don't forget to set GUI variable $voicemail_dump_exten to this extension
exten => _85026666666666.,1,Wait(2)
exten => _85026666666666.,2,Voicemail(${EXTEN:14})
exten => _85026666666666.,3,Hangup

; this is used for sending DTMF signals within conference calls, the client app
; sends the digits to be played in the callerID field
; sound files must be placed in /var/lib/asterisk/sounds
exten => 8500998,1,Answer
exten => 8500998,2,Playback(silence)
exten => 8500998,3,AGI(agi-dtmf.agi)
exten => 8500998,4,Hangup

; prompt recording AGI script, ID is 4321
exten => 8168,1,Answer
exten => 8168,2,AGI(agi-record_prompts.agi)
exten => 8168,3,Hangup

; playback of recorded prompts
exten => _851XXXXX,1,Answer
exten => _851XXXXX,2,Playback(${EXTEN})
exten => _851XXXXX,3,Hangup


#### VDAD STANDARD TRANSFER ENTRIES ####
; VICIDIAL_auto_dialer transfer script for no-agent campaigns:
;exten => 8364,1,Playback(sip-silence)
exten => 8364,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8364,n,AGI(agi-VDADtransferBROADCAST.agi,${EXTEN})
exten => 8364,n,AGI(agi-VDADtransferBROADCAST.agi,${EXTEN})
exten => 8364,n,Hangup

; VICIDIAL_auto_dialer transfer script:
;exten => 8365,1,Playback(sip-silence)
exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8365,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup


; VICIDIAL_auto_dialer transfer script SURVEY at beginning:
exten => 8366,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,2,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,3,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,4,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8367,2,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8368,2,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup

; VICIDIAL_auto_dialer transfer script AMD with Load Balanced:
exten => 8369,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8369,2,AMD(3500|1500|300|5000|120|50|5|256)
exten => 8369,3,AGI(VD_amd.agi,${EXTEN})
exten => 8369,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,5,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,6,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8369,7,Hangup

; VICIDIAL auto-dial reminder script
exten => 8372,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8372,2,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,3,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,4,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,5,Hangup


I hope you can see where I went wrong....

Thanks...
hotdog0627
 
Posts: 58
Joined: Tue Feb 20, 2007 2:10 pm

Postby hotdog0627 » Tue Mar 27, 2007 12:20 am

ok.. thanks to Art, he fixed my problem...

What we saw was.. on the dialplan, taken from the scratch install, it said...
exten => 8309,1,Answer
exten => 8309,2,Monitor(wav,${CALLERIDNAME})
exten => 8309,3,Wait,3600
exten => 8309,4,Hangup

Wait, 3600 <--- meaning it waits for an hour before it disconnects or hangs up the 786000XX recording channel. So we set it to 36 secs...

But the problem is after 36 secs, the recording channel disconnects...

Is it really like that? Or the correct setting is really 3600 and vicidial is supposed to disconnect the recording channel as soon as the HANGUP CUSTOMER is clicked?
hotdog0627
 
Posts: 58
Joined: Tue Feb 20, 2007 2:10 pm

Postby mflorell » Tue Mar 27, 2007 5:49 am

The wait is supposed to be for an hour, VICIDIAL is supposed to stop recording after each call is hung up.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby hotdog0627 » Tue Mar 27, 2007 11:34 am

ok. so how does vicidial stop the recording? how does it detect that the call was hung up? it seems that the recording stops only when that channel is hung up.
hotdog0627
 
Posts: 58
Joined: Tue Feb 20, 2007 2:10 pm

Postby aster1 » Tue Mar 27, 2007 12:26 pm

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Set(CALLERID(name)=)
exten => _91NXXNXXXXXX,3,Dial(sip/${EXTEN:1}@sipprovider,55,o)
exten => _91NXXNXXXXXX,4,Hangup



remove second line exten => _91NXXNXXXXXX,2,Set(CALLERID(name)=) and try once . In another thread some got problem in autodialiong due tto this .

and it is exten => 8309,3,Wait,3600 in dialplan . vicidial hangup's channel and stops recording .
aster1
 
Posts: 281
Joined: Sun Dec 24, 2006 6:48 am
Location: India

Postby hotdog0627 » Tue Mar 27, 2007 1:33 pm

my voip provider will not connect the call if the caller ID is not set... hence I cannot remove that second line.

How does vicidial hang up both channels when the agent clicks on "HANGUP CUSTOMER"? Coz on all of my boxes (1 slackware, and 3 Centos) I have the same problem.
hotdog0627
 
Posts: 58
Joined: Tue Feb 20, 2007 2:10 pm

Postby mflorell » Wed Mar 28, 2007 4:25 pm

Why not use a separate dialplan number for VICIDIAL calls?

991NXXNXXXXXX just add another 9 to the dialing prefix in your campaign detail screen then you can leave the callerID alteration out of that set of extensions.conf entries.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gerski » Thu Mar 29, 2007 11:48 am

are you using sip trunk? if that is the case try to put it on sip.conf:

[sip]
disallow=all
insecure=very
canreinvite=yes
allow=ulaw
fromuser=XXXXXXXX ;You will set here the CID.
sendrpid=yes ; Fix to pass the CID and not pass the from the SIP packet
context=default
type=friend
host=XX.XX.XX.XX
qualify=no
nat=no
dtmfmode=rfc2833
http://www.perfectnetworkcorp.com
Perfect Network Corporation
gerski
 
Posts: 432
Joined: Fri Jul 14, 2006 6:21 am

Postby caspar » Fri Mar 30, 2007 5:52 am

I had exactly the same problem, but I fixed it by modifying VICIDIAL's source code.

This is what I have done:

Modify the HangupConfDial section in the /agc/manager_send.php
Notice the second if-statement is comment out, to allow the recording to hang up when the agent hangup the call before the client could pick up the call.

Code: Select all
######################
# ACTION=HangupConfDial  - find the Local channel that is in the conference and needs to be hung up
######################
if ($ACTION=="HangupConfDial")
{
   $row='';   $rowx='';
   $channel_live=1;
#   if ( (strlen($exten)<3) or (strlen($queryCID)<15) or (strlen($ext_context)<1) )
#   {
#      $channel_live=0;
#      echo "conference $exten is not valid or ext_context $ext_context or queryCID $queryCID is not valid, Hangup command not inserted\n";
#   }
#   else
#   {
      $local_DEF = 'Local/';
      $local_AMP = '@';
      $hangup_channel_prefix = "$local_DEF$exten$local_AMP$ext_context";
      $stmt="SELECT count(*) FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$hangup_channel_prefix%\";";
         if ($format=='debug') {echo "\n<!-- $stmt -->";}
      $rslt=mysql_query($stmt, $link);
      $row=mysql_fetch_row($rslt);
      if ($row > 0)
      {
         $stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$hangup_channel_prefix%\";";
            if ($format=='debug') {echo "\n<!-- $stmt -->";}
         $rslt=mysql_query($stmt, $link);
         $rowx=mysql_fetch_row($rslt);
         $channel=$rowx[0];
         $ACTION="Hangup";
         $queryCID = eregi_replace("^.","G",$queryCID);
      }
#Recording fix#######################      
      $stmt="SELECT channel FROM live_sip_channels where server_ip = '$server_ip' and channel LIKE \"$local_DEF"."7$exten$local_AMP$ext_context%\";";
      echo "\n<!-- $stmt -->";
      $rslt=mysql_query($stmt, $link);
   #   $rec_count = intval(mysql_num_rows($rslt) / 2);
      $rec_count = mysql_num_rows($rslt);
      $h=0;
         while ($rec_count>$h)
         {
         $rowx=mysql_fetch_row($rslt);
         $HUchannel[$h] = $rowx[0];
         $h++;
         }
      $i=0;
         while ($h>$i)
         {
         $stmt="INSERT INTO vicidial_manager values('','','$NOW_TIME','NEW','N','$server_ip','','Hangup','RH12345$StarTtime$i','Channel: $HUchannel[$i]','','','','','','','','','');";
            if ($format=='debug') {echo "\n<!-- $stmt -->";}
         $rslt=mysql_query($stmt, $link);
         $i++;
         }
#Recording fix#######################

   #}
}


This code is actually running on a production system for about a month now and so far I had no complaints.
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa

Postby aster1 » Fri Mar 30, 2007 12:17 pm

Have you tried this ?

Under phones-->(phone name)

theres option "Stop Rec after each call:". IS IT SET TO 1 ?
aster1
 
Posts: 281
Joined: Sun Dec 24, 2006 6:48 am
Location: India

Postby mflorell » Fri Mar 30, 2007 6:26 pm

Have you posted this to the VICIDIAL issue tracker?

I have not been able to reproduce this problem on any of the production systems I have running so I cannot really test your patch.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby caspar » Mon Apr 02, 2007 1:45 am

Yes, "Stop Rec after each call:" IS SET TO 1
Yes, I had posted the issue.

Issue is posted at http://www.eflo.net/VICIDIALmantis/view.php?id=90
caspar
 
Posts: 111
Joined: Thu Dec 21, 2006 6:55 am
Location: South Africa


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 90 guests

cron