Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How to get ringing sound in outbound call in asterisk


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
omakhileshchand at gma...
Guest





PostPosted: Mon Jan 13, 2014 3:43 am    Post subject: [asterisk-users] How to get ringing sound in outbound call i Reply with quote

I have two server 

Server_A(outbound call) for agent login and agent make a outbound call from here and pass into server Server_B call 



extension.conf
 
exten => _91XX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XX.,n,Dial(SIP/${EXTEN}@192.168.53.197 ([email]EXTEN%7D@192.168.53.197[/email]),,tToR)
exten => _91XX.,n,hangup()





Server_B[192.168.53.197] for call forwarding


extension.conf


exten => _911X.,1,ChanisAvail(${TRUNK_GRP3})

exten => _911X.,2,gotoif($["${AVAILCHAN}" = ""]?lbl_busy:)
exten => _911X.,n,Set(CALLTIME=${STRFTIME(${EPOCH},Asia/Calcutta,%d-%b-%Y-%H-%M-%S)})
exten => _911X.,n,Gotoif($["${RECORDING_ENABLED}"="Y"]?lbl_dbc:lbl_dial)
exten => _911X.,n(lbl_dbc),Set(RECSUBDIR=${STRFTIME(${EPOCH},Asia/Calcutta,%d%b%Y)})
exten => _911X.,n,Set(CALLERID(num)=${IDGCLI})
exten => _911X.,n,Set(FILENAME=${IDGTERMINAL}_${EXTEN:1}_${CALLTIME}.WAV)
exten => _911X.,n,Set(RECORDFILENAME=${RECSUBDIR}/${FILENAME})
exten => _911X.,n,Gotoif($["${IDGCALL}"=""]?lbl_setcall:lbl_sendevent)
exten => _911X.,n(lbl_setcall),Set(IDGCALL=0)
exten => _911X.,n(lbl_sendevent),Gotoif($["${DBTYPE}"="SQL"]?lbl_sql:)
exten => _911X.,n,Gotoif($["${DBTYPE}"="MYSQL"]?lbl_mysql:lbl_record)
exten => _911X.,n(lbl_sql),UserEvent(${CHANNEL}$DBEXEC$EXEC udsp_vlog_start_record '${CHANNEL}'#'${IDGTERMINAL}'#'${EXTEN:1}'#'${FILENAME}'#'${UNIQUEID}'#'${CALLERID(num)}'#'O'#${VLOGSERVER}#'${HTTPPATH}${RECORDFILENAME}'#${IDGCALL}$)
exten => _911X.,n,Goto(lbl_record)
exten => _911X.,n(lbl_mysql),UserEvent(${CHANNEL}$DBEXEC$CALL udsp_vlog_start_record ('${CHANNEL}'#'${IDGTERMINAL}'#'${EXTEN:1}'#'${FILENAME}'#'${UNIQUEID}'#'${CALLERID(num)}'#'O'#${VLOGSERVER}#'${HTTPPATH}${RECORDFILENAME}'#${IDGCALL})$)
exten => _911X.,n(lbl_record),MixMonitor(${RECORDING_PATH_OUT_SREI}${RECORDFILENAME})
exten => _911X.,n(lbl_dial),Set(ChanLength=${LEN(${AVAILCHAN})})
exten => _911X.,n,Set(NewChannel=${AVAILCHAN:0:$[${ChanLength}-2]})
exten => _911X.,n,Dial(${NewChannel}/${EXTEN:3},,tToR)
exten => _911X.,n,hangup()
exten => _911X.,n(lbl_busy),Busy()





I'm not able listened ringing sound when i make outbound call.


Regards
Akhilesh
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services