I don’t have caller ID Module. this is Pure Asterisk. I only use this forum as this is where all the Asterisk gods hang out.
I was hoping someone could help me modify the current page group as I don’t quite understand how to go from it grabbing the extension number to just telling it what caller ID to use and I can’t find a valid example online.
this is a test page group. you can see it pulls user-called. I want to just set it to "PAGING 306)
exten => 306,1,Macro(user-callerid,)
exten => 306,n,Set(_PAGEGROUP=306)
exten => 306,n(busy-check),GotoIf($[${TRYLOCK(apppagegroups306)}]?:busy)
exten => 306,n(devstate),Set(DEVICE_STATE(Custom:PAGE306)=INUSE)
exten => 306,n,Answer
exten => 306,n,Gosub(app-paging,ssetup,1())
exten => 306,n,Set(PAGEMODE=PAGE)
exten => 306,n,Set(PAGE_MEMBERS=145)
exten => 306,n,Set(PAGE_CONF_OPTS=1dqsxm)
exten => 306,n(agi),AGI(page.agi)
exten => 306,n(page),MeetMe(${PAGE_CONF},dqwxAG,)
exten => 306,n,Hangup
exten => 306,n(busy),Set(PAGE${PAGEGROUP}BUSY=TRUE)
exten => 306,n(play-busy),Busy(3)
exten => 306,n(busy-hang),Goto(app-pagegroups,h,1)