Assign one single DOD to each user

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Assign one single DOD to each user

Postby asterisknoob » Tue Mar 26, 2024 8:40 pm

I have sip trunk with pilot number and did range.
I want to set up each user extension outbound with a unique callerid.
Is it possible? If it’s can someone just tell me settings?

Thanks
asterisknoob
 
Posts: 13
Joined: Tue Mar 26, 2024 4:08 pm

Re: Assign one single DOD to each user

Postby RBecker » Tue Mar 26, 2024 10:41 pm

For outbound dialing, set the DID as one of the User Custom values for the user, then in the campaign, set the Custom Caller ID setting to whichever user field you selected. For inbound, you'll need to add each DID individually, set it to a DID route of AGENT, enter the user ID in the User Agent box, and make sure that User Route Settings In-Group is set to AGENTDIRECT.
Managed & Dedicated ViciDial Hosting | VoIP Trunking and Termination | https://www.dial-fusion.com/
Main Cluster: 21 Agent Servers | Dedicated DB and Separate Reports Server | 2 Web Servers | HAProxy Load Balancing | Dedicated Archive Server
RBecker
 
Posts: 42
Joined: Mon Aug 30, 2021 3:05 pm

Re: Assign one single DOD to each user

Postby asterisknoob » Wed Mar 27, 2024 11:42 am

RBecker wrote:For outbound dialing, set the DID as one of the User Custom values for the user, then in the campaign, set the Custom Caller ID setting to whichever user field you selected. For inbound, you'll need to add each DID individually, set it to a DID route of AGENT, enter the user ID in the User Agent box, and make sure that User Route Settings In-Group is set to AGENTDIRECT.


I tried same as you told but no any change let me show you my settings.

This is my Account Entry
[connect]
host=abc.domain.com
type=friend
qualify=yes
fromdomain=abc.domain.com
username=+97167142XXX@abc.domain.com
fromuser=+97167142XXX
secret=XXXXXXX
context=trunkinbound
auth=abc.domain.com
outboundproxy=abc.domain.com
port=5060
dtmfmode=rfc2833
disallow=all
allow=alaw
allow=ulaw
realm=abc.domain.com

This is Dialplan Entry # 1
exten => _7X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _7X.,n,Noop(Something Working)
exten => _7X.,n,Dial(${connectSIP}/08888${EXTEN:1},120,tTo)
exten => _704Z.,n,Dial(${connectSIP}/${EXTEN:1},120,tTo)
exten => _7X.,n,Hangup

This is Dialplan Entry # 2
exten => _7X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _7X./_1000,1,SET(CALLERID(all)=connectcc<+97167142XX1>)
exten => _7X./_1001,1,SET(CALLERID(all)=connectc<+97167142XX2>)
exten => _7X.,n,Noop(Something Working)
exten => _7X.,n,Dial(${connectSIP}/08888${EXTEN:1},120,tTo)
exten => _704Z.,n,Dial(${connectSIP}/${EXTEN:1},120,tTo)
exten => _7X.,n,Hangup

Both with same result, but when I try call with only softphone without login in into campaign it's working fine.
Like phone ext 1000 outbound CallerID = 067142XX1
And phone ext 1001 outbound CallerID = 067142XX2
And when I login with campaign I am getting error with Dialplan Entry # 2 and outbound not working. Below the error i am getting.

[Mar 27 20:25:56] == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/1000-0000000b'
[Mar 27 20:25:56] -- Executing [h@default:1] AGI("SIP/1000-0000000b", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------SIP 200 OK)") in new stack
[Mar 27 20:25:56] -- <SIP/1000-0000000b>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -------SIP 200 OK) completed, returning 0
[Mar 27 20:25:56] == Manager 'sendcron' logged on from 127.0.0.1
[Mar 27 20:25:56] -- Called 55558600051@default
[Mar 27 20:25:56] -- Executing [55558600051@default:1] MeetMeAdmin("Local/55558600051@default-00000009;2", "8600051,K") in new stack
[Mar 27 20:25:56] WARNING[27212][C-00000014]: app_meetme.c:5342 admin_exec: Conference number '8600051' not found!
[Mar 27 20:25:56] -- Executing [55558600051@default:2] Hangup("Local/55558600051@default-00000009;2", "") in new stack
[Mar 27 20:25:56] == Spawn extension (default, 55558600051, 2) exited non-zero on 'Local/55558600051@default-00000009;2'
[Mar 27 20:25:56] WARNING[27212][C-00000014]: func_hangupcause.c:138 hangupcause_read: Unable to find information for channel
[Mar 27 20:25:56] -- Executing [h@default:1] AGI("Local/55558600051@default-00000009;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[Mar 27 20:25:56] -- <Local/55558600051@default-00000009;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0.
asterisknoob
 
Posts: 13
Joined: Tue Mar 26, 2024 4:08 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 271 guests

cron