[asterisk-users] CallerID shows wrong values in manager interface

Devraj Mukherjee devraj at gmail.com
Wed Jan 30 21:10:52 CST 2008


Hi everyone,

My manager interface seems to be producing wrong CallerIDs when
internal extensions call each other. Can anyone see anything wrong in
the configuration snippets pasted below? The following instance has
extension 101 call 103. The phone does show the right caller ID, but
notice that the manager interface has the CallerID as the target
number (103).

Thanks a lot for your time.

Manager interface output:

CallerIDName: <unknown>
State: Ringing
Event: Newstate
Privilege: call,all
Uniqueid: 1201748091.843
Channel: SIP/103-098500d8
CallerID: 103

SIP.conf snippets:

[101]
type=friend
callerid=("Devraj Mukherjee" <101>)
username=101
secret=password
context=default
host=dynamic
allow=alaw
mailbox=101 at default

[103]
type=friend
callerid=("System admin Den" <103>)
username=103
secret=password
context=default
host=dynamic
allow=all
mailbox=103 at default

Extension.conf looks like:

; Standard POTS line configuration to pickup calls
exten => _s,1,Wait(2)
exten => _s,2,Queue(wagga-office-phones,90)
exten => _s,3,VoiceMail(101 at default)
exten => _s,4,Hangup

exten => 101,1,Wait(1)
exten => 101,2,SetCIDNum(101)
exten => 101,3,Dial(SIP/101,30,trw)
exten => 101,4,Voicemail(s101)
exten => 101,5,Hangup

exten => 103,1,Wait(1)
exten => 103,2,Dial(SIP/103,30,trw)
exten => 103,3,Voicemail(s103)
exten => 103,4,Hangup


-- 
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)



More information about the asterisk-users mailing list