by rishuk » Thu Dec 13, 2007 12:49 pm
Hi friends,
i am seeting Closer campaign but not able to do it.
for example
my DID no. will be likw 2127773456 and gateway ip will be 61.16.250.240 and UID is abcd and PWD is xyz
what will be confguration sip.conf and extensions.conf for it.
my current conf is
sip.conf
[general]
context=default
register => abcd:xyz@61.16.250.240
port=5060
bindaddr=0.0.0.0
srvlookup=yes
rtptimeout=3600
rtpholdtimeout=3600
dtmfmode=rfc2833
disallow=all
allow=ulaw
;allow=all
[101]
type=friend
username=101
secret=101
host=dynamic
port=5060
;port=6080
dtmfmode=rfc2833
canreinvite=no
;context=from-agent
disallow=all
allow=ulaw
[102]
type=friend
username=102
secret=102
host=dynamic
port=5060
dtmfmode=rfc2833
canreinvite=no
;context=from-agent
disallow=all
allow=ulaw
[2127773456]
type=peer
insecure=very
host= 61.16.250.240
disallow=all
allow=ulaw
allow=gsm
Extensions.conf
[general]
static=yes
writeprotect=no
[globals]
CONSOLE => Console/dsp
TRUNKSIPNUMBER=SIP/abcd:xyz@61.16.250.240
[internal]
[outgoing]
[from-agent]
exten => h,1,Hangup()
exten => t,1,Hangup()
include => outgoing
include => internal
[default]
exten => #,1,Playback(invalid)
exten => #,2,Hangup()
exten => 78600051,1,Meetme(8600051,q)
exten => 78600052,1,Meetme(8600052,q)
exten => 78600053,1,Meetme(8600053,q)
exten => 78600054,1,Meetme(8600054,q)
exten => 78600055,1,Meetme(8600055,q)
exten => 78600056,1,Meetme(8600056,q)
exten => 78600057,1,Meetme(8600057,q)
exten => 78600058,1,Meetme(8600058,q)
exten => 78600059,1,Meetme(8600059,q)
exten => 78600060,1,Meetme(8600060,q)
exten => 78600061,1,Meetme(8600061,q)
exten => 78600062,1,Meetme(8600062,q)
exten => 78600063,1,Meetme(8600063,q)
exten => 78600064,1,Meetme(8600064,q)
exten => 78600065,1,Meetme(8600065,q)
exten => 78600066,1,Meetme(8600066,q)
exten => 78600067,1,Meetme(8600067,q)
exten => 78600068,1,Meetme(8600068,q)
exten => 78600069,1,Meetme(8600069,q)
exten => 78600070,1,Meetme(8600070,q)
exten => 78600071,1,Meetme(8600071,q)
exten => 78600072,1,Meetme(8600072,q)
exten => 78600073,1,Meetme(8600073,q)
exten => 78600074,1,Meetme(8600074,q)
exten => 78600075,1,Meetme(8600075,q)
exten => 78600076,1,Meetme(8600076,q)
exten => 78600077,1,Meetme(8600077,q)
exten => 78600078,1,Meetme(8600078,q)
exten => 78600079,1,Meetme(8600079,q)
exten => 78600080,1,Meetme(8600080,q)
exten => 8159,1,ZapBarge()
exten => 8159,2,Hangup()
exten => 8301,1,Answer()
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(park)
exten => 8301,4,Hangup()
exten => 8302,1,Answer()
exten => 8302,2,Playback(conf)
exten => 8302,3,Hangup()
exten => 8309,1,Answer()
exten => 8309,2,Monitor(wav,${CALLERIDNAME})
exten => 8309,3,Wait(3600)
exten => 8309,4,Hangup()
exten => 8365,1,AGI(call_log.agi,${EXTEN})
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()
exten => 8366,1,AGI(call_log.agi,${EXTEN})
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()
exten => 8367,1,AGI(call_log.agi,${EXTEN})
exten => 8367,2,machinedetect(700,2,2200)
exten => 8367,3,NVFaxDetect(|t)
exten => 8367,4,Hangup
exten => mac,1,AGI(agi-AMD.agi,${EXTEN})
exten => mac,2,AGI(agi-AMD.agi,${EXTEN})
exten => mac,3,AGI(agi-AMD.agi,${EXTEN})
exten => mac,4,NVFaxDetect(|t)
exten => mac,5,Hangup
;exten => 8367,4,AGI(agi-VDADtransfer.agi,${EXTEN})
;exten => 8367,5,Hangup
exten => fax,1,AGI(agi_FAX.agi,${EXTEN})
exten => fax,2,AGI(agi_FAX.agi,${EXTEN})
exten => fax,3,AGI(agi_FAX.agi,${EXTEN})
exten => fax,4,Hangup
exten => talk,1,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => talk,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => talk,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => talk,4,Hangup
exten => 8368,1,Answer()
exten => 8368,2,playback(conf)
exten => 8368,3,hangup()
exten => 8500,1,VoicemailMain()
exten => 8500,2,Goto(s,6)
exten => 8500998,1,Answer()
exten => 8500998,2,AGI(agi-dtmf.agi)
exten => 8500998,3,Hangup()
exten => 8501,1,VoicemailMain(s${CALLERID})
exten => 8501,2,Hangup()
exten => 8600,1,Meetme(8600)
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)
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 => 8601,1,Meetme(8601)
exten => h,1,DeadAGI(call_log.agi,${EXTEN})
exten => h,2,DeadAGI(VD_hangup.agi,PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
exten => i,1,Playback(invalid)
exten => t,1,Goto(#,1)
exten => s,1,AGI(agi-VDADcloser_inboundCIDlookup.agi,CLOSER-----2127773456-----CLOSER----------999-----1)
exten => s,2,Hangup
local]
include => default
plz help.