Devraj Mukherjee
2008-Jan-31 03:10 UTC
[asterisk-users] CallerID shows wrong values in manager interface
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)
Kev S
2008-Jan-31 04:05 UTC
[asterisk-users] CallerID shows wrong values in manager interface
remove the brackets around
("Devraj Mukherjee" <101>)
Regards
Kev
Devraj Mukherjee wrote:> 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
>
>
>
--
This message has been scanned for viruses and
dangerous content by Mail Call antivirus software, and is
believed to be clean.
Mojo with Horan & Company, LLC
2008-Feb-01 00:08 UTC
[asterisk-users] CallerID shows wrong values in manager interface
The snippet is asterisk telling you "I'm just letting you know that the correct caller id for Channel: SIP/103-098500d8 is CallerID: 103" This is absolutely correct, it's just not a piece of information you expected to be receiving at that point. You probably also received a packet like that with the following: Channel: SIP/101-xxxxxxxx CallerID: 101 telling you, again, the caller id for only that channel. Moj Devraj Mukherjee wrote:> CallerIDName: <unknown> > State: Ringing > Event: Newstate > Privilege: call,all > Uniqueid: 1201748091.843 > Channel: SIP/103-098500d8 > CallerID: 103 >