Callerid vs exten on phones redial list

I have a weird problem. When a call comes in i see the callerid on the display, but it also shows the exten is it calling. So when you try to dial it back it dials your exten instead of the callers number. I have tried putting o as an option and didnt have any luck with that.

Any ideas? I am running 1.2.16 with polycom 501, aastra 480CT, aastra 480i, and grandstream 2K’s. All exhibit the same issue.

Obviously I am missing something here.

Thanks

Surely someone else is having the same problem issue. It is driving my customer crazy, and me to because i can not fix it.

Are you appending the extension number to the caller id?

Normaly a caller ID is only the callers number.

Ross

nope not doing anything. Here is my extensions.conf entries for the extensions:
exten => 200,1,macro(stdexten,200,sip/200,20)

and my macro:
exten => s,1,noop(${CALLERID})
exten => s,2,Dial(${ARG2},${ARG3},o)
exten => s,3,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${ARG1}@internal) ; If unavailable, send to voicemail w/ unavail announce
exten => s-NOANSWER,2,Goto(default,s,1); If they press #, return to start
exten => s-BUSY,1,Voicemail(b${ARG1}@internal); If busy, send to voicemail w/ busy announce
exten => s-BUSY,2,Goto(default,s,1); If they press #, return to start
exten => _s-.,1,Goto(s-NOANSWER,1); Treat anything else as no answer
exten => a,1,VoicemailMain(${ARG1}@internal); If they press *, send the user into VoicemailMain

pretty much generic from the sample config. there must be something i am doing wrong.

Hmm,

I can’t see anything obvious. Have you tried removing the ‘o’ option? I have never used this option before.

Out of interest, what does the noop(${CALLERID}) print?

Ross

I have tried it both with teh o and without and neither changes anything.

The noop prints the callerid correctly. Its really weird. When i go on my phones missed call list, it shows the callerid of the person that called, but then also shows my extension. This occurs on every phone i have, polycom 501, grandstream gxp2K, aastra 9112, 9133, 480ct. So its something asterisk is either doing or not doing. I just can not figure out what.

here is the console output:
– Executing Macro(“SIP/xxx-08c18ed0”, “stdexten|200|sip/200|30”) in new stack
– Executing NoOp(“SIP/xxx-08c18ed0”, ““XXXXXXXXXX” XXXXXXXXXXX>”) in new stack
– Executing Dial(“SIP/xxx-08c18ed0”, “sip/200|30|o”) in new stack
– Called 200
– SIP/200-08c21530 is ringing

which shows my cell number as the caller id.

hitting redial on teh phone calls my exten, which is obviosly not correct.

I’ve got the same problem and I’m using the devel head. Even though I’m specifying the ‘o’ parameter in the DIAL cmd the originating callerid is not sent to the outbound leg

/w

[quote=“gk1”]I have tried it both with teh o and without and neither changes anything.

The noop prints the callerid correctly. Its really weird. When i go on my phones missed call list, it shows the callerid of the person that called, but then also shows my extension. This occurs on every phone i have, polycom 501, grandstream gxp2K, aastra 9112, 9133, 480ct. So its something asterisk is either doing or not doing. I just can not figure out what.

here is the console output:
– Executing Macro(“SIP/xxx-08c18ed0”, “stdexten|200|sip/200|30”) in new stack
– Executing NoOp(“SIP/xxx-08c18ed0”, ““XXXXXXXXXX” XXXXXXXXXXX>”) in new stack
– Executing Dial(“SIP/xxx-08c18ed0”, “sip/200|30|o”) in new stack
– Called 200
– SIP/200-08c21530 is ringing

which shows my cell number as the caller id.

hitting redial on teh phone calls my exten, which is obviosly not correct.[/quote]

Any ideas out there on a work around?

It has never worked correctly for me since 1.2.8, so i have to be doing something wrong as i doubt people would let something like this go so long.

What’s sip.conf for 200?

The problem reads like bug #8520. Am not not sure what it was closed given that the problem remains.

bugs.digium.com/view.php?id=8520

Here is my sip.conf entry for exten 200:

[200]
type=friend
context=internal
username=200
fromuser=200
callerid=Greg Kennedy
host=dynamic
canreinvite=no
secret=XXXX
mailbox=200@internal
disallow=all
allow=ulaw
allow=g729
dtmfmode=inband
nat=yes

Its the same for every exten, and has been the same sip.conf data since 1.2.8. I have just copied the users portion over.

[quote=“warren12”]The problem reads like bug #8520. Am not not sure what it was closed given that the problem remains.

bugs.digium.com/view.php?id=8520[/quote]

It does read that way, but i am unsure as to why they would think that this is ok behaviour. I get the caller id sent to my phone just fine, but when i hit the button to dial from my missed calls list it shows the callerid of the calling party, and underneath it my exten. I guess i must be one of the few people that thinks somethings actually wrong with the system.

Can you remove this line?

You sir are the answer!!! Thank you very much, works like a champ now!