Page 1 of 1

Not getting Call in Client system and softphone

PostPosted: Wed Jul 22, 2009 12:50 am
by cravindr
Hai I am using vicidialnow 1.2 ce final

and i configur sipconfig and extention.config , if the client is logged in the x-light popuped and get the welcome image . but the call is not land in the client system and client softphone(x-lite)

in this mail i attached my sip.config and extensions.config detail
d
-------------------------sip-------------------------------
[general]
port = 5060
bindaddr = 0.0.0.0
context = default
; register SIP account on remote machine if using SIP trunks
register => 55511115xxxx:261444xxxx@38.117.xx.xx:5060
;
; setup account for SIP trunking:
[trunk_1]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=55511115xxxx
secret=261444xxxx
host=38.117.xx.xx
dtmfmode=inband
qualify=1000
fromuser=55511115xxxx



[gs102]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=gs102
secret=test
host=dynamic
dtmfmode=inband
defaultip=10.10.10.16
qualify=1000
mailbox=102

[spa2000]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=spa2000
secret=test
host=dynamic
dtmfmode=inband
defaultip=10.10.10.17
qualify=1000
mailbox=2000

[spa2001]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=spa2001
secret=test
host=dynamic
dtmfmode=inband
defaultip=10.10.10.17
qualify=1000
mailbox=2001

[spa2000]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=spa2000
secret=test
host=dynamic
dtmfmode=inband
defaultip=10.10.10.17
qualify=1000
mailbox=2000

[cc100]
type=friend
username= cc100
secret=test
host=dynamic
nat=yes
qualify=no
nat=yes
canreinvite=no
insecure=very
disallow=all
allow=g729
allow=gsm
allow=ulaw
context=default
dtmfmode=rfc2833


[cc101]
type=friend
username=cc101
secret=test
host=dynamic
qualify=no
nat=yes
canreinvite=no
insecure=very
disallow=all
allow=g729
allow=gsm
allow=ulaw
context=default
dtmfmode=rfc2833

[cc102]
type=friend
username=cc102
secret=test
host=dynamic
qualify=no
nat=yes
canreinvite=no
insecure=very
disallow=all
allow=g729
allow=gsm
allow=ulaw
context=default
dtmfmode=rfc2833

[cc103]
type=friend
username=cc103
secret=test
host=dynamic
qualify=no
nat=yes
canreinvite=no
insecure=very
disallow=all
allow=g729
allow=gsm
allow=ulaw
context=default
dtmfmode=rfc2833

[9777]
type=friend
username=9777
secret=6789
autocreatepeer=no
host=dynamic
qualify=yes
nat=yes
canreinvite=no
insecure=very
disallow=all
allow=g729
allow=gsm
allow=ulaw
context=default
dtmfmode=rfc2833

------------------extensions.config-------------------------------------
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

[globals]
CONSOLE => Console/dsp
IAXINFO => guest
SIPtrunk=SIP/trunk_1
TRUNKMSD => 1

[default]
exten => #,1,Playback(invalid)
exten => #,2,Hangup()

exten => cc100,1,Dial(sip/cc100,30,to)
exten => cc100,2,Voicemail(u1000)

exten => cc101,1,Dial(sip/cc101,30,to)
exten => cc101,2,Voicemail(u101)

exten => cc102,1,Dial(sip/cc102,30,to)
exten => cc102,2,Voicemail(u102)

exten => cc103,1,Dial(sip/cc103,30,to)
exten => cc103,2,Voicemail(u103)

exten => cc104,1,Dial(sip/cc104,30,to)
exten => cc104,2,Voicemail(u104)

exten => cc105,1,Dial(sip/cc105,30,to)
exten => cc105,2,Voicemail(u105)

exten => cc106,1,Dial(sip/cc106,30,to)
exten => cc106,2,Voicemail(u106)

exten => cc107,1,Dial(sip/cc107,30,to)
exten => cc107,2,Voicemail(u107)

exten => cc108,1,Dial(sip/cc108,30,to)
exten => cc108,2,Voicemail(u108)

exten => cc109,1,Dial(sip/cc109,30,to)
exten => cc109,2,Voicemail(u109)

exten => cc110,1,Dial(sip/cc110,30,to)
exten => cc110,2,Voicemail(u110)

exten => cc111,1,Dial(sip/cc111,30,to)
exten => cc111,2,Voicemail(u111)

exten => cc112,1,Dial(sip/cc112,30,to)
exten => cc112,2,Voicemail(u112)

exten => cc113,1,Dial(sip/cc113,30,to)
exten => cc113,2,Voicemail(u113)

exten => cc114,1,Dial(sip/cc114,30,to)
exten => cc114,2,Voicemail(u114)

exten => cc115,1,Dial(sip/115,30,to)
exten => cc115,2,Voicemail(u115)

exten => cc116,1,Dial(sip/cc116,30,to)
exten => cc116,2,Voicemail(u116)

exten => cc117,1,Dial(sip/cc117,30,to)
exten => cc117,2,Voicemail(u117)

exten => cc118,1,Dial(sip/cc118,30,to)
exten => cc118,2,Voicemail(u118)

exten => cc119,1,Dial(sip/cc119,30,to)
exten => cc119,2,Voicemail(u119)

exten => cc120,1,Dial(sip/cc120,30,to)
exten => cc120,2,Voicemail(u120)

exten => cc121,1,Dial(sip/cc121,30,to)
exten => cc121,2,Voicemail(u121)

exten => cc122,1,Dial(sip/cc122,30,to)
exten => cc122,2,Voicemail(u122)

exten => cc123,1,Dial(sip/cc123,30,to)
exten => cc123,2,Voicemail(u123)

exten => cc124,1,Dial(sip/cc124,30,to)
exten => cc124,2,Voicemail(u124)

exten => cc125,1,Dial(sip/cc125,30,to)
exten => cc125,2,Voicemail(u125)

exten => cc126,1,Dial(sip/cc126,30,to)
exten => cc126,2,Voicemail(u126)

exten => cc127,1,Dial(sip/cc127,30,to)
exten => cc127,2,Voicemail(u127)

exten => cc128,1,Dial(sip/cc128,30,to)
exten => cc128,2,Voicemail(u128)

exten => cc129,1,Dial(sip/cc129,30,to)
exten => cc129,2,Voicemail(u129)

exten => cc130,1,Dial(sip/cc130,30,to)
exten => cc130,2,Voicemail(u130)



exten => 9777,1,Dial(sip/9777,30,to)
exten => 9777,2,Voicemail(u9777)

exten => 5566,1,ChanSpy(all)
exten => 5566,2,Hangup()

exten => 68600051,1,Meetme(8600051,mq)

exten => 68600052,1,Meetme(8600052,mq)

exten => 68600053,1,Meetme(8600053,mq)

exten => 68600054,1,Meetme(8600054,mq)

exten => 68600055,1,Meetme(8600055,mq)

exten => 68600056,1,Meetme(8600056,mq)

exten => 68600057,1,Meetme(8600057,mq)

exten => 68600058,1,Meetme(8600058,mq)

exten => 68600059,1,Meetme(8600059,mq)

exten => 68600060,1,Meetme(8600060,mq)

exten => 68600061,1,Meetme(8600061,mq)

exten => 68600062,1,Meetme(8600062,mq)

exten => 68600063,1,Meetme(8600063,mq)

exten => 68600064,1,Meetme(8600064,mq)

exten => 68600065,1,Meetme(8600065,mq)

exten => 68600066,1,Meetme(8600066,mq)

exten => 68600067,1,Meetme(8600067,mq)

exten => 68600068,1,Meetme(8600068,mq)

exten => 68600069,1,Meetme(8600069,mq)

exten => 68600070,1,Meetme(8600070,mq)

exten => 68600071,1,Meetme(8600071,mq)

exten => 68600072,1,Meetme(8600072,mq)

exten => 68600073,1,Meetme(8600073,mq)

exten => 68600074,1,Meetme(8600074,mq)

exten => 68600075,1,Meetme(8600075,mq)

exten => 68600076,1,Meetme(8600076,mq)

exten => 68600077,1,Meetme(8600077,mq)

exten => 68600078,1,Meetme(8600078,mq)

exten => 68600079,1,Meetme(8600079,mq)

exten => 68600080,1,Meetme(8600080,mq)

exten => 68600081,1,Meetme(8600081,mq)

exten => 68600082,1,Meetme(8600082,mq)

exten => 68600083,1,Meetme(8600083,mq)

exten => 68600084,1,Meetme(8600084,mq)

exten => 68600085,1,Meetme(8600085,mq)

exten => 68600086,1,Meetme(8600086,mq)

exten => 68600087,1,Meetme(8600087,mq)

exten => 68600088,1,Meetme(8600088,mq)

exten => 68600089,1,Meetme(8600089,mq)

exten => 68600090,1,Meetme(8600090,mq)

exten => 68600091,1,Meetme(8600091,mq)

exten => 68600092,1,Meetme(8600092,mq)

exten => 68600093,1,Meetme(8600093,mq)

exten => 68600094,1,Meetme(8600094,mq)

exten => 68600095,1,Meetme(8600095,mq)

exten => 68600096,1,Meetme(8600096,mq)

exten => 68600097,1,Meetme(8600097,mq)

exten => 68600098,1,Meetme(8600098,mq)

exten => 68600099,1,Meetme(8600099,mq)

exten => 68600100,1,Meetme(8600100,mq)

exten => 7001,1,PlayBack(tt-monkeys)
exten => 7001,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 => 78600081,1,Meetme(8600081,q)

exten => 78600082,1,Meetme(8600082,q)

exten => 78600083,1,Meetme(8600083,q)

exten => 78600084,1,Meetme(8600084,q)

exten => 78600085,1,Meetme(8600085,q)

exten => 78600086,1,Meetme(8600086,q)

exten => 78600087,1,Meetme(8600087,q)

exten => 78600088,1,Meetme(8600088,q)

exten => 78600089,1,Meetme(8600089,q)

exten => 78600090,1,Meetme(8600090,q)

exten => 78600091,1,Meetme(8600091,q)

exten => 78600092,1,Meetme(8600092,q)

exten => 78600093,1,Meetme(8600093,q)

exten => 78600094,1,Meetme(8600094,q)

exten => 78600095,1,Meetme(8600095,q)

exten => 78600096,1,Meetme(8600096,q)

exten => 78600097,1,Meetme(8600097,q)

exten => 78600098,1,Meetme(8600098,q)

exten => 78600099,1,Meetme(8600099,q)

exten => 78600100,1,Meetme(8600100,q)

exten => 8159,1,ZapBarge()
exten => 8159,2,Hangup()

exten => 8168,1,Answer()
exten => 8168,2,AGI(agi-record_prompts.agi)
exten => 8168,3,Hangup()

exten => 8300,1,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 => 8303,1,Answer()
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup()

exten => 8307,1,Answer()
exten => 8307,2,Playback(vm-goodbye)
exten => 8307,3,Hangup()

exten => 8309,1,Answer()
exten => 8309,2,Monitor(wav,${CALLERIDNAME})
exten => 8309,3,Wait(3600)
exten => 8309,4,Hangup()

exten => 8310,1,Answer()
exten => 8310,2,Monitor(gsm,${CALLERIDNAME})
exten => 8310,3,Wait(3600)
exten => 8310,4,Hangup()

exten => 8320,1,WaitForSilence(2000,2)
exten => 8320,2,Playback(conf)
exten => 8320,3,AGI(VD_amd_post.agi,${EXTEN})
exten => 8320,4,Hangup()

exten => 8364,1,Playback(sip-silence)
exten => 8364,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8364,3,AGI(agi-VDADtransferBROADCAST.agi,${EXTEN})
exten => 8364,4,AGI(agi-VDADtransferBROADCAST.agi,${EXTEN})
exten => 8364,5,Hangup()

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

exten => 8366,1,Playback(sip-silence)
exten => 8366,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,3,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,4,AGI(agi-VDADtransferSURVEY.agi,${EXTEN})
exten => 8366,5,Hangup()

exten => 8367,1,Playback(sip-silence)
exten => 8367,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8367,3,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,4,AGI(agi-VDAD_LO_transfer.agi,${EXTEN})
exten => 8367,5,Hangup()

exten => 8368,1,Playback(sip-silence)
exten => 8368,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8368,3,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,4,AGI(agi-VDAD_LB_transfer.agi,${EXTEN})
exten => 8368,5,Hangup()

exten => 8369,1,Playback(sip-silence)
exten => 8369,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8369,3,AMD(3500,1500,300,6000,120,50,5,256)
exten => 8369,4,AGI(VD_amd.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()

exten => 8372,1,Playback(sip-silence)
exten => 8372,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8372,3,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,4,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,5,Hangup()

exten => 8500,1,VoicemailMain()
exten => 8500,2,Goto(s,6)

exten => 8500998,1,Answer()
exten => 8500998,2,Playback(silence)
exten => 8500998,3,AGI(agi-dtmf.agi)
exten => 8500998,4,Hangup()

exten => 8501,1,VoicemailMain(s${CALLERIDNUM})
exten => 8501,2,Hangup()

exten => 8600,1,Meetme(8600)

exten => 8600001,1,Meetme(8600011,q)

exten => 8600002,1,Meetme(8600011,q)

exten => 8600003,1,Meetme(8600011,q)

exten => 8600004,1,Meetme(8600011,q)

exten => 8600005,1,Meetme(8600011,q)

exten => 8600006,1,Meetme(8600011,q)

exten => 8600007,1,Meetme(8600011,q)

exten => 8600008,1,Meetme(8600011,q)

exten => 8600009,1,Meetme(8600011,q)

exten => 8600010,1,Meetme(8600011,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)

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 => 8601,1,Meetme(8601)

exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${SIPtrunk}/${EXTEN:1},55,o)
exten => _91NXXNXXXXXX,3,Hangup


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}))

exten => i,1,Playback(invalid)

exten => t,1,Goto(#,1)

exten => _68600XXX,1,Meetme(${EXTEN:1},mq)

exten => _78600XXX,1,Meetme(${EXTEN:1},q)

exten => _85026666666666.,1,Wait(2)
exten => _85026666666666.,2,Voicemail(${EXTEN:14})
exten => _85026666666666.,3,Hangup()

exten => _851XXXXX,1,Answer()
exten => _851XXXXX,2,Playback(${EXTEN})
exten => _851XXXXX,3,Hangup()

exten => _90009.,1,Answer()
exten => _90009.,2,AGI(agi-VDADcloser.agi,${EXTEN}-----START)
exten => _90009.,3,Hangup()

exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(SIP/${EXTEN:1}@sip,,tTor)
exten => _9X.,3,Hangup()

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

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

exten => _[1-8]X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _[1-8]X.,2,Dial(SIP/${EXTEN}@sip,,tTor)
exten => _[1-8]X.,3,Hangup()

[demo]
exten => #,1,Playback(demo-thanks)
exten => #,2,Hangup()

exten => 1000,1,Goto(default,s,1)

exten => 2,1,BackGround(demo-moreinfo)
exten => 2,2,Goto(s,instruct)

exten => 3,1,Set(LANGUAGE()=fr)
exten => 3,2,Goto(s,restart)

exten => 500,1,Playback(demo-abouttotry)
exten => 500,2,Dial(IAX2/guest@misery.digium.com/s@default)
exten => 500,3,Playback(demo-nogo)
exten => 500,4,Goto(s,6)

exten => 600,1,Playback(demo-echotest)
exten => 600,2,Echo()
exten => 600,3,Playback(demo-echodone)
exten => 600,4,Goto(s,6)

exten => 8500,1,VoicemailMain()
exten => 8500,2,Goto(s,6)

exten => i,1,Playback(invalid)

exten => s,1,Wait(1)
exten => s,2,Answer()
exten => s,3,Set(TIMEOUT(digit)=5)
exten => s,4,Set(TIMEOUT(response)=10)
exten => s,5(restart),BackGround(demo-congrats)
exten => s,6(instruct),BackGround(demo-instruct)
exten => s,7,WaitExten()

exten => t,1,Goto(#,1)

[macro-stdPrivacyexten]
exten => a,1,VoicemailMain(${ARG1})

exten => s,1,Dial(${ARG2},20,p)
exten => s,2,Goto(s-${DIALSTATUS},1)

exten => s-BUSY,1,Voicemail(b${ARG1})
exten => s-BUSY,2,Goto(default,s,1)

exten => s-DONTCALL,1,Goto(${ARG3},s,1)

exten => s-NOANSWER,1,Voicemail(u${ARG1})
exten => s-NOANSWER,2,Goto(default,s,1)

exten => s-TORTURE,1,Goto(${ARG4},s,1)

exten => _s-.,1,Goto(s-NOANSWER,1)

[macro-stdexten]
exten => a,1,VoicemailMain(${ARG1})

exten => s,1,Dial(${ARG2},20)
exten => s,2,Goto(s-${DIALSTATUS},1)

exten => s-BUSY,1,Voicemail(b${ARG1})
exten => s-BUSY,2,Goto(default,s,1)

exten => s-NOANSWER,1,Voicemail(u${ARG1})
exten => s-NOANSWER,2,Goto(default,s,1)

exten => _s-.,1,Goto(s-NOANSWER,1)

[local]
include => default
include => parkedcalls
include => trunklocal
include => iaxtel700
include => trunktollfree
include => iaxprovider

ignorepat => 9
[longdistance]
include => local
include => trunkld

ignorepat => 9
[international]
include => longdistance
include => trunkint

ignorepat => 9
[trunktollfree]
exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

[trunklocal]
exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

[trunkld]
exten => _91NXXNXXXXXX,1,Macro(dundi-e164,${EXTEN:1})
exten => _91NXXNXXXXXX,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

[trunkint]
exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})
exten => _9011.,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

[iaxprovider]
[iaxtel700]
exten => _91700XXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)

[macro-dundi-e164]
exten => s,1,Goto(${ARG1},1)

include => dundi-e164-lookup

[dundi-e164-lookup]
include => dundi-e164-local
include => dundi-e164-switch

[dundi-e164-switch]
switch => DUNDi/e164

[dundi-e164-local]
include => dundi-e164-canonical
include => dundi-e164-customers
include => dundi-e164-via-pstn

[dundi-e164-via-pstn]
[dundi-e164-customers]
[dundi-e164-canonical]
[from-sbttalk]
exten => 7325897639,1,Ringing()
exten => 7325897639,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 7325897639,3,AGI(call_inbound.agi,1001-----7325897639-----Inbound 800-----x-----y-----z-----w)
exten => 7325897639,4,Answer()
exten => 7325897639,5,Dial(sip/1001&sip/1002,30,to)
exten => 7325897639,6,Voicemail(u1001)

[from-sip]
exten => _X.,1,Congestion()


------------------------------Putty Screen Output-----------------------------------------------

-- Executing DeadAGI("SIP/cc101-09f2cc60", "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("SIP/cc101-09f2cc60", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/55558600051@default-c456,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 Dial("Local/55558600051@default-c456,2", "SIP/55558600051@sip||tTor") in new stack
-- Called 55558600051@sip
== Spawn extension (default, 14167432922, 2) exited non-zero on 'Local/14167432922@default-1b59,2'
-- Executing DeadAGI("Local/14167432922@default-1b59,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/14167432922@default-1b59,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
Jul 22 07:06:16 WARNING[10370]: channel.c:780 channel_find_locked: Avoided deadlock for '0x9f6fae8', 9 retries!
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 14167414307, 2) exited non-zero on 'Local/14167414307@default-49c3,2'
-- Executing DeadAGI("Local/14167414307@default-49c3,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/14167414307@default-49c3,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-c456,2'
-- Executing DeadAGI("Local/55558600051@default-c456,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/55558600051@default-c456,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== 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
== 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
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on 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
== 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
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("SIP/cc101-09f2cc60", "8600051") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/914167442377@default-e1a0,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 Dial("Local/914167442377@default-e1a0,2", "SIP/trunk_1/14167442377|55|o") in new stack
-- Called trunk_1/14167442377
== 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 AGI("Local/914166753840@default-439b,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 Dial("Local/914166753840@default-439b,2", "SIP/trunk_1/14166753840|55|o") in new stack
-- Called trunk_1/14166753840
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/914166790566@default-66f2,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 Dial("Local/914166790566@default-66f2,2", "SIP/trunk_1/14166790566|55|o") in new stack
-- Called trunk_1/14166790566
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/914166757569@default-d53a,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 Dial("Local/914166757569@default-d53a,2", "SIP/trunk_1/14166757569|55|o") in new stack
-- Called trunk_1/14166757569
-- SIP/trunk_1-09f86e20 is making progress passing it to Local/914167442377@default-e1a0,2
-- SIP/trunk_1-09f95638 is making progress passing it to Local/914166753840@default-439b,2
-- SIP/trunk_1-09fa0f68 is making progress passing it to Local/914166790566@default-66f2,2
-- SIP/trunk_1-09fac898 is making progress passing it to Local/914166757569@default-d53a,2
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged on 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
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/trunk_1-09f86e20 answered Local/914167442377@default-e1a0,2
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/914167442377@default-e1a0,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/914167442377@default-e1a0,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 AGI("Local/914167442377@default-e1a0,1", "agi-VDAD_LB_transfer.agi|8368") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_transfer.agi
-- AGI Script agi-VDAD_LB_transfer.agi completed, returning 0
-- Executing AGI("Local/914167442377@default-e1a0,1", "agi-VDAD_LB_transfer.agi|8368") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_transfer.agi
-- AGI Script agi-VDAD_LB_transfer.agi completed, returning 0
-- Executing Hangup("Local/914167442377@default-e1a0,1", "") in new stack
== Spawn extension (default, 8368, 5) exited non-zero on 'Local/914167442377@default-e1a0,1'
-- Executing DeadAGI("Local/914167442377@default-e1a0,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/914167442377@default-e1a0,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 914167442377, 2) exited non-zero on 'Local/914167442377@default-e1a0,2'
-- Executing DeadAGI("Local/914167442377@default-e1a0,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/914167442377@default-e1a0,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----20-----1)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --20-----1) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/trunk_1-09fa0f68 answered Local/914166790566@default-66f2,2
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/914166790566@default-66f2,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/914166790566@default-66f2,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 AGI("Local/914166790566@default-66f2,1", "agi-VDAD_LB_transfer.agi|8368") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_transfer.agi
-- AGI Script agi-VDAD_LB_transfer.agi completed, returning 0
-- Executing AGI("Local/914166790566@default-66f2,1", "agi-VDAD_LB_transfer.agi|8368") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_LB_transfer.agi
-- AGI Script agi-VDAD_LB_transfer.agi completed, returning 0
-- Executing Hangup("Local/914166790566@default-66f2,1", "") in new stack
== Spawn extension (default, 8368, 5) exited non-zero on 'Local/914166790566@default-66f2,1'
-- Executing DeadAGI("Local/914166790566@default-66f2,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/914166790566@default-66f2,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 914166790566, 2) exited non-zero on 'Local/914166790566@default-66f2,2'
-- Executing DeadAGI("Local/914166790566@default-66f2,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/914166790566@default-66f2,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----21-----0)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --21-----0) completed, returning 0
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("Local/914166757569@default-d53a,2", "") in new stack
== Spawn extension (default, 914166757569, 3) exited non-zero on 'Local/914166757569@default-d53a,2'
-- Executing DeadAGI("Local/914166757569@default-d53a,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/914166757569@default-d53a,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----21-----CHANUNAVAIL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("Local/914166753840@default-439b,2", "") in new stack
== Spawn extension (default, 914166753840, 3) exited non-zero on 'Local/914166753840@default-439b,2'
-- Executing DeadAGI("Local/914166753840@default-439b,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/914166753840@default-439b,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----21-----CHANUNAVAIL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
vici*CLI>

PostPosted: Wed Jul 29, 2009 10:49 pm
by williamconley
it is not necessary (or advisable) to manually modify the sip.conf or extensions.conf on a Vicidial 2.0.5 system. Everything should be handled through the user interface. Wipe it clean, reinstall fresh, and follow the instructions. It will work much better. Go line by line and if you get an error reading, ask for help.

Please read the stickes (required) and the manual (also required) and post your setup (i got the vicidialNOW1.2 CE .. but ...) including any extra software that may be installed and your hardware.

Even if you do include the 1.2CE, that is the VicidialNOW version, not the Vicidial Version and you may not get a response from someone who may know the answer to your question because they aren't sure of the Vicidial Version you are using.

All users (lurkers?) are encouraged to "lend a hand" and if you can help us to help you by putting your hardware/software versions and any additional info in a one or two line signature, you are MUCH more likely to get "I just learned this last month but I KNOW the answer to this question!" guys to chip in and answer you.

VicidialNOW is very easy to use, don't overcomplicate it. One step at a time through the instructions and do not dive into the "asterisk" stuff until you have a FUNCTIONAL Vicidial. Then play all you want, but back up the working Vici first (lol).

PostPosted: Thu Jul 30, 2009 1:25 am
by gardo
Nicely put Williamconley. I would also recommend you read the VicidialNOW getting started guide: http://vicidialnow.org/wiki/vnow/GettingStartedGuide . This will quickly get your system up and running.

PostPosted: Thu Jul 30, 2009 7:13 pm
by williamconley
Hey, I like that tutorial. Between this and the vicidial manual on EFLO.net, no wonder there are so many of these dialers out there now.