Page 1 of 1

CID override

PostPosted: Wed Jul 19, 2017 2:04 pm
by c20xh2
1) Version of VICIDIAL

VERSION: 2.14-588a
BUILD: 170211-1041

2) loadavg

top - 02:36:24 up 2 days, 10:35, 2 users, load average: 0.09, 0.12, 0.10
Tasks: 109 total, 2 running, 107 sleeping, 0 stopped, 0 zombie

3) Server Specs

Cluster, Asterisk is running with 100gig HDD and 4 gig ram


I'm trying to override de CID when making outbounds calls. My provider is telling me that I'm not sending the correct info to him. Outbounds calls work but always show "Unknow" caller id.

The provider would like to have the phone number I want on the caller ID instead of the "V7191419280000547607" in the FROM section:

Code: Select all
@2017-07-19_18:19:28
Received Packet from [myip]:5060
INVITE sip:+14188723303@20711.hpbx.outboundproxy.com SIP/2.0
Via: SIP/2.0/UDP 24.37.197.70:5060;branch=z9hG4bK417f8067;rport
Max-Forwards: 70
From: "V7191419280000547607" <sip:maxgo.20711.service@maxgo.20711.service>;tag=as184e5779
To: <sip:+14188723303@20711.hpbx.outboundproxy.com>
Contact: <sip:maxgo.20711.service@24.37.197.70:5060>
Call-ID: 6d5a106629f990ae426dd895550fc143@maxgo.20711.service
CSeq: 102 INVITE
User-Agent: Asterisk PBX 11.25.1-vici
Date: Wed, 19 Jul 2017 18:19:28 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer

Remote-Party-ID: "V7191419280000547607" <sip:8192003784@maxgo.20711.service>;party=calling;privacy=off;screen=no
Content-Type: application/sdp
Content-Length: 241
 
v=0
o=root 1715671848 1715671848 IN IP4 24.37.197.70
s=Asterisk PBX 11.25.1-vici
c=IN IP4 24.37.197.70
t=0 0
m=audio 10372 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
 


Any suggestions ?

Re: CID override

PostPosted: Wed Jul 19, 2017 2:27 pm
by mflorell
What does the vicidial_dial_log record look like for that call?

Re: CID override

PostPosted: Wed Jul 19, 2017 2:34 pm
by c20xh2
Here:

Code: Select all
V7191419280000547607
547607
192.168.1.17
2017-07-19 14:19:28
8368
Local/14188723303@default
default
25000
"V7191419280000547607" <8192003784>
486
Busy Here
1500488368.31


It looks like the outbound_cid I put in the Campaign_CID and List override CID is ignored

Re: CID override

PostPosted: Wed Jul 19, 2017 2:44 pm
by mflorell
Looks like it's being sent properly on that side, the CIDnumber is <8192003784>
The CIDname is the code used to identify the call in VICIdial, and most carriers will ignore it.

Re: CID override

PostPosted: Wed Jul 19, 2017 2:58 pm
by c20xh2
Allright thanks for the confirmation, will try to find was is going on with the provider

Re: CID override

PostPosted: Wed Jul 19, 2017 4:10 pm
by c20xh2
Just in case someone else have the same problem: it was coming from my side.

When we configured the Carrier, provider asked me to add :

Code: Select all
fromuser = maxgo.20711.service


In the Account Entry.

Turn out it was overwriting the CID when we were sending calls:

Code: Select all
From: "V7191419280000547607" <sip:maxgo.20711.service@maxgo.20711.service>;tag=as184e5779


Removed the "fromuser" and everything is working :)

Re: CID override

PostPosted: Wed Jul 19, 2017 6:31 pm
by mflorell
Thanks for the post-back with your solution!