Asterisk PBX 13.29.2 built by root
Vicidial: VERSION: 2.14-675a BUILD: 180520-1749
Cent OS 7, Google Cloud VM, e2-medium (2 vCPUs, 4 GB memory), Intel Broadwell
VOIP Provider: Skyetel
The problem is that I cant dial out to most numbers. The ones that don't go thru give a congested error. The caller ID is all screwed up of the few numbers I can dial to. I contacted Skyetel and they tell me that the issue is on the caller ID not being set when dialing out.
Specifically they are looking for the INVITE packet to contain a "From" and "P-Asserted-Identity" header with proper caller ID, whereas my INVITE packets have the "FROM" header with the channel and username.
This is what they said: https://pasteboard.co/K1kmi5r.jpg
Link to topic in their knowledgebase: https://support.skyetel.com/hc/en-us/articles/360041815633-Outbound-Caller-ID
My Account Entry:
- Code: Select all
[SKYETELOUT]
type=friend
qualify=yes
username=7h0xbykg2oj3
fromuser=7h0xbykg2oj3
secret= SECRETREMOVED
host=term.reg.skyetel.com
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=g722
allow=ulaw
My Dialplan:
- Code: Select all
exten => _775X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _775X.,n,Dial(SIP/1${EXTEN:3}@SKYETELOUT,55,tToR)
exten => _775X.,n,Hangup()
My INVITE packet, where as: https://pasteboard.co/K1m2FgA.png
"From: "M5110034130000000131" <sip:7h0xbykg2oj3@SERVERIPREMOVED>;tag=as634decd3" and no "P-Asserted-Identity'
- Code: Select all
INVITE sip:12403403843@term.reg.skyetel.com SIP/2.0
Via: SIP/2.0/UDP SERVERIPREMOVED;branch=z9hG4bK2c033845;rport
Max-Forwards: 70
From: "M5110034130000000131" <sip:7h0xbykg2oj3@SERVERIPREMOVED>;tag=as634decd3
To: <sip:12403403843@term.reg.skyetel.com>
Contact: <sip:7h0xbykg2oj3@SERVERIPREMOVED>
Call-ID: 32ffdd36671e251965c051510efaaaac@SERVERIPREMOVED
CSeq: 102 INVITE
User-Agent: Asterisk PBX 13.29.2
Date: Tue, 11 May 2021 00:34:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Skyetel is looking for an INVITE packet with: https://pasteboard.co/K1knlhV.png
"From: 'Jose Garcia' <sip:12403403843@SERVERIPREMOVED>"
"P-Asserted-Identity: 'Jose Garcia' <sip:12403403843@ SERVERIPREMOVED>"
Reading thru their knowledgebase setting the proper caller ID in the "From" header is all I need.
How can I set the "From:" header to pass the correct caller ID? Can I set it directly based on the campaign CID?
Thank you in advance