[asterisk-users] AstriCon Approaching, Super Earlybird Pricing Expires In 3 Days
Hey All, So one of the jobs that I get to do as head of the Asterisk project is to help inform people about the yearly conference we have about Asterisk named Astricon. For those who are not familiar with it, AstriCon is a fantastic event for anyone that is serious about Asterisk. This year, it's back in Orlando, Florida, on October 9-11. Just as a heads up, the Super Earlybird discount on a full AstriCon pass finishes on April 30, so it's a good time to register to get the best deal: https://www.asterisk.org/community/astricon-user-conference/register AstriCon is a great chance to mix with all your favorite Asterisk Community members and key members of the Asterisk development team while you learn the latest developments, watch some crazy Dangerous Demos and just have a whole bunch of fun! The Expo floor is always worth a visit too, with many in the Asterisk Ecosystem present to show your their offerings. Also, by attending you help to financially support the Asterisk project, as revenue from attendance is directly attributable to the project and it makes it easier for me to justify Asterisk related expenses such as hiring more Asterisk developers. Hope to see many of you there! -- Matthew Fredrickson Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to check modules loading order or force such order ?
On Fri, Apr 27, 2018 at 5:23 AM, Olivier wrote: > Hello, > > From [1], you can read: > "If you don't have an identify section defined, or else you have > res_pjsip_endpoint_*identifier_ip* loading *after* res_pjsip_endpoint_ > *identifier_user*, then ..." > > To remove the above uncertainty coming from modules loading order, how can > you either or both : > - check modules loading order > - force such order. > > Would it be welcomed addition to the wiki pages ? > > Best regards > > [1] https://wiki.asterisk.org/wiki/display/AST/PJSIP+ > Configuration+Sections+and+Relationships > That particular page is a little out-of-date. The endpoint_identifier_order option for the global section [1] was created to remove that short coming quite awhile ago so load order is no longer a determining factor. The most-up-to-date and accurate option documentation for your Asterisk version will be what is installed online with your Asterisk installation. In this case CLI "config show help res_pjsip global endpoint_identifier_order", and "core show help pjsip show identifiers". Richard [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_res_pjsip -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Question on PJSIP's endpoint section in wiki
On Fri, Apr 27, 2018, at 11:13 AM, Olivier wrote: > Hello, > > I don't know if this list is the best place to ask such question but here > it is, anyway. > > In page [1], I can read in PJSIP's endpoint section configuration reference: > identify_by username,location Way(s) for Endpoint to be > identified > > Then clicking over identify_by text, you can read: > identify_by ... supported options are username, ... and auth_username > > How do yopu read it ? > I would expect the first line to written as: > dentify_by username,auth_username Way(s) for Endpoint to be > identified The wiki documentation hasn't been regenerated lately (it's in queue to be fixed). "username,auth_username" would be correct. There's also others[1] depending on version. [1] https://github.com/asterisk/asterisk/blob/13/configs/samples/pjsip.conf.sample#L633 -- 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 -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Question on PJSIP's endpoint section in wiki
Hello, I don't know if this list is the best place to ask such question but here it is, anyway. In page [1], I can read in PJSIP's endpoint section configuration reference: identify_by username,location Way(s) for Endpoint to be identified Then clicking over identify_by text, you can read: identify_by ... supported options are username, ... and auth_username How do yopu read it ? I would expect the first line to written as: dentify_by username,auth_username Way(s) for Endpoint to be identified Thoughts ? Best regards [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_res_pjsip#Asterisk13Configuration_res_pjsip-endpoint_identify_by -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] PJSIP global section ignored in Asterisk 13.14.1 [SOLVED]
2018-04-27 14:59 GMT+02:00 Joshua Colp : > On Fri, Apr 27, 2018, at 9:57 AM, Olivier wrote: > > Hello > > > > I've just discovered this [1] invaluable blog post (thank you very much > > Richard for writing it) and its reference to PJSIP's > > endpoint_identifier_order setting. > > > > On my Debian Stretch box powered with a packaged Asterisk 13.14.1, I > edited > > a pjsip.conf file with the following content (and nothing more): > > [global] > > endpoint_identifier_order=auth_username,ip,username > > max_forwards=50 > > This is incomplete. You need to also have "type=global". > Adding a "type=global" line solved this issue as I missed the comment ";type= ; Must be of type global (default: "")" two lines bellow. Thank you very much for correcting me. > > -- > 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 -- > > Check out the new Asterisk community forum at: https://community.asterisk. > org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Explain PJSIP user matching within inbound SIP trunks
On Fri, Apr 27, 2018, at 7:00 AM, Olivier wrote: > Hello, > > I'm setting an Asterisk 13.14.1 box (Debian Stretch with packaged > Asterisk) to implement SIP trunking services ie to both trunk with carrier > trunks and IPBX trunks from various brands. > > For various reasons, I was inclined to implement this services with > pjsip_wizard.conf and I'm realizing I still have some remaining questions. > > For the moment, letting registration questions aside, which of the > following sentences is correct for Asterisk's PJSIP stack: > > 1. it would identify an incoming call only looking at From header ignoring > IP settings (both IP address and port), > 2. it would identify an incoming call only looking both at From header and > IP settings (both IP address and port), > 3. it would identify an incoming call only looking both at IP settings, > ignoring From header for identification but using it for other things > (setting CallerID, ...). It depends on configuration, but ultimately it can only be identified using a single endpoint identifier - so not in combination, thus by From OR IP. -- 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 -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] PJSIP global section ignored in Asterisk 13.14.1
On Fri, Apr 27, 2018, at 9:57 AM, Olivier wrote: > Hello > > I've just discovered this [1] invaluable blog post (thank you very much > Richard for writing it) and its reference to PJSIP's > endpoint_identifier_order setting. > > On my Debian Stretch box powered with a packaged Asterisk 13.14.1, I edited > a pjsip.conf file with the following content (and nothing more): Your version is also quite old, and changes/improvements/tweaks have been made since then to the option. -- 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 -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] PJSIP global section ignored in Asterisk 13.14.1
On Fri, Apr 27, 2018, at 9:57 AM, Olivier wrote: > Hello > > I've just discovered this [1] invaluable blog post (thank you very much > Richard for writing it) and its reference to PJSIP's > endpoint_identifier_order setting. > > On my Debian Stretch box powered with a packaged Asterisk 13.14.1, I edited > a pjsip.conf file with the following content (and nothing more): > [global] > endpoint_identifier_order=auth_username,ip,username > max_forwards=50 This is incomplete. You need to also have "type=global". -- 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 -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] PJSIP global section ignored in Asterisk 13.14.1
Hello I've just discovered this [1] invaluable blog post (thank you very much Richard for writing it) and its reference to PJSIP's endpoint_identifier_order setting. On my Debian Stretch box powered with a packaged Asterisk 13.14.1, I edited a pjsip.conf file with the following content (and nothing more): [global] endpoint_identifier_order=auth_username,ip,username max_forwards=50 Then: # service asterisk restart # asterisk -rx "pjsip show settings" | grep forwa max_forwards: 70 # asterisk -rx "pjsip show identifiers" Identifier Names: name not specified ip username anonymous auth_username # grep -v '^;' modules.conf [modules] autoload=yes noload => pbx_gtkconsole.so noload => pbx_kdeconsole.so noload => app_intercom.so noload => chan_modem.so noload => chan_modem_aopen.so noload => chan_modem_bestdata.so noload => chan_modem_i4l.so noload => chan_capi.so load => res_musiconhold.so noload => chan_alsa.so noload => cdr_sqlite.so noload => app_directory_odbc.so noload => res_config_odbc.so noload => res_config_pgsql.so [global] What do you think of this ? Best regards [1] http://blogs.asterisk.org/2018/02/07/identifying-endpoint-pjsip/ -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] How to check modules loading order or force such order ?
Hello, >From [1], you can read: "If you don't have an identify section defined, or else you have res_pjsip_endpoint_*identifier_ip* loading *after* res_pjsip_endpoint_ *identifier_user*, then ..." To remove the above uncertainty coming from modules loading order, how can you either or both : - check modules loading order - force such order. Would it be welcomed addition to the wiki pages ? Best regards [1] https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Sections+and+Relationships -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Explain PJSIP user matching within inbound SIP trunks
May I add the following to my previous question: - When I wrote "only looking at From header", I meant looking at domain part of From header, leaving user part of From header for other purposes. - With a From header such as From: "John Doe" , it would match foobar with a [foobar] endpoint, and then set CALLERID(name) to John Doe and CLAARID(num) to 123456789 2018-04-27 12:00 GMT+02:00 Olivier : > Hello, > > I'm setting an Asterisk 13.14.1 box (Debian Stretch with packaged > Asterisk) to implement SIP trunking services ie to both trunk with carrier > trunks and IPBX trunks from various brands. > > For various reasons, I was inclined to implement this services with > pjsip_wizard.conf and I'm realizing I still have some remaining questions. > > For the moment, letting registration questions aside, which of the > following sentences is correct for Asterisk's PJSIP stack: > > 1. it would identify an incoming call only looking at From header ignoring > IP settings (both IP address and port), > 2. it would identify an incoming call only looking both at From header and > IP settings (both IP address and port), > 3. it would identify an incoming call only looking both at IP settings, > ignoring From header for identification but using it for other things > (setting CallerID, ...). > > Best regards > > > > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Explain PJSIP user matching within inbound SIP trunks
Hello, I'm setting an Asterisk 13.14.1 box (Debian Stretch with packaged Asterisk) to implement SIP trunking services ie to both trunk with carrier trunks and IPBX trunks from various brands. For various reasons, I was inclined to implement this services with pjsip_wizard.conf and I'm realizing I still have some remaining questions. For the moment, letting registration questions aside, which of the following sentences is correct for Asterisk's PJSIP stack: 1. it would identify an incoming call only looking at From header ignoring IP settings (both IP address and port), 2. it would identify an incoming call only looking both at From header and IP settings (both IP address and port), 3. it would identify an incoming call only looking both at IP settings, ignoring From header for identification but using it for other things (setting CallerID, ...). Best regards -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users