Project

General

Profile

How can I override the Outbound CallerID number?

Added by Ross Lavnikevich about 11 years ago

Hello.
How can I override the Outbound CallerID number?
We want to replace CallerID of the provider with number of our office.

I tried set
Admin->Phones->8001->Outbound CallerID
but this is not working.
Outbound calls are still coming from default CallerID .

Our SIP provider say:
"You need to send the CLI in the "From" part of the SIP INVITE msg."

We are setting:
Admin->Carriers->Dialplan Entry
exten => _97XXXXXXXXXX,n,Set(SIP_HEADER(From)=1234567890)
this is not work.
And this is not work:
exten => _97XXXXXXXXXX,1,Set(CALLERID=1234567890<1234567890>)
And this is not work:
exten => _97XXXXXXXXXX,n,Set(TRUNKCIDOVERRIDE=1234567890)
exten => _97XXXXXXXXXX,n,Set(_NODEST=)

I quickly setup FreePBX in VirtualBox with "Allow any CID" and "Route CID" [v] "Override Extension".
And it worked right - as default Caller ID is replaced to our office number.


Replies (8)

RE: How can I override the Outbound CallerID number? - Added by Demian Biscocho about 11 years ago

You can do this in the campaign settings. Just enter your desired CID in the "Campaign CallerID" text box.

Campaign CallerID

RE: How can I override the Outbound CallerID number? - Added by Ross Lavnikevich about 11 years ago

Thanks for your reply.
First, I checked, it does not work.
My carrier settings:
Account Entry:

[goautodial]
type=peer
host=sip.didlogic.com
nat=yes
username=73***
authname=73***
secret=*******
qualify=yes
disallow = all
allow = alaw
allow = ulaw
allow = g729
allow = g726
allow = all
allow = gsm
insecure=port,invite

Dialplan Entry:
exten => _XX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XX.,2,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _XX.,3,Hangup

Secondly, that if I want to call directly?

RE: How can I override the Outbound CallerID number? - Added by striker 247 about 11 years ago

hi try the below

Dialplan Entry:
exten => _XX.,1,AGI
exten => _XX.,2,Set(CALLERID="1234567890")
exten => _XX.,3,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _XX.,4,Hangup

br
striker
striker24x7.blogspot.com

RE: How can I override the Outbound CallerID number? - Added by striker 247 about 11 years ago

hi try the below

Dialplan Entry:

exten => _XX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XX.,2,Set(CALLERID="1234567890")
exten => _XX.,3,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _XX.,4,Hangup

br
striker
striker24x7.blogspot.com

RE: How can I override the Outbound CallerID number? - Added by Ross Lavnikevich about 11 years ago

Thanks for your reply.
But as I said earlier, I already tried this.
And I just checked it again.
Outbound calls are still coming from default Caller ID. :(

By the way, if I do so
Account Entry:

type=friend
fromuser=73***

I get a 5-digit SIP user name of my SIP provider.
In any other case I get a default Caller ID.

This is a clean install goautodial-ce-2.1-final.iso
And it looks like a bug.

RE: How can I override the Outbound CallerID number? - Added by Ross Lavnikevich about 11 years ago

What other forum I can try to help?

RE: How can I override the Outbound CallerID number? - Added by Demian Biscocho about 11 years ago

This is not a system bug. The caller ID is handled by your VoIP provider. We have already provided the standard solutions on how to enable caller ID in your calls. You might need to check with other VoIP providers for comparison. I recommend comparing your carrier with our VoIP service at http://justgovoip.com. We provide free signup and 60 free minutes (for calling US, UK and Canada) for testing purposes.

RE: How can I override the Outbound CallerID number? - Added by Dizo Mark almost 9 years ago

Caller ID is determined by your carrier's Numbering plan and Type of Number. Ask your Carrier provider to give you that then you will know what to edit in chan_dahdi.conf the values of pridialplan and prilocaldialplan. Once you have set these values the dial entry below will work.

exten => _XX.,1,AGI
exten => _XX.,2,Set(CALLERID="1234567890")
exten => _XX.,3,Dial(SIP/${EXTEN:1}@goautodial,,tTo)
exten => _XX.,4,Hangup

Mine did work perfectly.

    (1-8/8)
    Go to top