sigmaz
Member
- Joined
- Dec 17, 2010
- Messages
- 100
- Reaction score
- 1
Hey gang here is a simple one for sure, But I just don't know the answer yet.
I have an extension on a remote server linked via IAX, Everything works properly no troubles there.
I want to send pages to this remote station as well as all of the other local stations.. Of course paging group 999 is used to blast pages locally and is defined in the [ext-page] context.
I created [ext-page-custom] in extensions_custom.conf and populated the following.
exten => 998,1,Answer
exten => 998,n,Macro(user-callerid,)
exten => 998,n,Set(_AMPUSER=${AMPUSER})
exten => 998,n,Set(_SIPURI=)
exten => 998,n,Set(_ALERTINFO=Alert-Info: Ring Answer)
exten => 998,n,Set(_CALLINFO=Call-Info: <uri>\;answer-after=0)
exten => 998,n,Set(_SIPURI=intercom=true)
exten => 998,n,Set(_DOPTIONS=A(beep))
exten => 998,n,Set(_DTIME=5)
exten => 998,n,Set(_ANSWERMACRO=)
exten => 998,n,Set(__FORWARD_CONTEXT=block-cf)
exten => 998,n,Page(IAX2/toJB-IAXpeer/731/a)
Now of course we all can plainly see that 998 will page the remote station 731, it says it right there..
But the only way I can get it to work with the 999 group pages is to manually add LOCAL/998@ext-paging-custom to the exten => 999,n,Page( line under the [ext-page] context..
This all works perfectly but we all also know that the file is rewritten on each change so then i need to re manually enter the info.
What is the best way to insert this only once.
This fix you provide will may help me with a custom queue issue I have.
Thanks!
jon
I have an extension on a remote server linked via IAX, Everything works properly no troubles there.
I want to send pages to this remote station as well as all of the other local stations.. Of course paging group 999 is used to blast pages locally and is defined in the [ext-page] context.
I created [ext-page-custom] in extensions_custom.conf and populated the following.
exten => 998,1,Answer
exten => 998,n,Macro(user-callerid,)
exten => 998,n,Set(_AMPUSER=${AMPUSER})
exten => 998,n,Set(_SIPURI=)
exten => 998,n,Set(_ALERTINFO=Alert-Info: Ring Answer)
exten => 998,n,Set(_CALLINFO=Call-Info: <uri>\;answer-after=0)
exten => 998,n,Set(_SIPURI=intercom=true)
exten => 998,n,Set(_DOPTIONS=A(beep))
exten => 998,n,Set(_DTIME=5)
exten => 998,n,Set(_ANSWERMACRO=)
exten => 998,n,Set(__FORWARD_CONTEXT=block-cf)
exten => 998,n,Page(IAX2/toJB-IAXpeer/731/a)
Now of course we all can plainly see that 998 will page the remote station 731, it says it right there..
But the only way I can get it to work with the 999 group pages is to manually add LOCAL/998@ext-paging-custom to the exten => 999,n,Page( line under the [ext-page] context..
This all works perfectly but we all also know that the file is rewritten on each change so then i need to re manually enter the info.
What is the best way to insert this only once.
This fix you provide will may help me with a custom queue issue I have.
Thanks!
jon