Benoit Panizzon
2011-Jul-21 08:06 UTC
[asterisk-users] Prevent Asterisk from setting CALLERID(name) or unsetting CALLERID(name)
Hi all We use a Genband Safari C3 Softswitch and have an attached Asterisk for some special funktions like SPOT Filtering. Now then a call comes from PSTN to a SIP subscriber, the invite looks like: From: <sip: +4179*******@157.161.10.190:5060;user=phone>;tag=7f33ff47+1+68530003+e1367280 If the device is a Snom M9 (or many others) in the absence of a CALLERID(name) the CALLERID(num) is displayed. If the same invite reaches the Asterisk server. Strangely the CALLERID(name) is set to the same Value as the CALLERID(num). Now the CALLERID(num) is being changed (localized) during processing of the call on the asterisk server. If now the call get's connected to a SIP customer. From: "+4179*******" <sip:079*******@157.161.10.37>;tag=as40775516 So a SIP customer get's a non localized number on his display (which is CALLERID(name)). Is there a way to get asterisk not to invent a CALLERID(name) if there is none? Id did try to set ${CALLERID(name)=""} but that resulted in From: "" <sip...> and the displaying of this empty string on the subscribers phone. Is there a way to completely remove the CALLERID(name) like (UNSET({CALLERID(name))? Kind regards Benoit Panizzon -- I m p r o W a r e A G - ______________________________________________________ Zurlindenstrasse 29 Tel +41 61 826 93 07 CH-4133 Pratteln Fax +41 61 826 93 02 Schweiz Web http://www.imp.ch ______________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2207 bytes Desc: not available URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110721/2f5c91d5/attachment.bin>
Benny Amorsen
2011-Jul-22 11:24 UTC
[asterisk-users] Prevent Asterisk from setting CALLERID(name) or unsetting CALLERID(name)
Benoit Panizzon <benoit.panizzon at imp.ch> writes:> Is there a way to get asterisk not to invent a CALLERID(name) if there is > none? > > Id did try to set ${CALLERID(name)=""} but that resulted in From: "" <sip...> > and the displaying of this empty string on the subscribers phone.I believe you have hit issue 17451, https://issues.asterisk.org/jira/browse/17451 There is a patch for 1.6.2.15 attached to the issue. /Benny