Outbound CallerID help needed

I have set up several asteriskathome (2.1) systems as backups to existing SOHO POTS/PBX systems. In several instances the offices would like to have their existing analog number set as the outbound callerid.

I am using AMP to configure, and have set the Outbound CallerID field in both the Trunk and Extensions to the desired number, and yet the system is still passing the VOIP number as the outbound caller ID. Otherwise the systems are working great.

Is there somewhere I need to manually set this in the configs?

Any direction would be greatly appreciated.

Thx :unamused:

How do you terminate to the PSTN? Does your telco allow you to specify a callerid? Most will not.

If you’re using analog lines, your caller ID would be the caller ID of the outing line that carries the call. No setting in the Asterisk box is going to change it.

The only way I know you can do outgoing caller ID reliably is to use ISDN services.

No I am not using any analog lines, this is purely a VOIP solution as a stand alone alternative for the telco system.

The caller ID issue is with the VOIP and the trunk on which we are trying to masquerade the caller ID is a SIP trunk going to Broadvoice.

Sorry for not clarifying that earlier.

Then I would expect the people you call to see the caller ID of the VOIP account associated with Broadvoice.

It’s not substatially different from an analog line. When your call is carried by another service/carrier, you should expect the caller ID to match the ID of that carrier or service.

If the desination of your call is another Asterisk box or another VOIP user, they would have to register with your Asterisk box, or have an IAX channel setup for your programmed caller ID to be seen. If you put anything else in the way, like an analog line, or a broadvoice account, you should expect the carrier will ignore what you send, and re-label it according to their own number plan.

Thank you for the replies, and I hate to soundlike an ingrate, but I disagree.

One of the fisrt boxes I worked on was registered with a 267-XXX-XXXX number through broadvoice but was passing a 415-XXX-XXXX number as the caller ID to all outside calls.

I eventually found where this was set in the config files and changed settings to allow the server to pass the proper Caller ID number. Now, months later, I want implement a reverse of this process, but I cannot find the proper location again.

Hoping someone has some experience in this area, and thanks for the input thus far.

I use both a pri and a iax connection to send calls the pstn provider for the pri lets me send them caller id info and the voip termination does also
I dont use asterisk@home or amp. I set mine in the extensions.conf file
exten => _NXXXXXX,1,SetCallerID(<7111234567>)
exten => _NXXXXXX,2,Dial(Zap/g1/${EXTEN})
exten => _X.,1,SetCallerID(<7111234567>)
exten => _X.,2,Dial(IAX2/somewhere/${EXTEN})

Thank you, THis is exactly the info I was looking for.

A :laughing: