All pastes #798641 Raw Edit

Unnamed

public text v1 · immutable
#798641 ·published 2007-11-26 22:37 UTC
rendered paste body
Channel: Local/+18476766506@c2c2/n
MaxRetries: 0
RetryTime: 15
WaitTime: 1000
Set: provider=SIP/voicepulse
Set: first_callerid=8476266100
Set: second_number=12177665959
Set: second_callerid=8476266100
Set: sid=0711265959100502
Set: ringing_time=30
Set: time_data=
Set: server_mode=dev

[c2c2]
exten => _X.,1,Set(CALLERID(num)=${first_callerid})
exten => _X.,n,Dial(${provider}/${EXTEN},${ringing_time}${time_data})
exten => _X.,n,NoOp(${DIALSTATUS})    
;exten => _X.,n,System(/usr/bin/php -f /var/ifbyphone/asterisk_dialstatus_update.php ${sid} ${DIALSTATUS} ${server_mode})
exten => _X.,n,Playback(clickto.connecting_your_call)
exten => _X.,n,Set(CALLERID(num)=${second_callerid})
exten => _X.,n,Dial(${provider}/${second_number},${ringing_time}${time_data})
exten => _X.,n,Hangup
exten => h,1,System(/usr/bin/php -f /var/ifbyphone/asterisk_dialplan_cdr_update.php ${sid} ${DIALEDTIME} ${server_mode})

[Nov 26 16:16:04] WARNING[7029]: pbx_spool.c:245 apply_outgoing: At least one of app or extension must be specified, along with tech and dest in file /var/spool/asterisk/outgoing/testcall.out
[Nov 26 16:16:04] WARNING[7029]: pbx_spool.c:413 scan_service: Invalid file contents in /var/spool/asterisk/outgoing/testcall.out, deleting
[Nov 26 16:16:04] WARNING[7029]: pbx_spool.c:461 scan_thread: Failed to scan service '/var/spool/asterisk/outgoing/testcall.out'