Re: [asterisk-users] Is 100 trying mandatory? Can asterisk answer with 180 without prior 100 trying?
On Mon, Mar 19, 2018, at 12:53 PM, Benoit Panizzon wrote: > Hey List > > I sometimes use our asterisk server to do some debugging or other PBX > and SBC. > > Now we have a case where a PBX is replying an incomming invite with 180 > ringing immediately. It looks like the SBC does not accept this. > > According to my understanding of the RFC 3261 any provisional (aka > 1XX) reply should be good enough to make the sender stop re-sending > invites and accept this as a reply from the destination. > > So 100 trying would be option and a reply could also be directly 180 > ringing. Indeed. In practice though you want to stop the retransmission immediately and you usually don't know of the appropriate response yet so 100 is sent. > > So maybe some RFC specialist could tell me how this is exactly supposed > to work of if I maybe missed some other RFC more clear about that topic. > > To try to reproduce the problem with our SBC, is there a way to tell > the asterisk, preferably PJSIP, to directly answer with 180 ringing > without prior 100 trying? The PJSIP channel driver has no option or ability to do this. I do not recall if chan_sip does. -- 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] Is 100 trying mandatory? Can asterisk answer with 180 without prior 100 trying?
Hey List I sometimes use our asterisk server to do some debugging or other PBX and SBC. Now we have a case where a PBX is replying an incomming invite with 180 ringing immediately. It looks like the SBC does not accept this. According to my understanding of the RFC 3261 any provisional (aka 1XX) reply should be good enough to make the sender stop re-sending invites and accept this as a reply from the destination. So 100 trying would be option and a reply could also be directly 180 ringing. So maybe some RFC specialist could tell me how this is exactly supposed to work of if I maybe missed some other RFC more clear about that topic. To try to reproduce the problem with our SBC, is there a way to tell the asterisk, preferably PJSIP, to directly answer with 180 ringing without prior 100 trying? Mit freundlichen Grüssen -Benoît Panizzon- -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 PrattelnFax +41 61 826 93 01 Schweiz Web http://www.imp.ch __ -- _ -- 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] Bank holidays read from file?
Hi, To my understanding, you are using ical export with caldav, it won't work: 1. Replace type=caldav by type=ical 2. remove user and secret line. 3. Reload calendar module or restart asterisk to be sure. Have a nice week. -- Ludovic Gasc (GMLudo) 2018-03-19 9:31 GMT+01:00 Atux Atux: > Hi all, > > > i have configured my calendar.conf accordingly to the Asterisk-the > definitive guide 4th edition and even though i can see the calendar, it > always shows me as free. > as you can see in the attached printscreen from my calendar, it has 3 > bookings today, but the asterisk calendar shows me as free. Here is what's > going on > > PBX*CLI> calendar show calendar myGoogleCal > Name : myGoogleCal > Notify channel: SIP/601 > Notify context: calendar > Notify extension : > Notify applicatio : > Notify appdata: > Refresh time : 15 > Timeframe : 180 > Autoreminder : 10 > Events > -- > PBX*CLI> calendar show calendars > Calendar Type Status > -- > myGoogleCal caldav free > PBX*CLI> > > > - > *calendar.conf* > [myGoogleCal] > type=caldav > url=https://calendar.google.com/calendar/ical/atuxnull% > 40gmail.com/private-ad3e9197080e5ef00c6155f150fdf1aa/basic.ics > user=atuxn...@gmail.com > secret=superdoopersecrete > refresh=15 > timeframe=180 > autoreminder=10 > channel=SIP/601 > context=calendar > > > On Thu, Mar 15, 2018 at 5:41 PM, Ludovic Gasc wrote: > >> An example, you need to change the URL with Google ical URL. >> >> [tests.28] >> type = ical ; type of calendar--currently supported: ical, >> caldav, exchange, or ews >> url = http://127.0.0.1:7999/tests/cache/calendars/28.ics ; URL to >> shared calendar (Zimbra example) >> refresh = 1 ; refresh calendar every n minutes >> timeframe = 1 ; number of minutes of calendar data to pull for >> each refresh period >> >> >> >> -- >> Ludovic Gasc (GMLudo) >> >> 2018-03-15 15:40 GMT+01:00 Atux Atux : >> >>> Hi. thanks a lot for your reply. i will download the newer libical >>> software. Could you elaborate on icalendar with google calendar config and >>> calendar.conf, please? >>> >>> >>> On Thu, Mar 15, 2018 at 3:00 PM, Ludovic Gasc wrote: >>> I never use caldav mode, always icalendar with Google Calendar. BTW, you use old versions of libical, Asterisk and Debian, I recommend you to upgrade or install a new server with Debian Stretch: You will have Asterisk 13, libical2 and security upgrades. Asterisk 11 doesn't have security fixes anymore. Regards. -- Ludovic Gasc (GMLudo) 2018-03-15 11:28 GMT+01:00 Atux Atux : > Hi. Thanks for the idea for calendar, it sounds better. i did not > manage to make it work though. i am running debian 8 32 bit with asterisk > 11.25.3. I have installed the packages libneon27-dev & libical-dev then in > /etc/asterisk the file calendar.conf has the following entries: > [Gcalendar] > > type=caldav > url=https://www.google.com/calendar/dav/atuxn...@gmail.com/events/ > user=atuxn...@gmail.com > secret=MySuperDooperPasswd > refresh=15 > > > > then a reload to the system and try to see: > PBX> calendar show calendars > Calendar Type Status > -- > > > > there is nothing shown over here. Off course i checked if my calendar > is public but i have not an idea why it is not working. > > > > On Tue, Mar 13, 2018 at 10:23 PM, Ludovic Gasc > wrote: > >> Hi, >> >> I recommend you to use calendar module of Asterisk: >> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring >> >> We are using in production since two years with several hundred >> calendars, it works pretty well. >> However, I strongly recommend you to use the latest stable version of >> libical3, because they have fixed a lot of bugs, especially with >> recurring >> events. >> >> And to use Asterisk 15: We had time to time crashes with Asterisk 13 >> and calendars and now it's gone with Asterisk 15. >> Some bugfixes on recurring events are also included in Asterisk 15. >> >> Regards. >> >> -- >> Ludovic Gasc (GMLudo) >> >> 2018-03-13 20:16 GMT+01:00 Atux Atux : >> >>> Hi. in my home office i operate my asterisk and have an IVR that has >>> the business hours 9-5 and everytime i edit it to load the bank holidays >>> (New Years eve, christmas, easter, whatever else). I would like to be >>> able >>> to load in the Asterisk's DB or in a file for all the year or years the >>> planned holidays. Then it will be read from that file to operate
Re: [asterisk-users] Bank holidays read from file?
Hi all, i have configured my calendar.conf accordingly to the Asterisk-the definitive guide 4th edition and even though i can see the calendar, it always shows me as free. as you can see in the attached printscreen from my calendar, it has 3 bookings today, but the asterisk calendar shows me as free. Here is what's going on PBX*CLI> calendar show calendar myGoogleCal Name : myGoogleCal Notify channel: SIP/601 Notify context: calendar Notify extension : Notify applicatio : Notify appdata: Refresh time : 15 Timeframe : 180 Autoreminder : 10 Events -- PBX*CLI> calendar show calendars Calendar Type Status -- myGoogleCal caldav free PBX*CLI> - *calendar.conf* [myGoogleCal] type=caldav url= https://calendar.google.com/calendar/ical/atuxnull%40gmail.com/private-ad3e9197080e5ef00c6155f150fdf1aa/basic.ics user=atuxn...@gmail.com secret=superdoopersecrete refresh=15 timeframe=180 autoreminder=10 channel=SIP/601 context=calendar On Thu, Mar 15, 2018 at 5:41 PM, Ludovic Gascwrote: > An example, you need to change the URL with Google ical URL. > > [tests.28] > type = ical ; type of calendar--currently supported: ical, > caldav, exchange, or ews > url = http://127.0.0.1:7999/tests/cache/calendars/28.ics ; URL to > shared calendar (Zimbra example) > refresh = 1 ; refresh calendar every n minutes > timeframe = 1 ; number of minutes of calendar data to pull for > each refresh period > > > > -- > Ludovic Gasc (GMLudo) > > 2018-03-15 15:40 GMT+01:00 Atux Atux : > >> Hi. thanks a lot for your reply. i will download the newer libical >> software. Could you elaborate on icalendar with google calendar config and >> calendar.conf, please? >> >> >> On Thu, Mar 15, 2018 at 3:00 PM, Ludovic Gasc wrote: >> >>> I never use caldav mode, always icalendar with Google Calendar. >>> >>> BTW, you use old versions of libical, Asterisk and Debian, I recommend >>> you to upgrade or install a new server with Debian Stretch: You will have >>> Asterisk 13, libical2 and security upgrades. >>> Asterisk 11 doesn't have security fixes anymore. >>> >>> Regards. >>> >>> -- >>> Ludovic Gasc (GMLudo) >>> >>> 2018-03-15 11:28 GMT+01:00 Atux Atux : >>> Hi. Thanks for the idea for calendar, it sounds better. i did not manage to make it work though. i am running debian 8 32 bit with asterisk 11.25.3. I have installed the packages libneon27-dev & libical-dev then in /etc/asterisk the file calendar.conf has the following entries: [Gcalendar] type=caldav url=https://www.google.com/calendar/dav/atuxn...@gmail.com/events/ user=atuxn...@gmail.com secret=MySuperDooperPasswd refresh=15 then a reload to the system and try to see: PBX> calendar show calendars Calendar Type Status -- there is nothing shown over here. Off course i checked if my calendar is public but i have not an idea why it is not working. On Tue, Mar 13, 2018 at 10:23 PM, Ludovic Gasc wrote: > Hi, > > I recommend you to use calendar module of Asterisk: > https://wiki.asterisk.org/wiki/display/AST/Asterisk+Calendaring > > We are using in production since two years with several hundred > calendars, it works pretty well. > However, I strongly recommend you to use the latest stable version of > libical3, because they have fixed a lot of bugs, especially with recurring > events. > > And to use Asterisk 15: We had time to time crashes with Asterisk 13 > and calendars and now it's gone with Asterisk 15. > Some bugfixes on recurring events are also included in Asterisk 15. > > Regards. > > -- > Ludovic Gasc (GMLudo) > > 2018-03-13 20:16 GMT+01:00 Atux Atux : > >> Hi. in my home office i operate my asterisk and have an IVR that has >> the business hours 9-5 and everytime i edit it to load the bank holidays >> (New Years eve, christmas, easter, whatever else). I would like to be >> able >> to load in the Asterisk's DB or in a file for all the year or years the >> planned holidays. Then it will be read from that file to operate >> accordingly. >> Is there a hint on how to run something like that? >> I am running asterisk 11. >> >> >> -- >> _ >> -- 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