Re: [asterisk-users] Registration server with PJSIP
On Sat, Jul 2, 2016 at 12:59 PM, Leandro Dardiniwrote: > Hello, > I am moving from realtime chan_sip to pjsip and one of the problem I am > facing is the lack of "sipregs". With chan_sip, when an extension > registers, the server where it has registered to is stored in sipregs. > > Is there something similar in pjsip? How can I find on which server the > pjsip extension has registered to? > Incoming registrations for pjsip are stored in the ps_contacts table. In Asterisk 13.10, a new column (reg_server) was added to store the registration server. Since 13.10 hasn't been released yet, you'll need to download the latest release candidate which is RC1. [1] RC2 should be released later in the week. [1] http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.10.0-rc1.tar.gz > > Leandro > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- George Joseph Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] CALLERID on pjsip doesn't work?
Andrew Ivins wrote: On 1 July 2016 at 17:41, Joshua Colp> wrote: exten => 1234,Set(CALLERID(all)="Jon Doe" <+123456789>) same => n,Dial(PJSIP/phone123, 30) Your exten line has no priority, is that how it is in your dialplan? Actually no, I stole that line from an earlier email to this list. Mine has a priority. If not you can isolate things a bit further by trying the following: Set(CALLERID(all)=Jon Doe <+123456789>) Or individually: Set(CALLERID(name)=Jon Doe) Set(CALLERID(num)=+123456789) Tried many permutations of this, and the only thing I can get to happen is to make the call present as Anonymous by changing the pres-name/pres-num setting. It's not a production system, dialplan is pretty simple: same => _X.1,Set(CALLERID(name-pres)=allowed) same => n,Set(CALLERID(num-pres)=allowed) same => n,Set(CALLERID(name)=Fred) same => n,Set(CALLERID(num)=6123) same => n,Dial(PJSIP/DEADDEADBEEF, 30) same => n,Hangup() DEADDEADBEEF is the name of the endpoint and the endpoint works. I use MAC addresses and plan to dynamically map extensions to them later on (kind of like user mode in freepbx). In the console, if I log the value of CALLERID, it is what I expect to it to be. You have from_user set which will override the user in the From header which is where callerid would be. You also don't have send_rpid or send_pai turned on so there would be no alternate way to send it. Try setting send_rpid or send_pai to yes and trying again. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Function SHELL not registered
On Monday 04 Jul 2016, Michael Jepson wrote: > Hi all, > > I am getting the following error when starting asterisk: > pbx_functions.c: Function SHELL not registered > > Some of my conf files use a SHELL command, which used to work with an older > version of asterisk, but now with version 13.9.1 I see this warning in the > error log. How can I register the SHELL function? From what I can find in > the wiki's, it should just be available? > > Best regards, > > Michael Jepson Did you include func_shell in your Asterisk build? Fortunately, it's no biggie to build a missing module, because the "make" command explicitly keeps track of everything it has already done and does not need to do again. Just cd into the folder with your Asterisk source, run `make menuselect` and select "func_shell" (under dialplan functions). Then run `make` and finally `make install`. -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk . -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Function SHELL not registered
Hi all, I am getting the following error when starting asterisk: pbx_functions.c: Function SHELL not registered Some of my conf files use a SHELL command, which used to work with an older version of asterisk, but now with version 13.9.1 I see this warning in the error log. How can I register the SHELL function? From what I can find in the wiki's, it should just be available? Best regards, Michael Jepson -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users