On Fri, Jun 12, 2015 at 3:10 PM, D'Arcy J.M. Cain da...@vex.net wrote:
On Fri, 12 Jun 2015 11:49:05 -0700
John Kiniston johnkinis...@gmail.com wrote:
Try this for CHAN_SIP:
same = n,Set(Peer=${SIPCHANINFO(peername)}) ; Get the peer
same =
Try this for CHAN_SIP:
same = n,Set(Peer=${SIPCHANINFO(peername)}) ; Get the peer
same = n,Set(MailBox=${SIPPEER(${Peer},mailbox)}); Get the mailbox
same = n,VoicemailMain(${MailBox}@LocalSets,s) ; If we have a
mailbox defined log into it
If you are using PJSIP it's more complex
On Fri, 12 Jun 2015 11:49:05 -0700
John Kiniston johnkinis...@gmail.com wrote:
Try this for CHAN_SIP:
same = n,Set(Peer=${SIPCHANINFO(peername)}) ; Get the peer
same = n,Set(MailBox=${SIPPEER(${Peer},mailbox)}); Get the
mailbox same = n,VoicemailMain(${MailBox}@LocalSets,s) ;
Prezado Fernando,
Muito obrigado por sua complementação na resposta!
Surgiram algumas dúvidas agora:
A única forma de retornar os dados num header field, como o Rafael dos Santos
Saraiva sugeriu envolve criar outro channel?
Ou seja, o que eu preciso é que a mesma execução do dia plan obtenha
Dear asterisk-users,
I have listened that a diaplan on Asterisk can extract information from
proprietary SIP messages header fields. That is, if Asterisk receives a SIP
message with a modified HEADER (containing proprietary fields) , is it possible
to program the dial plan to make Asterisk
I have this in my sip.conf:
exten = *98,1,Verbose(0,CALLERID number is ${CALLERID(num)})
same = n,VoicemailMain(${CALLERID(num)}@LocalSets,s)
same = n,Hangup
However, my extensions are set up so that they always show the external
number, not the extension:
[foobar2](client-phone)