here is the call_log entry:
- Code: Select all
exten => _61NXXNXXXXXX,1,AGI(AGI(agi://127.0.0.1:4577/call_log)
exten => _61NXXNXXXXXX,2,Dial(SIP/${EXTEN:1}@sip,30,o)
exten => _61NXXNXXXXXX,3,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
here is the sample calls:
- Code: Select all
2007-01-25 6:30:46|agi-VDADtransfer.agi|exiting the VDAD app, transferring call to 8600060
2007-01-25 6:30:46|agi-VDADtransfer.agi|XXXXXXXXXX VDAD transferred: start|stop 2007-01-25 6:30:46|2007-01-25 6:30:46
2007-01-25 6:37:22|agi-VDADtransfer.agi|Perl Environment Dump:
2007-01-25 6:37:22|agi-VDADtransfer.agi|0|8365
2007-01-25 6:37:22|agi-VDADtransfer.agi|callerID changed: V0125063701000911918
2007-01-25 6:37:22|agi-VDADtransfer.agi|AGI Environment Dump:
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- accountcode =
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- callerid = 0000000000
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- calleridname = V0125063701000911918
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- callingani2 = 0
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- callingpres = 0
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- callingtns = 0
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- callington = 0
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- channel = SIP/sip-08231260
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- context = default
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- dnid = unknown
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- enhanced = 0.0
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- extension = 8365
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- language = en
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- priority = 3
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- rdnis = unknown
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- request = agi-VDADtransfer.agi
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- type = SIP
2007-01-25 6:37:22|agi-VDADtransfer.agi| -- uniqueid = 1169678222.24674
2007-01-25 6:37:22|agi-VDADtransfer.agi|AGI Variables: |1169678222.24674|SIP/sip-08231260|8365|SIP|V0125063701000911918|V0125063701000911918|3|
2007-01-25 6:37:22|agi-VDADtransfer.agi|+++++ VDAD START : |911918|2007-01-25 6:37:22|1.2.12.1|3|
2007-01-25 6:37:22|agi-VDADtransfer.agi|-- VDAD : |1|update of vac table: V0125063701000911918
|UPDATE vicidial_auto_calls set uniqueid='1169678222.24674', channel='SIP/sip-08231260',status='LIVE',stage='LIVE-0' where callerid='V0125063701000911918'$
2007-01-25 6:37:22|agi-VDADtransfer.agi||INSERT INTO vicidial_log (uniqueid,lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,pr$
2007-01-25 6:37:22|agi-VDADtransfer.agi|-- VDAD : |911918|911918|insert to vicidial_log: 1169678222.24674
2007-01-25 6:37:22|agi-VDADtransfer.agi||SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='192.168.0.21' and campaign_id = 'CLOS$
2007-01-25 6:37:22|agi-VDADtransfer.agi|-- VDAD get agent: |1|update of vla table: CLOSERBC|192.168.0.21
|UPDATE vicidial_live_agents set status='QUEUE',lead_id='911918',uniqueid='1169678222.24674', channel='SIP/sip-08231260', callerid='V0125063701000911918' $
2007-01-25 6:37:22|agi-VDADtransfer.agi||SELECT conf_exten,user,extension FROM vicidial_live_agents where status = 'QUEUE' and server_ip='192.168.0.21' and $
2007-01-25 6:37:22|agi-VDADtransfer.agi|-- VDAD XFER : |1|update of vac table: V0125063701000911918
|UPDATE vicidial_auto_calls set status='XFER', stage='XFER-0' where callerid='V0125063701000911918';|
in fastagiout:
- Code: Select all
2007-01-25 7:09:57|TEST_VDfastAGI|begin|Perl Environment Dump:
2007-01-25 7:09:57|TEST_VDfastAGI|begin|0|--debug
2007-01-25 7:09:57|TEST_VDfastAGI|begin|URL HVcauses: |PRI|NODEBUG|0|||)|
2007-01-25 7:09:57|TEST_VDfastAGI|begin|AGI Environment Dump:
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- accountcode =
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- callerid = 0000000000
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- calleridname = V0125070946000911933
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- callingani2 = 0
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- callingpres = 0
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- callingtns = 0
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- callington = 0
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- channel = SIP/sip-08246710
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- context = default
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- dnid = unknown
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- enhanced = 0.0
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- extension = 8365
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- language = en
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- network = yes
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- network_script = call_log
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- priority = 2
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- rdnis = unknown
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- request = agi://127.0.0.1:4577/call_log
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- type = SIP
2007-01-25 7:09:57|TEST_VDfastAGI|begin| -- uniqueid = 1169680186.24735
2007-01-25 7:09:57|TEST_VDfastAGI|begin|AGI Variables: |1169680186.24735|SIP/sip-08246710|8365|SIP|V0125070946000911933|
2007-01-25 7:09:57|TEST_VDfastAGI|call_log|Process to run: |agi://127.0.0.1:4577/call_log|call_log|START|
2007-01-25 7:09:57|TEST_VDfastAGI|call_log|+++++ CALL LOG START : 2007-01-25 7:09:57
2007-01-25 7:09:57|TEST_VDfastAGI|call_log||INSERT INTO call_log (uniqueid,channel,channel_group,type,server_ip,extension,number_dialed,start_time,start_epo$
iax is working fine but when i use sip trunk that is the time i experience this..
my sip provider does not register..