Henrik Westerberg
2013-Oct-28 10:04 UTC
[asterisk-users] Problem with Caller ID when receiving hidden number in via DAHDI and redirecting out via SIP
Hi, We have a system with both ISDN trunks and SIP. We receive incoming calls on both but always dial out via SIP. When dialing out the caller id is set like this: exten => _X.,1,Set(CALLERID(num)=${CC_ORIGNUM}) exten => _X.,n,Set(CALLERID(name)=${CC_ORIGNAME}) exten => _X.,n,Dial(${CC_DIALSTRING}, 60, em) This always works fine on SIP and on ISDN as well when the number is not hidden. But for some reason the setting of the caller id does not work when receiving calls from hidden numbers. The from address in the outgoing SIP looks like this: From: "Anonymous" <sip:anonymous at anonymous.invalid> Does anyone know why this is happening, is there a way to go around it? Regards, Henrik -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131028/6270889b/attachment.html>
Linus Wiklund
2013-Oct-28 11:00 UTC
[asterisk-users] Problem with Caller ID when receiving hidden number in via DAHDI and redirecting out via SIP
Hi Henrik. You might want to read http://www.voip-info.org/wiki/view/P-Asserted-Identity+and+Remote-Party-ID+header and http://www.voip-info.org/wiki/view/Asterisk+func+callerid On Mon, Oct 28, 2013 at 11:04 AM, Henrik Westerberg < henrik.westerberg at ain.se> wrote:> Hi, > > We have a system with both ISDN trunks and SIP. We receive incoming > calls on both but always dial out via SIP. > When dialing out the caller id is set like this: > > exten => _X.,1,Set(CALLERID(num)=${CC_ORIGNUM}) > exten => _X.,n,Set(CALLERID(name)=${CC_ORIGNAME}) > exten => _X.,n,Dial(${CC_DIALSTRING}, 60, em) > > This always works fine on SIP and on ISDN as well when the number is not > hidden. > But for some reason the setting of the caller id does not work when > receiving calls from hidden numbers. > > The from address in the outgoing SIP looks like this: > > From: "Anonymous" <sip:anonymous at anonymous.invalid> > > Does anyone know why this is happening, is there a way to go around it? > > Regards, > Henrik > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131028/baa2185c/attachment.html>
Possibly Parallel Threads
- executing the h extension at the real hangup of the call
- DAHDI not detecting caller hangup
- Noise in caller handset when dialing out (with dahdi 2.6.0) [SOLVED]
- transfer from sip to dahdi, connects caller to MOH stream and not target
- [PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges