JP Carballo wrote:
Nitesh Divecha wrote:

Hello All,

My Asterisk is configured like a Soft Switch, I have many incoming and outgoing traffic to different providers.

How can I forward CallerID to my providers. My providers are complaining big time as the CallerID is set to Zero...

Please help!!!

Thanks,
Neal

In your provider's outgoing context, add the following before calling out:

exten => _X.,1,Set(CALLERID(number)=${CALLERIDNUM})
exten => _X.,n,Set(CALLERID(name)=${CALLERNAME})


Why would he want to do that? It's pointless. It won't work. If the provider is not getting Caller*ID then no amount of the above lines will fix it.

You want to set the callerid using callerid=Robert Dobbs <666> in the sip.conf, zaptel.conf, iax.conf, or whereever the calling device is configured. You'll notice the lack of quotes. That's deliberate.
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to