|Summary:||ASTERISK-18968: CALLERID(num) do not work if the fromuser is set ?|
|Date Opened:||2011-12-05 16:47:36.000-0600||Date Closed:||2011-12-07 11:28:11.000-0600|
|Description:||If we configure our peer using the "fromuser" and the "fromdomain" parameter. All calls made throw this peer can not change it's CALLERID(num)|
======= sip.conf ===========
======= extension.conf =====
exten => _X.,1, Set(CALLERID(num)=777)
same => n, Dial(SIP/trunk/8888)
using such configuration, we'll have the number in the fromuser and not the one set in CALLERID(num) ???
I think it's a regression !
|Comments:||By: Walter Doekes (wdoekes) 2011-12-06 01:50:36.690-0600|
The fromuser= parameter sets this:
So if you set it, it's logical that you get that behaviour.. it's what you asked for.
(1) What do you expect fromuser to do?
(2) If you use sendrpid= you can send CLI using a different header than From.
By: B.GUESMI (cmoibal) 2011-12-06 03:36:43.146-0600
(1) Logically, Asterisk must consider values set in the extensions.conf (if exist one), and not those set in sip.conf.
This will give the opportunity to set dynamic values.
What I'm expecting is to set the "fromuser" value if the CALLERID(num) function is not used in the Dialplan!
(2) Yes, but big number of providers use "From" Header to send CLI, and do not support other header for CLI!
By: David Woolley (davidw) 2011-12-06 06:17:56.769-0600
Thanks for your comments. This does not appear to be a bug report. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support.
fromuser is not needed if the service provider accepts CLI in this field. If you want more detail from me, use Asterisk Support on forums.digium.com. I will expect a bug marshall to close this issue in due course.
By: Leif Madsen (lmadsen) 2011-12-07 11:27:58.486-0600
Sounds like you need to enable sendrpid=yes as well. Closing per David Woolley.