Hi, i am using originate command in dial plan to call ,but its showing incoming caller id as anonymous, here is my dial plan
[addcaller]
exten => 1,1,Answer()
same => n,Playback(beep)
same => n,Read(ext)
same => n,Originate(SIP/${ext},exten, conferences,s,1)
[ conferences]
exten => s,1,ConfBridge(1234,fancybridge,fancyuser,fancymenu)
i tried using set caller id,NoOp everything but its not working.pls help
Wrong forum; this is not a discussion.
You need to provide the dialplan that attempted to set the caller ID.
[macro-addcaller]
exten => 1,1,Answer()
same => n,NoOp("caller id is ${CALLERID(num)}")
same => n,Playback(vm-enter-num-to-call)
same => n,Playback(beep)
same => n,Read(ext,,#)
same => n,Playback(you-entered)
same => n,SayDigits(${ext})
same => n,Set(${CALLERID(num)}=${CALLERID(num)})
same => n,Originate(SIP/${ext},exten,macro-conferences,s,1)
same => n,Originate(DAHDI/g0/${ext},exten,macro-conferences,s,1)
Nothing in your dial plan is setting the caller ID for either the trigger call or the originated call. For the trigger call you are setting it to its current value.
[macro-addcaller]
exten => 1,1,Answer()
same => n,NoOp("caller id is ${CALLERID(num)}")
same => n,Playback(vm-enter-num-to-call)
same => n,Playback(beep)
same => n,Read(ext,,#)
same => n,Playback(you-entered)
same => n,SayDigits(${ext})
same => n,Set(${CALLERID(num)}=${caller_id})
same => n,Originate(SIP/${ext},exten,macro-conferences,s,1,caller_id)
[macro-conferences]
exten => s,1,ConfBridge(1234,fancybridge,fancyuser,fancymenu)
will originate application supports callerrid in dialplan…if so how to force it to display cid
I think that only AMI Originate does that, although you can use a local channel to achieve it with any originate.
sloved …
used dial application to achieve same functionality …here is my dial plan for dynamic conference hope it will help some one…
[macro-addcaller]
exten => s,1,Answer()
same => n,NoOp("caller id is ${CALLERID(num)}")
same => n,Playback(vm-enter-num-to-call)
same => n,Playback(beep)
same => n,Read(ext,,#)
same => n,Playback(you-entered)
same => n,SayDigits(${ext})
same => n,Set(CALLERID(name)=conference)
same => n,Dial(SIP/${ext},,G(macro-conferences^s^1))
same => n,Originate(DAHDI/g0/${ext},exten,macro-conferences,s,1)
[macro-conferences]
exten => s,1,ConfBridge(1234,fancybridge,fancyuser,fancymenu)
exten => s,2,ConfBridge(1234,fancybridge,fancyuser,fancymenu)
define feature codes in features_application.conf…
thanks…
You would be safer using a context that didn’t begin with macro, as you might accidentally trigger some of the deprecated macro functionality.