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.
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.
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]
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.