We help IT Professionals succeed at work.
Get Started

View incoming number

sasapix
sasapix asked
on
1,113 Views
Last Modified: 2013-11-12
Hi, I have a problem with VoIP based on Trixbox/Asterisk because when arrived an external call, on phones display, I view 'anonymous' writing but I would view the incoming number telephone.
I have a digital line that are connected to Patton SN4634, my config trunk is:

PEER Deatils:
secret=yyyyy
nat=no
context=from-pstn
host=x.x.x.40
insecure=very
type=friend
username=dddd

in USER details:
canreinvite=no
context=from-trunk
dtmfmode=rfc2833
insecure=very
nat=no
port=5060
type=user

In attach the patton configuration.
When arrive an external call in log file I have:

[Jun 10 16:32:41] VERBOSE[13323] logger.c:     -- Executing [s@ext-did:3] ExecIf("SIP/1004-093536f8", "1 |Set|CALLERID(name)=anonymous") in new stack
[Jun 10 16:32:48] VERBOSE[13323] logger.c:     -- Executing [s@macro-user-callerid:1] Set("SIP/1004-093536f8", "AMPUSER=anonymous") in new stack
[Jun 10 16:32:48] VERBOSE[13323] logger.c:     -- Executing [s@macro-user-callerid:3] ExecIf("SIP/1004-093536f8", "1|Set|REALCALLERIDNUM=anonymous") in new stack
[Jun 10 16:32:48] DEBUG[13323] func_db.c: DB: DEVICE/anonymous/user not found in database.
[Jun 10 16:32:48] VERBOSE[13323] logger.c:     -- Executing [s@macro-user-callerid:20] NoOp("SIP/1004-093536f8", "Using CallerID "anonymous" <anonymous>") in new stack
[Jun 10 16:32:48] VERBOSE[13323] logger.c:   dialparties.agi: Caller ID name is 'anonymous' number is 'anonymous'

Thanks.

startup.txt
Comment
Watch Question
Tech
Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE