Displaying 20 results from an estimated 3000 matches similar to: "Function to get mailbox for a PJSIP Endpoint?"
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>
2015 Jan 04
3
Confused by concepts behind pjsip: endpoint, aor, contact
Hello,
I am slightly confused by the difference between chan_sip and pjsip.
Especially the new (to me) objects aor and contact.
I am having trouble mapping them to the typical SIP configuration settings
on a phone.
Suppose I have a phone with two line buttons, for two extension numbers.
Now,
I think that means two 'endpoints' in pjsip right? But what exactly is the
difference
between
2015 Apr 01
1
PJSIP Endpoint AOR question
I just realized that you are asking about dynamic AORs, not static Contacts
in an AOR. That may be the difference. I have never actually tried giving a
dynamic AOR a different name. And you wouldn't want more than one dynamic
AOR, you'd just use an AOR that allowed more than 1 contact.
On Wed, Apr 1, 2015 at 2:59 PM Trey Hilyard <kctrey at gmail.com> wrote:
> I don't know
2015 Jan 05
2
Confused by concepts behind pjsip: endpoint, aor, contact
Joshua,
On Sun, Jan 4, 2015 at 6:39 PM, Joshua Colp <jcolp at digium.com> wrote:
[..snip..]
> Also I notice, an AOR does seem do be directly correlated with an auth
>> record, so why are
>> they separate in the configuration, why not unify the aor and the auth
>> objects?
>>
>
> They aren't at all. Auth = Authentication. Used to authenticate
2015 Jan 04
2
Confused by concepts behind pjsip: endpoint, aor, contact
Thanks for responding,
On Sun, Jan 4, 2015 at 5:45 PM, George Joseph <george.joseph at fairview5.com>
wrote:
> On Sun, Jan 4, 2015 at 3:29 PM, Antonio G?mez Soto <
> antonio.gomez.soto at gmail.com> wrote:
>
>> Hello,
>>
>> I am slightly confused by the difference between chan_sip and pjsip.
>> Especially the new (to me) objects aor and contact.
2015 Apr 01
4
PJSIP Endpoint AOR question
I am running asterisk 13.1.0
In pjsip.conf, the endpoint section has an aors and an auth field.
I can name the auth field anything I want. The key is to set the auth=field accordingly.
However, when I try this with the aors field, it never works. It seems I have to name the aors=field to match the name of the endpoint section.
Is this correct?
Would there ever be a need for multiple aors to
2016 Apr 25
2
Is set_var allowed with pjsip_wizard.conf ?
On Mon, Apr 25, 2016 at 11:11 AM, Olivier <oza.4h07 at gmail.com> wrote:
>
>
>
> 2016-04-25 18:14 GMT+02:00 George Joseph <gjoseph at digium.com>:
>
>>
>>
>> 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
2020 Jul 18
2
PJSIP AoR vs Endpoint
Hi,
I realise this is an old question, but I’m struggling to get my head around
it.
The ERD suggests that endpoints can link to multiple AoRs
In what situation would you actually use this? Given that mapping of
inbound calls is primary done to the endpoint, it looks to me like most of
the scenarios where this might be beneficial are actually not possible?
One example I had envisaged was being
2017 Dec 02
2
pjsip subscribe (presence) always returns: No matching endpoint found
Hi Joshua
> The chan_pjsip module doesn't prevent that. You'd need to provide the
> full SUBSCRIBE now that it is actually finding the endpoint and coming
> in.
Ok, let's see if we can solve the mystery..
pjsip.conf
[endpt-home](!)
type=endpoint
disallow=all
allow=g722
allow=alaw
allow=gsm
ice_support=yes
context=from-home
allow_subscribe=yes
2014 Mar 11
1
PJSIP - Using multiple AOR contacts when dialing through an endpoint
Hello everyone,
I have started testing the PJSIP stack.
I saw that it is possible to setup statically multiple AOR contacts, setup
qualify_timeout and attach it to an endpoint, and then dial using this
endpoint.
When I setup the configuration I used the cli in order to see the status of
the contacts, and it worked fine - whenever a contact is unreachable, the
status is updated to Unavailable.
2015 Jan 05
1
Confused by concepts behind pjsip: endpoint, aor, contact
On Sun, Jan 4, 2015 at 8:48 PM, Joshua Colp <jcolp at digium.com> wrote:
> Antonio G?mez Soto wrote:
>
> <snip>
>
>
>> I did not mean they are the same, I meant that there seems to be a
>> one-to-one relationship.
>>
>> So I am wondering, since the auth does seem useless without an aor, but
>> an aor
>> can exist without an auth, why
2014 Nov 13
1
pjsip phoneprov realtime?
Howdy,
Is there a way to use realtime with phoneprov.com and pjsip?
I've got a working pjsip realtime config currently but I have to add a
phoneprov section to my pjsip.conf for each phone I want to provision.
I was hoping the Sorcery page in the wiki would help possibly but it's
blank :(
https://wiki.asterisk.org/wiki/display/AST/Sorcery
--
A human being should be able to change a
2008 Nov 04
1
Is SIPPEER curcalls working for you ?
Hi,
In this thread
http://lists.digium.com/pipermail/asterisk-users/2008-October/219592.html ,
I wondered whether SIPPEER curcalls was working.
I could test this anew today. Here are my findings :
Alice, Bob and Carol ar all using SIP Phones.
Whenever Alice is calling Bob,
- if Carol is calling Alice, SIPPEER(Alice:curcalls) equals 0
- if Carol is calling Bob, SIPPEER(Bob:curcalls) equals 1
2017 Nov 19
2
pjsip subscribe (presence) always returns: No matching endpoint found
Hello List
I am in the progress of migrating from chan_sip to pjsip.
I fear I have missed something on how hints need to be specified for
pjsip.
For chan_sip I have configured sip.conf
subscribecontext = localuser
and in the dialplan I set:
[localuser]
exten => 11,hint,SIP/11
Now if a phone subscribes to '11' this works.
Now I try to get the same working for pjsip. I understood
2017 Nov 19
2
pjsip subscribe (presence) always returns: No matching endpoint found
Hi Joshua
thank you for the quick reply
> Have you checked the Asterisk console when PJSIP is loaded to see if
> the endpoint did not load for some reason? Does it show up in "pjsip
> show endpoints"?
Yes, the endpoint shows up.
Endpoint: 11/(scrubbed from mail) Not in use 0 of inf
InAuth: 11/11
Aor: 11
2007 Jan 19
1
Red: Sip Phone CID
Here is what I have in my extensions.conf file now. Trustrcid and
sendrcid are turned to "yes" in the conf file.
I'm not fully sure how the SIPCalledRPID works though. The example I
found seems to try and provide the stuff automatically (id and name),
but does the SIPPEER stuff even exist?
I think this is probably the right track though. Any insight would be
much appreciated.
2020 Feb 13
0
Help with FUNC_MATH
My Apologies Dovid, I think I misunderstood your request.
You don't have the time you need to convert in the format of date string,
Instead you have your users entering via DTMF when they want something to
happen?
On Thu, Feb 13, 2020 at 11:08 AM Dovid Bender <dovid at telecurve.com> wrote:
> John,
>
> From looking at the wiki won't STRFIME just give me what I need based
2014 Oct 27
1
sip.conf to pjsip.conf conversion script
Howdy,
I'm trying to get my feet wet with pjsip using the conversion script
mentioned on the Wiki on this page:
https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip
I'm using the copy of the script that's included with Asterisk 13
/usr/src/asterisk-13.0.0/contrib/scripts/sip_to_pjsip
I assume I run it from /etc/asterisk with the input and output file as