Displaying 6 results from an estimated 6 matches for "pjsip_endpoint".
2016 Apr 25
2
Is set_var allowed with pjsip_wizard.conf ?
...t;
> Anyway, using this set_var capability, how do I access xxxxx's value in
> the dialplan ?
>
> Using lines bellow doesn't produce anything useful:
> same = n,Verbose(0,xxxxx is ${xxxxx})
> same = n,Verbose(0,CHANNEL(xxxxx) is ${CHANNEL(xxxxx)})
> same = n,Verbose(0,${PJSIP_ENDPOINT(1000,xxxxx)}
>
>
I don't think you can do it with channel but I actually don't remember (but
I'll check).
"same = n,Verbose(0,${PJSIP_ENDPOINT(1000,xxxxx)})" works for me but the
final ')' is missing in you example, maybe just a cut and paste error
though.
Ther...
2014 Nov 06
1
Function to get mailbox for a PJSIP Endpoint?
Howdy,
I'm trying to re-write my voicemail check extension.
I formerly used the SIPPEER function to get the mailbox for a peer with
${SIPPEER(${peer},mailbox)}
Is there a way to do this with PJSIP now that I've converted over?
I see a function PJSIP_ENDPOINT and it has a mailboxes subset but I'm not
retrieving any data from it when I query it.
--
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take...
2016 Apr 25
2
Is set_var allowed with pjsip_wizard.conf ?
On Mon, Apr 25, 2016 at 10:00 AM, George Joseph <gjoseph at digium.com> wrote:
>
>
> On Mon, Apr 25, 2016 at 9:29 AM, Olivier <oza.4h07 at gmail.com> wrote:
>
>> Hello,
>>
>> I've just discovered PJSIP 's support of set_var setting in pjsip.conf.
>> Is this setting also supported in pjsip_wizard.conf ?
>> On a fresh 13.8.2, it
2020 Jun 03
2
asterisk 16.9 function HINT with option n does not return anything
Hello !
Is there something wrong with the function HINT(<extension number>,n) ?
Note the param n - it is supposed to get (as far as I understand the
documentation) CALLERID(name) of the extension (via extension's hint).
Example configuration:
pjsip.conf:
[10]
type=endopoint
.
.
callerid = Test extension <10>
.
.
extensions.conf:
[exts]
exten => 10,hint,PJSIP/10
exten =>
2015 Jun 12
0
Voice mail and caller ID
...t(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 => n,Set(MailBox=${PJSIP_ENDPOINT(${EndPoint},mailboxes)})
same => n,ExecIf($[${ISNULL(${MailBox})} =
1]?Set(MailBox=${AST_SORCERY(res_pjsip,aor,${EndPoint},mailboxes)}))
same => n,VoicemailMain(${MailBox}@LocalSets,s) ; If we have a
mailbox defined log into it
On Fri, Jun 12, 2015 at 11:23 AM, D'Arcy J.M. Cain...
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>