search for: ast_sorceri

Displaying 3 results from an estimated 3 matches for "ast_sorceri".

Did you mean: ast_sorcery
2014 Nov 17
1
Get the status of a PJSIP endpoint?
Is there an equivalent to ${SIPPEER(${peer},status)} for PJSIP? The closest I've been able to get is to use AST_SOURCERY to see if they have a contact ${AST_SORCERY(res_pjsip,aor,${peer},contact) but I'm not certain if I'll still have a contact entry after a phone has gone unreachable? -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a
2015 Jun 12
0
Voice mail and caller ID
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 same => n,Set(EndPoint=${CHANNEL(endpoint)}) ; Get the peer same =>
2015 Jun 12
2
Voice mail and caller ID
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) secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx callerid=Candace <5555551212>