similar to: Get the status of a PJSIP endpoint?

Displaying 20 results from an estimated 900 matches similar to: "Get the status of a PJSIP endpoint?"

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 =>
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
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>
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
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 Jul 17
1
Problem with OPTIONS requests.
I've got this setup in a test context. [test] exten => s,hint,SIP/7124 exten => s,1,NoOP(Options to $EXTEN) same => n,Hangup() exten => _x.,hint,SIP/7124 exten => _X.,1,NoOP(Options to $EXTEN) same => n,Hangup() exten => Anonymous,hint,SIP/7124 exten => Anonymous,1,NoOP(Options to $EXTEN) same => n,Hangup() I added hints to see if that would make a difference
2010 Jan 20
1
Using SIPPEER status with CUT function? SOLVED
On Wed, Jan 20, 2010 at 2:42 PM, JR Richardson <jmr.richardson at gmail.com> wrote: > Hi All, > > I'm using Asterisk 1.4 branch and checking the status of some SIP > Peers with the functions ${SIPPEER(101:status)} and the result is "OK > (48 ms)". ?Seems to work fine. > > Now I would like to use the function CUT to set a variable with the > 'OK'
2015 Jun 12
1
Voice mail and caller ID
On Fri, 12 Jun 2015 11:49:05 -0700 John Kiniston <johnkiniston at 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) ; If we > have a mailbox defined log into it Perfect.
2012 Feb 11
1
Asterisk perl AGI confusing variables
Hello all, I'm struck with a very strange problem today. I've an AGI with some code subroutine snippet as follows: sub enable_sbc($) { my $carrier = shift; my $tmp = substr($carrier,1); my $jkh = $tmp; $server_port = $ast_agi->get_variable("SIPPEER($jkh,port)"); $ser_ip = $ast_agi->get_variable("SIPPEER($tmp,ip)");
2006 Dec 15
2
Trying to forward calls by using the Callee's context as the forward dial context
I'm simply trying to forward calls to users who have the call forwarding feature enabled (FWD Status and FWD Ph Number kept in the astDB). The problem is that I want users to be able to forward calls to numbers that they would normally be allowed to dial within their own context. (I don't want a local call only person forwarding to a long dist number, for example.) I'm able to
2014 Nov 17
2
hostname resolution in libshout
We (Mixxx) have a user who reported an issue with hostname resolution. Here's the bug report: https://bugs.launchpad.net/mixxx/+bug/1391654 They say their hostname resolves to both ipv4 and ipv6 and they bound icecast to the ipv4 interfaces. (I'm not sure why they don't bind to both). Mixxx cannot connect to icecast presumably because libshout is resolving and connecting to the ipv6
2006 Apr 19
1
Sending SIP NOTIFY / How to get remote SIP port?
try, database get SIP/Registry/<peername> it gives you a string which contains the info, then pass it to CUT to extract ip-adr and port Freddi > To do that you need to get the remote ip address and port of the sip peer! > > I found the function: > > ${SIPPEER(exten:ip) > > But how can I get the port??? > >
2010 Aug 10
1
DEBUG: Cannot find variable 'XXX' ??
On 1.6.2.11-rc2 I've noticed a bunch of DEBUG statements on startup, such as: == Registered custom function 'SIP_HEADER' [Aug 9 07:01:23] DEBUG[17330]: xmldoc.c:1727 xmldoc_build_field: Cannot find variable 'SIPPEER' in tree 'description' == Registered custom function 'SIPPEER' [Aug 9 07:01:23] DEBUG[17330]: xmldoc.c:1727 xmldoc_build_field: Cannot find
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 Feb 26
1
Still can't pickup parked call
I'm still struggling to pickup calls. I now have a single context (entryocginternal) where I have "include => parkedcalls". The log below shows me calling from one internal extension to another, then picking up, then parking the call. -- SIP/239-0915d5c8 is ringing -- SIP/239-0915d5c8 answered SIP/233-0915bf40 -- Packet2Packet bridging SIP/233-0915bf40 and
2013 Apr 10
1
AMI Reload action, returning generated errors?
Howdy, I'm building a webapp to allow my techs to do minor dialplan edits and trigger a reload on my PBX's running 1.8 I have no problem triggering a 'reload pbx_config.so' via manager, The problem is how can I see the results of my reload? For example a missing close parenthesis which would show in /var/log/asterisk/messages [Apr 10 13:46:16] WARNING[23911] pbx_config.c: No
2010 Jan 20
1
Using SIPPEER status with CUT function?
Hi All, I'm using Asterisk 1.4 branch and checking the status of some SIP Peers with the functions ${SIPPEER(101:status)} and the result is "OK (48 ms)". Seems to work fine. Now I would like to use the function CUT to set a variable with the 'OK' portion of the status "OK (48 ms)" and then do some follow on stuff if the status is OK. I'm running into syntax
2006 May 05
5
Code parsing error?
This code executes just fine, and leaves the SIP peer's mailbox setting from sip.conf in variable target. exten => 1,1,Set(target=${CHANNEL:4}-) exten => 1,n,Set(target=${SIPPEER(${CUT(target,,1)}:mailbox}) exten => 1,n,VoiceMailMain(${target}) However, every time it runs I get an error in the CLI as follows WARNING[5629]: pbx.c:1366 ast_func_read: Can't
2016 Feb 02
2
Asterisk 13.7.0 Pickup with namedcallgroup/namedpickupgroup
Should setting a namedcallgroup & namedpickupgroup supersede numeric callgroups and pickupgroup ? I've got 5 peers on my 13.7.0 box, Three of them have a namedcallgroup & namedpickupgroup of 'kiniston' and Two of them have a namedcallgroup & namedpickupgroup of 'sanday'. I'm not specifying a numeric callgroup or pickupgroup so all the peers are defaulting to
2014 Nov 17
2
[LLVMdev] [llvm][SelectionDAG] trivial patch: fix misprint in SelectionDAGLegalize::ExpandInsertToVectorThroughStack
Alright, go ahead with it. —Owen > On Nov 17, 2014, at 4:58 AM, Daniil Troshkov <troshkovdanil at gmail.com> wrote: > > Hi! > > I have not found test case. (It is because we have no target using "ExpandInsertToVectorThroughStack"). > But I tested it for target currently not included in llvm trunk. > > This fix correct and trivial, so I'm offering