Asterisk outbound caller id

asterisk

I'm trying to set the caller id number for an outbound call.

My asterisk .call file looks like this:

Channel: SIP/flowroute/1234567890
Context: test
Extension: 1234567890
Priority: 1

Here's my extensions.conf:

[test]
exten => _1NXXXXXXXXX,1,Set(CALLERID(num)=8005552222)
exten => _1NXXXXXXXXX,n,Dial(SIP/${EXTEN}@flowroute)
exten => _1NXXXXXXXXX,n,Playback(hello-world)

When I receive the call, the caller id number is 1-206-445-6979, even though the CDR log has both src and clid set to 8005552222. I'm using flowroute as my carrier. Is there something wrong on their side?

Best Answer

Your config is correct. Your carrier is likely preventing you from setting an arbitrary CID number; check with them.