Unable to link carrier and DID
Posted: Mon Jan 14, 2013 7:52 am
Hi everyone.
Happy New Year
I'm building a solution based on Vicidial / Goautodial for my call center department.
Version GoAutodial CE 2.1
The idea is to be able to call from Vicidial by Campaign (with Leads and script) and to answer call by Vicidial too (another team).
Firstly, I want to pass and answer for and from France (phone number is like : +33 1 23 45 67 89 for international calls, 01 23 45 67 89 for internal call)
I've configured the Carrier like this :
And I've configured the DIDs like this : (I've tried a lot of configuration)
When I'm calling the phone number, I've got this message :
I don't want to use Vicidial like a Freepbx, but I tell myself that if I can configure this, I would be able to understand how it's working and I'll go further.
In the extensions.vicidial.conf there is :
Need something else ??
Ho yeah ... the phone is online ...
Happy New Year
I'm building a solution based on Vicidial / Goautodial for my call center department.
Version GoAutodial CE 2.1
The idea is to be able to call from Vicidial by Campaign (with Leads and script) and to answer call by Vicidial too (another team).
Firstly, I want to pass and answer for and from France (phone number is like : +33 1 23 45 67 89 for international calls, 01 23 45 67 89 for internal call)
I've configured the Carrier like this :
Name : T3312456789
Description : blablabla
Registration String : register => xxxxxx:yyyyyyy@78.153.253.76:5060/xxxxxxx
Account ENTRY
[CARRIEREOS]
disallow=all
allow=ulaw
allow=alaw
type=peer
username=xxxxxxx
secret=yyyyyyy
host=78.153.253.76
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
nat=yes
fromuser=xxxxxxx
canreinvite=no
reinvite=no
GLOBAL STRING : NULL
DIALPLAN ENTRY
exten => _.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _.,2,Dial(SIP/${EXTEN:1}@CARRIEREOS,,tTo)
exten => _.,3,Hangup
And I've configured the DIDs like this : (I've tried a lot of configuration)
DID : 0033123456789 / 33123456789 / xxxxxxx / 0123456789 / 123456789 /
Description : blablabla
ACTIVE : Y
DID ROUTE : PHONE
PHONE EXTENSION : 8001 (Vicidial Standard phone)
SERVER IP : 192.168.1.2 (Vicidial Standard config)
When I'm calling the phone number, I've got this message :
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] -- Executing [33182880165@default:1] AGI("SIP/78.153.253.76-00000003", "agi://127.0.0.1:4577/call_log") in new stack
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] -- Executing [33182880165@default:2] Dial("SIP/78.153.253.76-00000003", "SIP/3182880165@CARRIEREOS||tTo") in new stack
[Jan 14 16:41:22] WARNING[12595] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] == Everyone is busy/congested at this time (1:0/0/1)
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] -- Executing [33182880165@default:3] Hangup("SIP/78.153.253.76-00000003", "") in new stack
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] == Spawn extension (default, 33182880165, 3) exited non-zero on 'SIP/78.153.253.76-00000003'
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] -- Executing [h@default:1] DeadAGI("SIP/78.153.253.76-00000003", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] -- Executing [h@default:2] Dial("SIP/78.153.253.76-00000003", "SIP/@CARRIEREOS||tTo") in new stack
[Jan 14 16:41:22] WARNING[12595] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] == Everyone is busy/congested at this time (1:0/0/1)
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] -- Executing [h@default:3] Hangup("SIP/78.153.253.76-00000003", "") in new stack
[Jan 14 16:41:22] VERBOSE[12595] logger.c: [Jan 14 16:41:22] == Spawn extension (default, h, 3) exited non-zero on 'SIP/78.153.253.76-00000003'
I don't want to use Vicidial like a Freepbx, but I tell myself that if I can configure this, I would be able to understand how it's working and I'll go further.
In the extensions.vicidial.conf there is :
; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
TRUNKloop = IAX2/ASTloop:test@127.0.0.1:40569
TRUNKblind = IAX2/ASTblind:test@127.0.0.1:41569
; logging of all outbound calls from agent phones
[defaultlog]
exten => s,1,AGI(agi-VDAD_inbound_calltime_check.agi,-----NO-----defaultlog--------------------)
exten => s,n,Background(sip-silence)
exten => s,n,WaitExten(20)
; hangup
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup
exten => i,1,Goto(s,2)
; hangup
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; custom dialplan entries
exten => _X.,1,AGI(agi-NVA_recording.agi,BOTH------Y---Y---Y)
exten => _X.,n,Goto(default,${EXTEN},1)
[vicidial-auto]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; Local Server: 192.168.1.2
exten => _192*168*001*002*.,1,Goto(default,${EXTEN:16},1)
; VICIDIAL Carrier: T33123456789 - CARRIER EOS
; Connextion IPBX Selfone pour EOS
exten => _.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _.,2,Dial(SIP/${EXTEN:1}@CARRIEREOS,,tTo)
exten => _.,3,Hangup
; Voicemail Extensions:
exten => _85026666666666.,1,Wait(1)
exten => _85026666666666.,2,Voicemail(${EXTEN:14}|u)
exten => _85026666666666.,3,Hangup
exten => 8500,1,VoicemailMain
exten => 8500,2,Goto(s,6)
exten => 8501,1,VoicemailMain(s${CALLERID(num)})
exten => 8501,2,Hangup
; Prompt Extensions:
exten => 8167,1,Answer
exten => 8167,2,AGI(agi-record_prompts.agi,wav-----720000)
exten => 8167,3,Hangup
exten => 8168,1,Answer
exten => 8168,2,AGI(agi-record_prompts.agi,gsm-----720000)
exten => 8168,3,Hangup
; this is used for recording conference calls, the client app sends the filename
; value as a callerID recordings go to /var/spool/asterisk/monitor (WAV)
; Recording is limited to 1 hour, to make longer, just change the server
; setting ViciDial Recording Limit
; this is the WAV verison, default
exten => 8309,1,Answer
exten => 8309,2,Monitor(wav,${CALLERID(name)})
exten => 8309,3,Wait,3600
exten => 8309,4,Hangup
; this is the GSM verison
exten => 8310,1,Answer
exten => 8310,2,Monitor(gsm,${CALLERID(name)})
exten => 8310,3,Wait,3600
exten => 8310,4,Hangup
; agent alert extension
exten => 83047777777777,1,Answer
exten => 83047777777777,2,Playback(${CALLERID(name)})
exten => 83047777777777,3,Hangup
; Phones direct dial extensions:
exten => 7001,1,Dial(IAX2/7001|60|)
exten => 7001,2,Goto(default,850266666666667001,1)
exten => 7002,1,Dial(IAX2/7002|60|)
exten => 7002,2,Goto(default,850266666666667002,1)
exten => 7003,1,Dial(IAX2/7003|60|)
exten => 7003,2,Goto(default,850266666666667003,1)
exten => 7004,1,Dial(IAX2/7004|60|)
exten => 7004,2,Goto(default,850266666666667004,1)
exten => 7005,1,Dial(IAX2/7005|60|)
exten => 7005,2,Goto(default,850266666666667005,1)
exten => 7006,1,Dial(IAX2/7006|60|)
exten => 7006,2,Goto(default,850266666666667006,1)
exten => 7007,1,Dial(IAX2/7007|60|)
exten => 7007,2,Goto(default,850266666666667007,1)
exten => 7008,1,Dial(IAX2/7008|60|)
exten => 7008,2,Goto(default,850266666666667008,1)
exten => 7009,1,Dial(IAX2/7009|60|)
exten => 7009,2,Goto(default,850266666666667009,1)
exten => 7010,1,Dial(IAX2/7010|60|)
exten => 7010,2,Goto(default,850266666666667010,1)
exten => 7011,1,Dial(IAX2/7011|60|)
exten => 7011,2,Goto(default,850266666666667011,1)
exten => 7012,1,Dial(IAX2/7012|60|)
exten => 7012,2,Goto(default,850266666666667012,1)
exten => 7013,1,Dial(IAX2/7013|60|)
exten => 7013,2,Goto(default,850266666666667013,1)
exten => 7014,1,Dial(IAX2/7014|60|)
exten => 7014,2,Goto(default,850266666666667014,1)
exten => 7015,1,Dial(IAX2/7015|60|)
exten => 7015,2,Goto(default,850266666666667015,1)
exten => 7016,1,Dial(IAX2/7016|60|)
exten => 7016,2,Goto(default,850266666666667016,1)
exten => 7017,1,Dial(IAX2/7017|60|)
exten => 7017,2,Goto(default,850266666666667017,1)
exten => 7018,1,Dial(IAX2/7018|60|)
exten => 7018,2,Goto(default,850266666666667018,1)
exten => 7019,1,Dial(IAX2/7019|60|)
exten => 7019,2,Goto(default,850266666666667019,1)
exten => 7020,1,Dial(IAX2/7020|60|)
exten => 7020,2,Goto(default,850266666666667020,1)
exten => 8001,1,Dial(SIP/8001|60|)
exten => 8001,2,Goto(default,850266666666668001,1)
exten => 8002,1,Dial(SIP/8002|60|)
exten => 8002,2,Goto(default,850266666666668002,1)
exten => 8003,1,Dial(SIP/8003|60|)
exten => 8003,2,Goto(default,850266666666668003,1)
exten => 8004,1,Dial(SIP/8004|60|)
exten => 8004,2,Goto(default,850266666666668004,1)
exten => 8005,1,Dial(SIP/8005|60|)
exten => 8005,2,Goto(default,850266666666668005,1)
exten => 8006,1,Dial(SIP/8006|60|)
exten => 8006,2,Goto(default,850266666666668006,1)
exten => 8007,1,Dial(SIP/8007|60|)
exten => 8007,2,Goto(default,850266666666668007,1)
exten => 8008,1,Dial(SIP/8008|60|)
exten => 8008,2,Goto(default,850266666666668008,1)
exten => 8009,1,Dial(SIP/8009|60|)
exten => 8009,2,Goto(default,850266666666668009,1)
exten => 8010,1,Dial(SIP/8010|60|)
exten => 8010,2,Goto(default,850266666666668010,1)
exten => 8011,1,Dial(SIP/8011|60|)
exten => 8011,2,Goto(default,850266666666668011,1)
exten => 8012,1,Dial(SIP/8012|60|)
exten => 8012,2,Goto(default,850266666666668012,1)
exten => 8013,1,Dial(SIP/8013|60|)
exten => 8013,2,Goto(default,850266666666668013,1)
exten => 8014,1,Dial(SIP/8014|60|)
exten => 8014,2,Goto(default,850266666666668014,1)
exten => 8015,1,Dial(SIP/8015|60|)
exten => 8015,2,Goto(default,850266666666668015,1)
exten => 8016,1,Dial(SIP/8016|60|)
exten => 8016,2,Goto(default,850266666666668016,1)
exten => 8017,1,Dial(SIP/8017|60|)
exten => 8017,2,Goto(default,850266666666668017,1)
exten => 8018,1,Dial(SIP/8018|60|)
exten => 8018,2,Goto(default,850266666666668018,1)
exten => 8019,1,Dial(SIP/8019|60|)
exten => 8019,2,Goto(default,850266666666668019,1)
exten => 8020,1,Dial(SIP/8020|60|)
exten => 8020,2,Goto(default,850266666666668020,1)
; END OF FILE
Need something else ??
Ho yeah ... the phone is online ...