We help IT Professionals succeed at work.

View incoming number

sasapix
sasapix asked
on
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

Most Valuable Expert 2012

Commented:
Please post your extensions.conf file.

Author

Commented:
Hi, in attach extensions.conf.
Thanks.

extensions.txt
Tech
Commented:
Hi

1- Has caller ID been enabled by the telecom company on the line ? Some charge for this service

Author

Commented:
unfortunately my customer haven't provided yet to call telecom company for to enable ID. :-(

-
 Salvatore.

AlexTech

Commented:

so salvatore ...you mean that you had not got called id enabled on this line ? Please post results when this is enabled and working ?

Author

Commented:
ok, when my customer call to telecom company for to enable ID I send you further information.
Thanks.

-
 Salvatore.