Re: [asterisk-users] Asterisk 1.6
that is definitely another options, thanks for the range of options provided, Thanks On Sat, Apr 5, 2014 at 4:51 PM, Duncan Turnbull dun...@e-simple.co.nzwrote: Another option we like, but i depends on your preferences is to run them over openvpn. Works for Mac, Linux and Windows clients. Since all out clients are under our control we use openvpn a lot and yealink and other phones have it built in so they can connect directly once initially setup Cheers Duncan On 5/04/2014, at 4:36 am, motty cruz motty.c...@gmail.com wrote: that sounds feasible, Thanks Michelle, On Fri, Apr 4, 2014 at 8:25 AM, Michelle Dupuis mdup...@ocg.ca wrote: If you know your users are all from with your country, or state, or even city, you could restrict geographic access in your secast.conf file like this: ruledefault=deny ruleexceptions=NA:CA:Ontario:|NA:US:Michigan:Detroit|::Ohio:|NA The above would: - By default deny all source IP's anywhere in the world - Let in only source IP's from: 1. North America (continent), Canada (country), Ontario (region) 2. North America (continent), USA (country), Michigan (region), Detroit (city) 3. Any region called 'Ohio' anywhere in the world (not sure why you would do that but fun example) 4. Anywhere in North America So you can open up your system based solely on where you know your real users are located. -=Michelle=- -- *From:* asterisk-users-boun...@lists.digium.com asterisk-users-boun...@lists.digium.com on behalf of motty cruz motty.c...@gmail.com *Sent:* Friday, April 4, 2014 11:15 AM *To:* Asterisk Users List *Subject:* Re: [asterisk-users] Asterisk 1.6 Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. Thanks for your support. On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik i...@pack-net.co.uk wrote: On 4 April 2014 15:22, motty cruz motty.c...@gmail.com wrote: thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration. Another option would be to change which port you're running SIP on. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- 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 -- _ -- 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 -- _ -- 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 -- _ -- 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 -- _ -- 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] Asterisk 1.6
Another option we like, but i depends on your preferences is to run them over openvpn. Works for Mac, Linux and Windows clients. Since all out clients are under our control we use openvpn a lot and yealink and other phones have it built in so they can connect directly once initially setup Cheers Duncan On 5/04/2014, at 4:36 am, motty cruz motty.c...@gmail.com wrote: that sounds feasible, Thanks Michelle, On Fri, Apr 4, 2014 at 8:25 AM, Michelle Dupuis mdup...@ocg.ca wrote: If you know your users are all from with your country, or state, or even city, you could restrict geographic access in your secast.conf file like this: ruledefault=deny ruleexceptions=NA:CA:Ontario:|NA:US:Michigan:Detroit|::Ohio:|NA The above would: - By default deny all source IP's anywhere in the world - Let in only source IP's from: 1. North America (continent), Canada (country), Ontario (region) 2. North America (continent), USA (country), Michigan (region), Detroit (city) 3. Any region called 'Ohio' anywhere in the world (not sure why you would do that but fun example) 4. Anywhere in North America So you can open up your system based solely on where you know your real users are located. -=Michelle=- From: asterisk-users-boun...@lists.digium.com asterisk-users-boun...@lists.digium.com on behalf of motty cruz motty.c...@gmail.com Sent: Friday, April 4, 2014 11:15 AM To: Asterisk Users List Subject: Re: [asterisk-users] Asterisk 1.6 Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. Thanks for your support. On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik i...@pack-net.co.uk wrote: On 4 April 2014 15:22, motty cruz motty.c...@gmail.com wrote: thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration. Another option would be to change which port you're running SIP on. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- 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 -- _ -- 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 -- _ -- 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 -- _ -- 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] Asterisk 1.6
I don't know what platform you are on, but if you are on Linux (and possibly BSD) you could use fail2ban to block them at the network interface. On 04/04/2014 09:00 AM, motty cruz wrote: Hello All, my asterisk server is constantly under attack [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password is there a way to reject their registration after a three consecutive tries? Thanks, Call Send SMS Add to Skype You'll need Skype CreditFree via Skype -- Daniel Taylor VP OperationsVocal Laboratories, Inc. dtay...@vocalabs.com http://www.vocalabs.com/(612)235-5711 -- _ -- 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] Asterisk 1.6
On 4 April 2014 15:00, motty cruz motty.c...@gmail.com wrote: Hello All, my asterisk server is constantly under attack Unfortunately you are not alone. [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132 194.100.46.132:56714' - Wrong password sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password is there a way to reject their registration after a three consecutive tries? Check out fail2ban. Works well. Hope this helps. -Barry Flanagan Thanks, Call Send SMS Add to Skype You'll need Skype CreditFree via Skype -- _ -- 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 -- _ -- 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] Asterisk 1.6
On Fri, Apr 4, 2014 at 10:05 AM, Daniel Taylor dtay...@vocalabs.com wrote: I don't know what platform you are on, but if you are on Linux (and possibly BSD) you could use fail2ban to block them at the network interface. I second fail2ban. If you need some ideas to configure it, you can steal them from the freepbx setup. How many sip phones do you have outside your network? If few and in well-known IPs, consider limiting access to only those (and the sip provider you are using). On 04/04/2014 09:00 AM, motty cruz wrote: Hello All, my asterisk server is constantly under attack [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132 194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132 194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132 194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132 194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132 194.100.46.132:56714' - Wrong password is there a way to reject their registration after a three consecutive tries? Thanks, Call Send SMS Add to Skype You'll need Skype CreditFree via Skype -- Daniel Taylor VP OperationsVocal Laboratories, inc.dtay...@vocalabs.com http://www.vocalabs.com/(612)235-5711 -- _ -- 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 -- _ -- 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] Asterisk 1.6
thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. On Fri, Apr 4, 2014 at 7:09 AM, Mauricio Tavares raubvo...@gmail.comwrote: On Fri, Apr 4, 2014 at 10:05 AM, Daniel Taylor dtay...@vocalabs.comwrote: I don't know what platform you are on, but if you are on Linux (and possibly BSD) you could use fail2ban to block them at the network interface. I second fail2ban. If you need some ideas to configure it, you can steal them from the freepbx setup. How many sip phones do you have outside your network? If few and in well-known IPs, consider limiting access to only those (and the sip provider you are using). On 04/04/2014 09:00 AM, motty cruz wrote: Hello All, my asterisk server is constantly under attack [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132194.100.46.132:56714' - Wrong password is there a way to reject their registration after a three consecutive tries? Thanks, Call Send SMS Add to Skype You'll need Skype CreditFree via Skype -- Daniel Taylor VP OperationsVocal Laboratories, inc.dtay...@vocalabs.com http://www.vocalabs.com/(612)235-5711 -- _ -- 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 -- _ -- 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 -- _ -- 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] Asterisk 1.6
Take a look a SecAst from www.generationd.comhttp://www.generationd.com/ It does everything fail2ban does and more, including blocking users by geography (we exclude all of Asia and Africa), detection of break-in patterns (even if someone guessed your un/pw), detect changes in dial rates, etc. Grab the free version - its a BIG step up from fail2ban. -=Michelle=-? All opions posted are my person ones. And personnally I like generationd products because I work for them :) From: asterisk-users-boun...@lists.digium.com asterisk-users-boun...@lists.digium.com on behalf of motty cruz motty.c...@gmail.com Sent: Friday, April 4, 2014 10:00 AM To: Asterisk Users List Subject: [asterisk-users] Asterisk 1.6 Hello All, my asterisk server is constantly under attack [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132[X]194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132[X]194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132[X]194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132[X]194.100.46.132:56714' - Wrong password [Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '4941 sip:4941@public_ip' failed for '194.100.46.132[X]194.100.46.132:56714' - Wrong password is there a way to reject their registration after a three consecutive tries? Thanks, Call Send SMS Add to Skype You'll need Skype CreditFree via Skype -- _ -- 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] Asterisk 1.6
On Friday 04 Apr 2014, Michelle Dupuis wrote: Take a look a SecAst from www.generationd.comhttp://www.generationd.com/ It does everything fail2ban does and more, including blocking users by geography (we exclude all of Asia and Africa), detection of break-in patterns (even if someone guessed your un/pw), detect changes in dial rates, etc. Grab the free version - its a BIG step up from fail2ban. That link points towards a precompiled binary, which could have literally *anything* lurking in it. I politely advise you to back away slowly, and break into a run when you think you are out of sight. Precompiled binaries without Source Code should be treated like a bottle of glowing green liquid labelled drink me, or an offer to come and look at some puppies. No reputable software supplier would object to showing you what is on the inside. -- 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
Re: [asterisk-users] Asterisk 1.6
What you are saying is only open source software is safe? You have just excluded most software in use in the business world. We have installed Norton antivirus on all of our workstation; I don't think Symantec will ever release the source code (since that would also show attackers how to get around it). Using the same logic releasing SecAst source would also seem foolish (and make it impossible for any commercial enterprise to sell software). I understand your point of view, and if your preference is to only use open source software that's great. However, that doesn't mean precompiled software is inherently dangerous or malevolent. -=Michelle=- From: asterisk-users-boun...@lists.digium.com asterisk-users-boun...@lists.digium.com on behalf of A J Stiles asterisk_l...@earthshod.co.uk Sent: Friday, April 4, 2014 10:38 AM To: Asterisk Users List Subject: Re: [asterisk-users] Asterisk 1.6 On Friday 04 Apr 2014, Michelle Dupuis wrote: Take a look a SecAst from www.generationd.comhttp://www.generationd.com/ It does everything fail2ban does and more, including blocking users by geography (we exclude all of Asia and Africa), detection of break-in patterns (even if someone guessed your un/pw), detect changes in dial rates, etc. Grab the free version - its a BIG step up from fail2ban. That link points towards a precompiled binary, which could have literally *anything* lurking in it. I politely advise you to back away slowly, and break into a run when you think you are out of sight. Precompiled binaries without Source Code should be treated like a bottle of glowing green liquid labelled drink me, or an offer to come and look at some puppies. No reputable software supplier would object to showing you what is on the inside. -- 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 -- _ -- 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] Asterisk 1.6
absolutely right A J, thanks for the heads up. I do not intent to implement that solution in production server, I hope to learn it first, build a test server and monitor for a few days or weeks. Thanks again, On Fri, Apr 4, 2014 at 7:38 AM, A J Stiles asterisk_l...@earthshod.co.ukwrote: On Friday 04 Apr 2014, Michelle Dupuis wrote: Take a look a SecAst from www.generationd.com http://www.generationd.com/ It does everything fail2ban does and more, including blocking users by geography (we exclude all of Asia and Africa), detection of break-in patterns (even if someone guessed your un/pw), detect changes in dial rates, etc. Grab the free version - its a BIG step up from fail2ban. That link points towards a precompiled binary, which could have literally *anything* lurking in it. I politely advise you to back away slowly, and break into a run when you think you are out of sight. Precompiled binaries without Source Code should be treated like a bottle of glowing green liquid labelled drink me, or an offer to come and look at some puppies. No reputable software supplier would object to showing you what is on the inside. -- 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 -- _ -- 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] Asterisk 1.6
On 4 April 2014 15:22, motty cruz motty.c...@gmail.com wrote: thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration. Another option would be to change which port you're running SIP on. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- 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] Asterisk 1.6
Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. Thanks for your support. On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik i...@pack-net.co.uk wrote: On 4 April 2014 15:22, motty cruz motty.c...@gmail.com wrote: thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration. Another option would be to change which port you're running SIP on. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- 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 -- _ -- 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] Asterisk 1.6
Well in that case fail2ban gets my vote. On 4 April 2014 16:15, motty cruz motty.c...@gmail.com wrote: Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. Thanks for your support. On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik i...@pack-net.co.uk wrote: On 4 April 2014 15:22, motty cruz motty.c...@gmail.com wrote: thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration. Another option would be to change which port you're running SIP on. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- 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 -- _ -- 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 -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- 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] Asterisk 1.6
If you know your users are all from with your country, or state, or even city, you could restrict geographic access in your secast.conf file like this: ruledefault=deny ruleexceptions=NA:CA:Ontario:|NA:US:Michigan:Detroit|::Ohio:|NA The above would: - By default deny all source IP's anywhere in the world - Let in only source IP's from: 1. North America (continent), Canada (country), Ontario (region) 2. North America (continent), USA (country), Michigan (region), Detroit (city) 3. Any region called 'Ohio' anywhere in the world (not sure why you would do that but fun example) 4. Anywhere in North America So you can open up your system based solely on where you know your real users are located. -=Michelle=- From: asterisk-users-boun...@lists.digium.com asterisk-users-boun...@lists.digium.com on behalf of motty cruz motty.c...@gmail.com Sent: Friday, April 4, 2014 11:15 AM To: Asterisk Users List Subject: Re: [asterisk-users] Asterisk 1.6 Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. Thanks for your support. On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik i...@pack-net.co.ukmailto:i...@pack-net.co.uk wrote: On 4 April 2014 15:22, motty cruz motty.c...@gmail.commailto:motty.c...@gmail.com wrote: thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration. Another option would be to change which port you're running SIP on. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994tel:%2B44%20%280%29845%20004%204994 f: +44 (0)161 660 9825tel:%2B44%20%280%29161%20660%209825 e: i...@pack-net.co.ukmailto:i...@pack-net.co.uk w: http://www.pack-net.co.ukhttp://www.pack-net.co.uk/ Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.comhttp://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 -- _ -- 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] Asterisk 1.6
Use allowguest=no And define ACLs for every SIP account. And obviously, fail2ban for blocking suspicious IPs. -- _ -- 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] Asterisk 1.6
that sounds feasible, Thanks Michelle, On Fri, Apr 4, 2014 at 8:25 AM, Michelle Dupuis mdup...@ocg.ca wrote: If you know your users are all from with your country, or state, or even city, you could restrict geographic access in your secast.conf file like this: ruledefault=deny ruleexceptions=NA:CA:Ontario:|NA:US:Michigan:Detroit|::Ohio:|NA The above would: - By default deny all source IP's anywhere in the world - Let in only source IP's from: 1. North America (continent), Canada (country), Ontario (region) 2. North America (continent), USA (country), Michigan (region), Detroit (city) 3. Any region called 'Ohio' anywhere in the world (not sure why you would do that but fun example) 4. Anywhere in North America So you can open up your system based solely on where you know your real users are located. -=Michelle=- -- *From:* asterisk-users-boun...@lists.digium.com asterisk-users-boun...@lists.digium.com on behalf of motty cruz motty.c...@gmail.com *Sent:* Friday, April 4, 2014 11:15 AM *To:* Asterisk Users List *Subject:* Re: [asterisk-users] Asterisk 1.6 Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. Thanks for your support. On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik i...@pack-net.co.uk wrote: On 4 April 2014 15:22, motty cruz motty.c...@gmail.com wrote: thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration. Another option would be to change which port you're running SIP on. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- 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 -- _ -- 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 -- _ -- 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] Asterisk 1.6
Shouldn't the secast discussion be on the commercial list? Note that their free version works for five simultaneous calls-then the price goes 'way up. --Don (Top posting 'cause that's what's already being done.) From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of motty cruz Sent: Friday, April 04, 2014 10:37 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 that sounds feasible, Thanks Michelle, On Fri, Apr 4, 2014 at 8:25 AM, Michelle Dupuis mdup...@ocg.ca wrote: If you know your users are all from with your country, or state, or even city, you could restrict geographic access in your secast.conf file like this: ruledefault=deny ruleexceptions=NA:CA:Ontario:|NA:US:Michigan:Detroit|::Ohio:|NA The above would: - By default deny all source IP's anywhere in the world - Let in only source IP's from: 1. North America (continent), Canada (country), Ontario (region) 2. North America (continent), USA (country), Michigan (region), Detroit (city) 3. Any region called 'Ohio' anywhere in the world (not sure why you would do that but fun example) 4. Anywhere in North America So you can open up your system based solely on where you know your real users are located. -=Michelle=- _ From: asterisk-users-boun...@lists.digium.com asterisk-users-boun...@lists.digium.com on behalf of motty cruz motty.c...@gmail.com Sent: Friday, April 4, 2014 11:15 AM To: Asterisk Users List Subject: Re: [asterisk-users] Asterisk 1.6 Hello Ishfaq, outside users usually travel around the country and connect from different network, so it won't be possible to lock it down to specific IP. Thanks for your support. On Fri, Apr 4, 2014 at 8:03 AM, Ishfaq Malik i...@pack-net.co.uk wrote: On 4 April 2014 15:22, motty cruz motty.c...@gmail.com wrote: thank you all for your support. I am using Linux, I only have about 7 users outside our home network. I will learn fail2ban and will use it accordingly. again Thanks for your support. Do the 7 users outside of your home network always connect from the same IP addresses? If so, you can just lock down your SIP port to those 7 IPs explicitly in your IPTables configuration. Another option would be to change which port you're running SIP on. -- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 tel:%2B44%20%280%29845%20004%204994 f: +44 (0)161 660 9825 tel:%2B44%20%280%29161%20660%209825 e: i...@pack-net.co.uk w: http://www.pack-net.co.uk http://www.pack-net.co.uk/ Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com 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 -- _ -- 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 -- _ -- 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] Asterisk 1.6 + Cisco AS5300
On 7 Mar 2013, at 10:12, Mickael Monsieur wrote: Do you have an explanation? Put a SIP debug on and we may be able to find one.. Steve -- _ -- 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] Asterisk 1.6 + Cisco AS5300
Le 7/03/13 11:21, Steven Howes a écrit : On 7 Mar 2013, at 10:12, Mickael Monsieur wrote: Do you have an explanation? Put a SIP debug on and we may be able to find one.. Steve Hello Steve, After checking, I confirm that the call is cut precisely to 900 seconds (15 min). 10.4.0.1 = Asterisk 10.4.0.10 = Cisco AS 5300 Info : debug start at 14min30sec set_destination: Parsing sip:0032487997160@10.4.0.10:5060 for address/port to send to set_destination: set destination to 10.4.0.10, port 5060 Audio is at 10.4.0.1 port 11842 Adding codec 0x8 (alaw) to SDP Adding codec 0x4 (ulaw) to SDP Reliably Transmitting (NAT) to 10.4.0.10:54789: INVITE sip:0032487997160@10.4.0.10:5060 SIP/2.0 Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK41af21b3;rport Max-Forwards: 70 From: sip:65939191@10.4.0.1;tag=as12acaefb To: sip:0032487997160@10.4.0.10;tag=36CA05C-167B Contact: sip:65939191@10.4.0.1 Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 CSeq: 102 INVITE User-Agent: isdnbox1.1 Require: timer Session-Expires: 1800;refresher=uas Min-SE: 90 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer X-asterisk-Info: SIP re-invite (Session-Timers) Content-Type: application/sdp Content-Length: 207 v=0 o=root 1538728127 1538728127 IN IP4 10.4.0.1 s=Asterisk PBX 1.6.2.9-2+squeeze8 c=IN IP4 10.4.0.1 t=0 0 m=audio 11842 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=ptime:20 a=sendrecv --- --- SIP read from UDP:10.4.0.10:5060 --- SIP/2.0 420 Bad Extension Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK41af21b3;rport From: sip:65939191@10.4.0.1;tag=as12acaefb To: sip:0032487997160@10.4.0.10;tag=36CA05C-167B Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 CSeq: 102 INVITE Unsupported: timer Content-Length: 0 - --- (8 headers 0 lines) --- -- Got SIP response 420 Bad Extension back from 10.4.0.10 set_destination: Parsing sip:0032487997160@10.4.0.10:5060 for address/port to send to set_destination: set destination to 10.4.0.10, port 5060 Transmitting (NAT) to 10.4.0.10:5060: ACK sip:0032487997160@10.4.0.10:5060 SIP/2.0 Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK41af21b3;rport Max-Forwards: 70 From: sip:65939191@10.4.0.1;tag=as12acaefb To: sip:0032487997160@10.4.0.10;tag=36CA05C-167B Contact: sip:65939191@10.4.0.1 Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 CSeq: 102 ACK User-Agent: isdnbox1.1 Content-Length: 0 --- -- Stopped music on hold on SIP/as5300-1-0050 == Spawn extension (dialin, 065939191, 2) exited non-zero on 'SIP/as5300-1-0050' Reliably Transmitting (NAT) to 10.4.0.10:5060: OPTIONS sip:10.4.0.10 SIP/2.0 Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK4d8b5654;rport Max-Forwards: 70 From: asterisk sip:asterisk@10.4.0.1;tag=as4eb3efa7 To: sip:10.4.0.10 Contact: sip:asterisk@10.4.0.1 Call-ID: 6a43ad4b27d870d048e8425077bcc075@10.4.0.1 CSeq: 102 OPTIONS User-Agent: isdnbox1.1 Date: Thu, 07 Mar 2013 11:17:44 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 --- --- SIP read from UDP:10.4.0.10:5060 --- SIP/2.0 200 OK Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK4d8b5654;rport From: asterisk sip:asterisk@10.4.0.1;tag=as4eb3efa7 To: sip:10.4.0.10;tag=37A724C-211C Date: Sat, 01 Jan 2000 16:12:32 GMT Call-ID: 6a43ad4b27d870d048e8425077bcc075@10.4.0.1 Server: Cisco-SIPGateway/IOS-12.x Content-Type: application/sdp CSeq: 102 OPTIONS Supported: 100rel Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO Accept: application/sdp Allow-Events: telephone-event Content-Length: 154 v=0 o=CiscoSystemsSIP-GW-UserAgent 793 5073 IN IP4 10.4.0.10 s=SIP Call c=IN IP4 10.4.0.10 t=0 0 m=audio 0 RTP/AVP 18 0 8 4 2 15 3 c=IN IP4 10.4.0.10 - --- (14 headers 7 lines) --- Really destroying SIP dialog '6a43ad4b27d870d048e8425077bcc075@10.4.0.1' Method: OPTIONS --- SIP read from UDP:10.4.0.10:54336 --- BYE sip:65939191@10.4.0.1:5060 SIP/2.0 Via: SIP/2.0/UDP 10.4.0.10:5060 From: sip:0032487997160@10.4.0.10;tag=36CA05C-167B To: sip:65939191@10.4.0.1;tag=as12acaefb Date: Sat, 01 Jan 2000 16:12:26 GMT Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 User-Agent: Cisco-SIPGateway/IOS-12.x Max-Forwards: 6 Timestamp: 946743153 CSeq: 102 BYE Content-Length: 0 - --- (11 headers 0 lines) --- --- Transmitting (NAT) to 10.4.0.10:54336 --- SIP/2.0 481 Call leg/transaction does not exist Via: SIP/2.0/UDP 10.4.0.10:5060;received=10.4.0.10 From: sip:0032487997160@10.4.0.10;tag=36CA05C-167B To: sip:65939191@10.4.0.1;tag=as12acaefb Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 CSeq: 102 BYE Server: isdnbox1.1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 15 min (call ended) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com
Re: [asterisk-users] Asterisk 1.6 + Cisco AS5300
Can u debug on AS ? On Thu, Mar 7, 2013 at 9:20 AM, Mickael Monsieur mickael.monsi...@gmail.com wrote: Le 7/03/13 11:21, Steven Howes a écrit : On 7 Mar 2013, at 10:12, Mickael Monsieur wrote: Do you have an explanation? Put a SIP debug on and we may be able to find one.. Steve Hello Steve, After checking, I confirm that the call is cut precisely to 900 seconds (15 min). 10.4.0.1 = Asterisk 10.4.0.10 = Cisco AS 5300 Info : debug start at 14min30sec set_destination: Parsing sip:0032487997160@10.4.0.10:5060 for address/port to send to set_destination: set destination to 10.4.0.10, port 5060 Audio is at 10.4.0.1 port 11842 Adding codec 0x8 (alaw) to SDP Adding codec 0x4 (ulaw) to SDP Reliably Transmitting (NAT) to 10.4.0.10:54789: INVITE sip:0032487997160@10.4.0.10:5060 SIP/2.0 Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK41af21b3;rport Max-Forwards: 70 From: sip:65939191@10.4.0.1;tag=as12acaefb To: sip:0032487997160@10.4.0.10;tag=36CA05C-167B Contact: sip:65939191@10.4.0.1 Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 CSeq: 102 INVITE User-Agent: isdnbox1.1 Require: timer Session-Expires: 1800;refresher=uas Min-SE: 90 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer X-asterisk-Info: SIP re-invite (Session-Timers) Content-Type: application/sdp Content-Length: 207 v=0 o=root 1538728127 1538728127 IN IP4 10.4.0.1 s=Asterisk PBX 1.6.2.9-2+squeeze8 c=IN IP4 10.4.0.1 t=0 0 m=audio 11842 RTP/AVP 8 0 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=ptime:20 a=sendrecv --- --- SIP read from UDP:10.4.0.10:5060 --- SIP/2.0 420 Bad Extension Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK41af21b3;rport From: sip:65939191@10.4.0.1;tag=as12acaefb To: sip:0032487997160@10.4.0.10;tag=36CA05C-167B Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 CSeq: 102 INVITE Unsupported: timer Content-Length: 0 - --- (8 headers 0 lines) --- -- Got SIP response 420 Bad Extension back from 10.4.0.10 set_destination: Parsing sip:0032487997160@10.4.0.10:5060 for address/port to send to set_destination: set destination to 10.4.0.10, port 5060 Transmitting (NAT) to 10.4.0.10:5060: ACK sip:0032487997160@10.4.0.10:5060 SIP/2.0 Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK41af21b3;rport Max-Forwards: 70 From: sip:65939191@10.4.0.1;tag=as12acaefb To: sip:0032487997160@10.4.0.10;tag=36CA05C-167B Contact: sip:65939191@10.4.0.1 Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 CSeq: 102 ACK User-Agent: isdnbox1.1 Content-Length: 0 --- -- Stopped music on hold on SIP/as5300-1-0050 == Spawn extension (dialin, 065939191, 2) exited non-zero on 'SIP/as5300-1-0050' Reliably Transmitting (NAT) to 10.4.0.10:5060: OPTIONS sip:10.4.0.10 SIP/2.0 Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK4d8b5654;rport Max-Forwards: 70 From: asterisk sip:asterisk@10.4.0.1;tag=as4eb3efa7 To: sip:10.4.0.10 Contact: sip:asterisk@10.4.0.1 Call-ID: 6a43ad4b27d870d048e8425077bcc075@10.4.0.1 CSeq: 102 OPTIONS User-Agent: isdnbox1.1 Date: Thu, 07 Mar 2013 11:17:44 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 --- --- SIP read from UDP:10.4.0.10:5060 --- SIP/2.0 200 OK Via: SIP/2.0/UDP 10.4.0.1:5060;branch=z9hG4bK4d8b5654;rport From: asterisk sip:asterisk@10.4.0.1;tag=as4eb3efa7 To: sip:10.4.0.10;tag=37A724C-211C Date: Sat, 01 Jan 2000 16:12:32 GMT Call-ID: 6a43ad4b27d870d048e8425077bcc075@10.4.0.1 Server: Cisco-SIPGateway/IOS-12.x Content-Type: application/sdp CSeq: 102 OPTIONS Supported: 100rel Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO Accept: application/sdp Allow-Events: telephone-event Content-Length: 154 v=0 o=CiscoSystemsSIP-GW-UserAgent 793 5073 IN IP4 10.4.0.10 s=SIP Call c=IN IP4 10.4.0.10 t=0 0 m=audio 0 RTP/AVP 18 0 8 4 2 15 3 c=IN IP4 10.4.0.10 - --- (14 headers 7 lines) --- Really destroying SIP dialog '6a43ad4b27d870d048e8425077bcc075@10.4.0.1' Method: OPTIONS --- SIP read from UDP:10.4.0.10:54336 --- BYE sip:65939191@10.4.0.1:5060 SIP/2.0 Via: SIP/2.0/UDP 10.4.0.10:5060 From: sip:0032487997160@10.4.0.10;tag=36CA05C-167B To: sip:65939191@10.4.0.1;tag=as12acaefb Date: Sat, 01 Jan 2000 16:12:26 GMT Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 User-Agent: Cisco-SIPGateway/IOS-12.x Max-Forwards: 6 Timestamp: 946743153 CSeq: 102 BYE Content-Length: 0 - --- (11 headers 0 lines) --- --- Transmitting (NAT) to 10.4.0.10:54336 --- SIP/2.0 481 Call leg/transaction does not exist Via: SIP/2.0/UDP 10.4.0.10:5060;received=10.4.0.10 From: sip:0032487997160@10.4.0.10;tag=36CA05C-167B To: sip:65939191@10.4.0.1;tag=as12acaefb Call-ID: FA122D28-BF9A11D3-83D393BC-25F3EF03@10.4.0.10 CSeq: 102 BYE Server: isdnbox1.1 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
Re: [asterisk-users] Asterisk 1.6 + Cisco AS5300
Le 7/03/13 11:12, Mickael Monsieur a écrit : Hello, I have a Cisco AS5300 connected to Asterisk (1.6.2.9) Between 15-16 minutes, the call is disconnected without reason. Here is what is displayed in the debug: Received an SDES from 10.4.0.10:17399 -- Got SIP response 420 Bad Extension back from 10.4.0.10 -- Stopped music on hold on SIP/as5300-1-004d == Spawn extension (dialin, 065939191, 2) exited non-zero on 'SIP/as5300-1-004d' Do you have an explanation? Best regards, Mickael Ok i solved : https://issues.asterisk.org/jira/browse/ASTERISK-15787 -- _ -- 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] Asterisk 1.6 and Outbound SIP Proxy configuration
Update: No luck with versions 1.6 and 1.8.7 I had to revert back to 1.4 which worked with no problem. Probably if I have some time, I will do more testing with version 1.8.7 to see what the difference is and what changes need to be made for this kind of setup to work in 1.8.7 Joseph On Mon, Aug 6, 2012 at 10:59 AM, Joseph Begumisa j.begum...@gmail.comwrote: Hello, Using asterisk 1.6 as sip client to register with sip provider and terminate calls through them. SIP Provider has provided sip proxy and sip server details. The problem is that the sip server FQDN does not resolve on the internet. So I can only presume that the SIP proxy knows how to reach the sip server. Asterisk 1.6 seems to have a problem with this. This is my config below: -- [trunk1] defaultuser=x...@sip.provider.com fromuser= fromdomain=sip.provider.com type=peer secret=a outboundproxy=10.10.10.10 ;(replaced actual ip) nat=no host=sip.provider.com dtmfmode=auto disallow=all context=from-internal canreinvite=no allow=g729 trustrpid=yes sendrpid=yes register = x...@sip.provider.com:a@10.10.10.10:5060 -- With the above config, I can register with the providers sip proxy, however, the error below is observed in the logs concerning the host when I try to make a call: -- [2012-08-02 23:37:31] WARNING[26155] acl.c: Unable to lookup ' sip.provider.com' [2012-08-02 23:37:31] ERROR[26155] chan_sip.c: srvlookup failed for host: sip.provider.com, on peer trunk1, removing peer -- I have done some research on this issue but not been able to find anything conclusive on why this would happen. I tested the sip details provided with a different sip client (actually an IP phone) and was able to register and send / receive calls with no problem. The problem just seems to be somewhere in my asterisk client configuration or a known bug with the version of asterisk I am using for this. Any pointers? Thanks. Joseph -- _ -- 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] asterisk 1.6 agi problem with PHP
On Sat, 16 Jul 2011, Zarko Zivanovic wrote: I am sure that someone can help with this. We decided to do a fresh install of asterisk 1.6.2.19 And after we did that, the problem that we have is this – We cant run a single Php file! testera.agi: Failed to execute '/var/lib/asterisk/agi-bin/testera.agi': No such file or directory If you try to execute the script as the user running the Asterisk binary from the command line, what do you get? For example: sudo -s -u asterisk /var/lib/asterisk/agi-bin/testera.agi /dev/null If that executes, I'd take a peek at the environment variables of the Asterisk process to ensure /usr/bin/ is in the PATH. For example: sudo cat /proc/$(pidof asterisk)/environ\ | tr '\0' '\n'\ | grep PATH Keep in mind, an AGI interfaces with Asterisk via STDIN and STDOUT so you can test an AGI (within obvious limitations) completely outside of Asterisk by redirecting STDIN and STDOUT. For example, given a file testera.stdin containing: agi_request: testera.agi agi_channel: DAHDI/23-1 agi_language: en agi_type: DAHDI agi_uniqueid: 1310825293.10 agi_version: 1.6.2.19 agi_callerid: 112686649 agi_calleridname: unknown agi_callingpres: 3 agi_callingani2: 0 agi_callington: 33 agi_callingtns: 0 agi_dnid: 8212 agi_rdnis: unknown agi_context: from-pstn agi_extension: 8212 agi_priority: 2 agi_enhanced: 0.0 agi_accountcode: agi_threadid: -1223132272 200 result=0 200 result=0 200 result=0 You can execute the AGI like: /var/lib/asterisk/agi-bin/testera.agi testera.stdin and your script should display: STREAM FILE /var/lib/asterisk/sounds/en/tt-monkeys # which, obviously, will not succeed because your AGI is 'talking' to your shell, not Asterisk. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000-- _ -- 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] Asterisk 1.6 Dahdi on Centos 5.2
Hello, I have Asterisk 1.6 running on Centos, Also I have one analog telephone line coming on Wildcard TDM400P REV E/F Board 5 I can't get asterisk to dectect call coming from analog line. Here is my /etc/dahdi/system.conf fxsks=1 # global data loadzone = us defaultzone = us /etc/asterisk/chan_dahdi.conf [channels] language=en context=my-phones switchtype=national signalling=fxs_ks channel = 1 /etc/asterisk/extensions.conf [globals] CONSOLE=DAHDI/1 TRUNK=DAHDI/4 TRUNKMSD=1 [my-phone] exten = 2000,1,Dial(DAHDI/1/116) exten = 2000,2,cONGESTION exten = 2001,1,Dial(DAHDI/1/7608514114) ; analog phoneline exten = 2001,2,HangUp() exten = 1001,1,Dial(DAHDI/1/7608514114) exten = 1001,2,HangUp() exten = ,1,Dial(DAHDI/1/7608514114) exten = l111,2,HangUp() The context in chan_dahdi.conf is my-phones which differs from the my-phone context in extensions.conf. Richard -- _ -- 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] Asterisk 1.6 Dahdi on Centos 5.2
A couple things - First, in extensions.con your context is [my-phone], but you're using my-phones in your dahdi and sip.conf files. Second, you need an 's' extension somewhere in your receiving context in order for asterisk to answer the incoming analog call. Third, I think you've got some issues with your Dial statements, but I'm on my phone right now and can't really diagnose them. I'll take a look later when I'm back at a desk, if no one else has commented by then. Thanks, --Warren Selby, dCAP On Jun 28, 2011, at 12:30 PM, motty.cruz motty.c...@gmail.com wrote: Hello, I have Asterisk 1.6 running on Centos, Also I have one analog telephone line coming on Wildcard TDM400P REV E/F Board 5 I can't get asterisk to dectect call coming from analog line. Here is my /etc/dahdi/system.conf fxsks=1 # global data loadzone = us defaultzone = us /etc/asterisk/chan_dahdi.conf [channels] language=en context=my-phones switchtype=national signalling=fxs_ks channel = 1 /etc/asterisk/extensions.conf [globals] CONSOLE=DAHDI/1 TRUNK=DAHDI/4 TRUNKMSD=1 [my-phone] exten = 2000,1,Dial(DAHDI/1/116) exten = 2000,2,cONGESTION exten = 2001,1,Dial(DAHDI/1/7608514114) ; analog phoneline exten = 2001,2,HangUp() exten = 1001,1,Dial(DAHDI/1/7608514114) exten = 1001,2,HangUp() exten = ,1,Dial(DAHDI/1/7608514114) exten = l111,2,HangUp() /etc/asterisk/sip.conf [general] port = 5060 context = others [2000] type=friend context=my-phones secret=1234 host=dynamic [2001] type=friend context=my-phones secret=1234 host=dynamic [1001] type=friend context=my-phones secret=1234 [] type=friend context=my-phones secret=1234 [phonesys] type=friend username=user1 secret=1234 host=dynamic context=my-phones Any suggestions are welcome. Thanks, motty -- _ -- 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 -- _ -- 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] Asterisk 1.6 Dahdi on Centos 5.2
My mistake I had fix that typo but no luck Thanks, motty -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Richard Mudgett Sent: Tuesday, June 28, 2011 10:37 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 Dahdi on Centos 5.2 Hello, I have Asterisk 1.6 running on Centos, Also I have one analog telephone line coming on Wildcard TDM400P REV E/F Board 5 I can't get asterisk to dectect call coming from analog line. Here is my /etc/dahdi/system.conf fxsks=1 # global data loadzone = us defaultzone = us /etc/asterisk/chan_dahdi.conf [channels] language=en context=my-phones switchtype=national signalling=fxs_ks channel = 1 /etc/asterisk/extensions.conf [globals] CONSOLE=DAHDI/1 TRUNK=DAHDI/4 TRUNKMSD=1 [my-phone] exten = 2000,1,Dial(DAHDI/1/116) exten = 2000,2,cONGESTION exten = 2001,1,Dial(DAHDI/1/7608514114) ; analog phoneline exten = 2001,2,HangUp() exten = 1001,1,Dial(DAHDI/1/7608514114) exten = 1001,2,HangUp() exten = ,1,Dial(DAHDI/1/7608514114) exten = l111,2,HangUp() The context in chan_dahdi.conf is my-phones which differs from the my-phone context in extensions.conf. Richard -- _ -- 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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1388 / Virus Database: 1516/3731 - Release Date: 06/28/11 -- _ -- 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] Asterisk 1.6 Dahdi on Centos 5.2
Thanks Warren, I have gone ahead and correct my typo. Also, I created 's' extension as you suggested. exten = s,1,Wait(1) exten = s,2,Answer() exten = s,3,NoOp(${CALLERID}) exten = s,n,NoOp(${CALLERIDNUM}) exten = s,n,NoOp(${CALLERIDNAME}) exten = s,n,Wait(4) exten = s,n,Playback(tt-easels) exten = s,n,Voicemail(@vm-test) exten = s,n,Wait(2) exten = s,n,Playback(vm-goodbye) exten = s,n,Wait(2) exten = s,n,HangUp() I actually followed this e.i http://www.asteriskguru.com/tutorials/wildcard_tdm400p.html because I have the same Digium card tdm4oop four modules although I'm only using one. Thanks, in advance. -motty -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Warren Selby Sent: Tuesday, June 28, 2011 10:42 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 Dahdi on Centos 5.2 A couple things - First, in extensions.con your context is [my-phone], but you're using my-phones in your dahdi and sip.conf files. Second, you need an 's' extension somewhere in your receiving context in order for asterisk to answer the incoming analog call. Third, I think you've got some issues with your Dial statements, but I'm on my phone right now and can't really diagnose them. I'll take a look later when I'm back at a desk, if no one else has commented by then. Thanks, --Warren Selby, dCAP On Jun 28, 2011, at 12:30 PM, motty.cruz motty.c...@gmail.com wrote: Hello, I have Asterisk 1.6 running on Centos, Also I have one analog telephone line coming on Wildcard TDM400P REV E/F Board 5 I can't get asterisk to dectect call coming from analog line. Here is my /etc/dahdi/system.conf fxsks=1 # global data loadzone = us defaultzone = us /etc/asterisk/chan_dahdi.conf [channels] language=en context=my-phones switchtype=national signalling=fxs_ks channel = 1 /etc/asterisk/extensions.conf [globals] CONSOLE=DAHDI/1 TRUNK=DAHDI/4 TRUNKMSD=1 [my-phone] exten = 2000,1,Dial(DAHDI/1/116) exten = 2000,2,cONGESTION exten = 2001,1,Dial(DAHDI/1/7608514114) ; analog phoneline exten = 2001,2,HangUp() exten = 1001,1,Dial(DAHDI/1/7608514114) exten = 1001,2,HangUp() exten = ,1,Dial(DAHDI/1/7608514114) exten = l111,2,HangUp() /etc/asterisk/sip.conf [general] port = 5060 context = others [2000] type=friend context=my-phones secret=1234 host=dynamic [2001] type=friend context=my-phones secret=1234 host=dynamic [1001] type=friend context=my-phones secret=1234 [] type=friend context=my-phones secret=1234 [phonesys] type=friend username=user1 secret=1234 host=dynamic context=my-phones Any suggestions are welcome. Thanks, motty -- _ -- 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 -- _ -- 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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1388 / Virus Database: 1516/3731 - Release Date: 06/28/11 -- _ -- 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] asterisk 1.6 - 511 Command not permitted causing high CPU usage
On Sun, 5 Jun 2011, vip killa wrote: http://pastebin.com/vxGM2n5j We are getting those errors 100x per second in console when AGI set debug is on Can someone advise how to fix this? Thank you. Don't request 'WAIT FOR DIGIT 1000' from a dead channel. Don't ignore the error from 'WAIT FOR DIGIT 1000' Don't loop on the error. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- 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] Asterisk 1.6: Custom Name for Recordings file
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of RSCL Mumbai Sent: Friday, May 13, 2011 1:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Asterisk 1.6: Custom Name for Recordings file Hi, I have latest Elastix 64 bit setup and running fine (Asterisk 1.6.2.13) I would like to customize the file name of call recordings: /var/spool/asterisk/monitor/20110511-110858-1305126538.912.wav I would like to include the extension number in the file name. Did a lot of googling but not much help. Pls advice. See the fname_base information below. pbx*CLI core show application monitor -= Info about application 'Monitor' =- [Synopsis] Monitor a channel. [Description] Used to start monitoring a channel. The channel's input and output voice packets are logged to files until the channel hangs up or monitoring is stopped by the StopMonitor application. By default, files are stored to /var/spool/asterisk/monitor/. Returns '-1' if monitor files can't be opened or if the channel is already monitored, otherwise '0'. [Syntax] Monitor([file_format[:urlbase]][,fname_base[,options]]) [Arguments] file_format optional, if not set, defaults to 'wav' fname_base if set, changes the filename used to the one specified. options m: when the recording ends mix the two leg files into one and delete the two leg files. If the variable ${MONITOR_EXEC} is set, the application referenced in it will be executed instead of soxmix/sox and the raw leg files will NOT be deleted automatically. soxmix/sox or ${MONITOR_EXEC} is handed 3 arguments, the two leg files and a target mixed file name which is the same as the leg file names only without the in/out designator. If ${MONITOR_EXEC_ARGS} is set, the contents will be passed on as additional arguments to ${MONITOR_EXEC}. Both ${MONITOR_EXEC} and the Mix flag can be set from the administrator interface. b: Don't begin recording unless a call is bridged to another channel. i: Skip recording of input stream (disables 'm' option). o: Skip recording of output stream (disables 'm' option). [See Also] StopMonitor() -- _ -- 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] Asterisk 1.6: Custom Name for Recordings file
On Fri, May 13, 2011 at 11:07 PM, Eric Wieling ewiel...@nyigc.com wrote: -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of RSCL Mumbai Sent: Friday, May 13, 2011 1:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Asterisk 1.6: Custom Name for Recordings file Hi, I have latest Elastix 64 bit setup and running fine (Asterisk 1.6.2.13) I would like to customize the file name of call recordings: /var/spool/asterisk/monitor/20110511-110858-1305126538.912.wav I would like to include the extension number in the file name. Did a lot of googling but not much help. Pls advice. See the fname_base information below. pbx*CLI core show application monitor -= Info about application 'Monitor' =- [Synopsis] Monitor a channel. [Description] Used to start monitoring a channel. The channel's input and output voice packets are logged to files until the channel hangs up or monitoring is stopped by the StopMonitor application. By default, files are stored to /var/spool/asterisk/monitor/. Returns '-1' if monitor files can't be opened or if the channel is already monitored, otherwise '0'. [Syntax] Monitor([file_format[:urlbase]][,fname_base[,options]]) [Arguments] file_format optional, if not set, defaults to 'wav' fname_base if set, changes the filename used to the one specified. options m: when the recording ends mix the two leg files into one and delete the two leg files. If the variable ${MONITOR_EXEC} is set, the application referenced in it will be executed instead of soxmix/sox and the raw leg files will NOT be deleted automatically. soxmix/sox or ${MONITOR_EXEC} is handed 3 arguments, the two leg files and a target mixed file name which is the same as the leg file names only without the in/out designator. If ${MONITOR_EXEC_ARGS} is set, the contents will be passed on as additional arguments to ${MONITOR_EXEC}. Both ${MONITOR_EXEC} and the Mix flag can be set from the administrator interface. b: Don't begin recording unless a call is bridged to another channel. i: Skip recording of input stream (disables 'm' option). o: Skip recording of output stream (disables 'm' option). [See Also] StopMonitor() Thx Eric. I read the link e1*CLI core show application monitor but I could not follow what I should do to customize the file name of the recording. I guess some changes to the dialplan is required ? Thx S -- _ -- 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] Asterisk 1.6: Custom Name for Recordings file
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of RSCL Mumbai Sent: Friday, May 13, 2011 1:58 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6: Custom Name for Recordings file On Fri, May 13, 2011 at 11:07 PM, Eric Wieling ewiel...@nyigc.com wrote: -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of RSCL Mumbai Sent: Friday, May 13, 2011 1:32 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Asterisk 1.6: Custom Name for Recordings file Hi, I have latest Elastix 64 bit setup and running fine (Asterisk 1.6.2.13) I would like to customize the file name of call recordings: /var/spool/asterisk/monitor/20110511-110858-1305126538.912.wav I would like to include the extension number in the file name. Did a lot of googling but not much help. Pls advice. See the fname_base information below. pbx*CLI core show application monitor -= Info about application 'Monitor' =- [Synopsis] Monitor a channel. [Description] Used to start monitoring a channel. The channel's input and output voice packets are logged to files until the channel hangs up or monitoring is stopped by the StopMonitor application. By default, files are stored to /var/spool/asterisk/monitor/. Returns '-1' if monitor files can't be opened or if the channel is already monitored, otherwise '0'. [Syntax] Monitor([file_format[:urlbase]][,fname_base[,options]]) [Arguments] file_format optional, if not set, defaults to 'wav' fname_base if set, changes the filename used to the one specified. options m: when the recording ends mix the two leg files into one and delete the two leg files. If the variable ${MONITOR_EXEC} is set, the application referenced in it will be executed instead of soxmix/sox and the raw leg files will NOT be deleted automatically. soxmix/sox or ${MONITOR_EXEC} is handed 3 arguments, the two leg files and a target mixed file name which is the same as the leg file names only without the in/out designator. If ${MONITOR_EXEC_ARGS} is set, the contents will be passed on as additional arguments to ${MONITOR_EXEC}. Both ${MONITOR_EXEC} and the Mix flag can be set from the administrator interface. b: Don't begin recording unless a call is bridged to another channel. i: Skip recording of input stream (disables 'm' option). o: Skip recording of output stream (disables 'm' option). [See Also] StopMonitor() Thx Eric. I read the link e1*CLI core show application monitor but I could not follow what I should do to customize the file name of the recording. I guess some changes to the dialplan is required ? Re-read your message, and realized you are asking about a GUI for Asterisk. Sorry, I can't help you with that. -- _ -- 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] Asterisk 1.6: Custom Name for Recordings file
On 5/13/11 10:57 AM, RSCL Mumbai wrote: I have latest Elastix 64 bit setup and running fine (Asterisk 1.6.2.13) I would like to customize the file name of call recordings: /var/spool/asterisk/monitor/20110511-110858-1305126538.912.wav I would like to include the extension number in the file name. Did a lot of googling but not much help. Pls advice. [snip..] Thx Eric. I read the link e1*CLI core show application monitor but I could not follow what I should do to customize the file name of the recording. I guess some changes to the dialplan is required ? try something like: Monitor(wav,${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${EXTEN}) -- Edwin Lam edwin@officegeneral.com Systems Engineer, OfficeWyze, Inc. Ph: +1 415 439 4988 Fax: +1 415 283 3370 http://pgpkeys.mit.edu:11371/pks/lookup?op=getsearch=0xD6506D20 -- _ -- 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] Asterisk 1.6 Questions
On 05/03/2011 12:43 PM, Gary Graves wrote: Can you change codecs mid-call upon re-invite? Do you mean: can Asterisk be configured to _initiate_ such a change at some point, mid-call? Or do you mean: Will Asterisk properly react to such a re-INVITE and change codecs if asked to do so by the dialog counterparty? Can you handle the SDP offer-answer in the 200-ACK instead of the usual INVITE-200? Doesn't seem to. Looking at chan_sip.c in 1.6.2.13, there is no call to add_sdp() that is not made either in the context of 1) an initial INVITE request or 2) a re-INVITE or 3) the construction of a response. Nothing in the case of the production of an end-to-end ACK. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ -- _ -- 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] Asterisk 1.6 Questions
Can you answer both? Can Asterisk be configured to _initiate_ such a change at some point, mid-call? and Will Asterisk properly react to such a re-INVITE and change codecs if asked to do so by the dialog counterparty? On Tue, May 3, 2011 at 12:56 PM, Alex Balashov abalas...@evaristesys.comwrote: On 05/03/2011 12:43 PM, Gary Graves wrote: Can you change codecs mid-call upon re-invite? Do you mean: can Asterisk be configured to _initiate_ such a change at some point, mid-call? Or do you mean: Will Asterisk properly react to such a re-INVITE and change codecs if asked to do so by the dialog counterparty? Can you handle the SDP offer-answer in the 200-ACK instead of the usual INVITE-200? Doesn't seem to. Looking at chan_sip.c in 1.6.2.13, there is no call to add_sdp() that is not made either in the context of 1) an initial INVITE request or 2) a re-INVITE or 3) the construction of a response. Nothing in the case of the production of an end-to-end ACK. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ -- _ -- 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 -- _ -- 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] Asterisk 1.6 Questions
On 05/03/2011 01:16 PM, Gary Graves wrote: Can you answer both? Can Asterisk be configured to _initiate_ such a change at some point, mid-call? I don't know of a way to do that. I suppose it might be possible if a call were asynchronously transferred to a SIP peer that had different codec requirements. and Will Asterisk properly react to such a re-INVITE and change codecs if asked to do so by the dialog counterparty? It should. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ -- _ -- 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] Asterisk 1.6 = No sound/voice when i redirect the call
Hi very thanks, that's work bye olivier 2011/4/3 Mark Murawski markm-li...@intellasoft.net: I gave you the syntax in ael format, if you want to use extensions.conf you'll have to use the syntax that's applicable, which is: [start-audio] exten = s,1,Playback(silence/1) On 04/03/11 14:14, Olivier CALVANO wrote: Hi Mark Thanks for your answer, but i am new in asterisk ;=) the context start-audio ... i put it into the extension.conf ? because i have a error: [Apr 3 20:12:08] WARNING[28078]: config.c:1154 process_text_line: No '=' (equal sign) in line 134 of /etc/asterisk/extension-operator.conf [Apr 3 20:12:08] WARNING[28078]: config.c:1154 process_text_line: No '=' (equal sign) in line 136 of /etc/asterisk/extension-operator.conf [Apr 3 20:12:17] WARNING[28078]: pbx_config.c:1499 pbx_load_config: ==!!== Unknown directive: s at line 135 -- IGNORING!!! thanks for your help olivier 2011/4/3 Mark Murawskimarkm-li...@intellasoft.net: In that situation, I've had to do a pickup macro that kind of primes the audio. Dial(SIP/MyOperator/${NUMAPPEL},180,rtU(start-audio)) context start-audio { s = { Playback(silence/1); } } The above might help... What it does is plays an audio track on the callee's channel (SIP/MyOperator-) before bridging the audio. On 04/03/11 12:01, Olivier CALVANO wrote: Hi i use this into my extension : exten = _00339,1,Set(foo=${SIP_HEADER(To)}) exten = _00339,2,Set(cut1=${CUT(foo,:,2)}) exten = _00339,3,Set(CLI=${CUT(cut1,,1)}) exten = _00339,4,Set(toexten=${CUT(CLI,@,1)}) exten = _00339,5,Noop(ORIGINAL NUMBER : [ ${toexten} ]) exten = _00339,6,AGI(Ddi-Network.agi,${toexten}) exten = _00339,7,Set(CALLERPRES()=prohib_not_screened) exten = _00339,8,Dial(SIP/MyOperator/${NUMAPPEL},180,rt) exten = _00339,9,Hangup and i have in sip.conf: [MyOperator] type=peer host=host-of-my-operator qualify=yes dtmf=rfc2833 nat=no canreinvite=no canredirect=yes insecure=port,invite dtmfmode=rfc2833 disallow=all allow=g729 allow=alaw allow=g723 defaultuser=0033xx secret=x When i call directly from [MyOperator], no probleme i have sound/Voice but when a customer call to the 00339xxx.., the call are correct, asterisk call to my standard SIP/MyOperator/${NUMAPPEL} but no sound/voice (i receive the call without problems, only sound off) anyone have a idea of this problems ? bye Olivier -- -- _ -- 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 -- _ -- 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] Asterisk 1.6 = No sound/voice when i redirect the call
In that situation, I've had to do a pickup macro that kind of primes the audio. Dial(SIP/MyOperator/${NUMAPPEL},180,rtU(start-audio)) context start-audio { s = { Playback(silence/1); } } The above might help... What it does is plays an audio track on the callee's channel (SIP/MyOperator-) before bridging the audio. On 04/03/11 12:01, Olivier CALVANO wrote: Hi i use this into my extension : exten = _00339,1,Set(foo=${SIP_HEADER(To)}) exten = _00339,2,Set(cut1=${CUT(foo,:,2)}) exten = _00339,3,Set(CLI=${CUT(cut1,,1)}) exten = _00339,4,Set(toexten=${CUT(CLI,@,1)}) exten = _00339,5,Noop(ORIGINAL NUMBER : [ ${toexten} ]) exten = _00339,6,AGI(Ddi-Network.agi,${toexten}) exten = _00339,7,Set(CALLERPRES()=prohib_not_screened) exten = _00339,8,Dial(SIP/MyOperator/${NUMAPPEL},180,rt) exten = _00339,9,Hangup and i have in sip.conf: [MyOperator] type=peer host=host-of-my-operator qualify=yes dtmf=rfc2833 nat=no canreinvite=no canredirect=yes insecure=port,invite dtmfmode=rfc2833 disallow=all allow=g729 allow=alaw allow=g723 defaultuser=0033xx secret=x When i call directly from [MyOperator], no probleme i have sound/Voice but when a customer call to the 00339xxx.., the call are correct, asterisk call to my standard SIP/MyOperator/${NUMAPPEL} but no sound/voice (i receive the call without problems, only sound off) anyone have a idea of this problems ? bye Olivier -- _ -- 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 -- _ -- 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] Asterisk 1.6 = No sound/voice when i redirect the call
Hi Mark Thanks for your answer, but i am new in asterisk ;=) the context start-audio ... i put it into the extension.conf ? because i have a error: [Apr 3 20:12:08] WARNING[28078]: config.c:1154 process_text_line: No '=' (equal sign) in line 134 of /etc/asterisk/extension-operator.conf [Apr 3 20:12:08] WARNING[28078]: config.c:1154 process_text_line: No '=' (equal sign) in line 136 of /etc/asterisk/extension-operator.conf [Apr 3 20:12:17] WARNING[28078]: pbx_config.c:1499 pbx_load_config: ==!!== Unknown directive: s at line 135 -- IGNORING!!! thanks for your help olivier 2011/4/3 Mark Murawski markm-li...@intellasoft.net: In that situation, I've had to do a pickup macro that kind of primes the audio. Dial(SIP/MyOperator/${NUMAPPEL},180,rtU(start-audio)) context start-audio { s = { Playback(silence/1); } } The above might help... What it does is plays an audio track on the callee's channel (SIP/MyOperator-) before bridging the audio. On 04/03/11 12:01, Olivier CALVANO wrote: Hi i use this into my extension : exten = _00339,1,Set(foo=${SIP_HEADER(To)}) exten = _00339,2,Set(cut1=${CUT(foo,:,2)}) exten = _00339,3,Set(CLI=${CUT(cut1,,1)}) exten = _00339,4,Set(toexten=${CUT(CLI,@,1)}) exten = _00339,5,Noop(ORIGINAL NUMBER : [ ${toexten} ]) exten = _00339,6,AGI(Ddi-Network.agi,${toexten}) exten = _00339,7,Set(CALLERPRES()=prohib_not_screened) exten = _00339,8,Dial(SIP/MyOperator/${NUMAPPEL},180,rt) exten = _00339,9,Hangup and i have in sip.conf: [MyOperator] type=peer host=host-of-my-operator qualify=yes dtmf=rfc2833 nat=no canreinvite=no canredirect=yes insecure=port,invite dtmfmode=rfc2833 disallow=all allow=g729 allow=alaw allow=g723 defaultuser=0033xx secret=x When i call directly from [MyOperator], no probleme i have sound/Voice but when a customer call to the 00339xxx.., the call are correct, asterisk call to my standard SIP/MyOperator/${NUMAPPEL} but no sound/voice (i receive the call without problems, only sound off) anyone have a idea of this problems ? bye Olivier -- _ -- 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 -- _ -- 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 -- _ -- 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] Asterisk 1.6 = No sound/voice when i redirect the call
I gave you the syntax in ael format, if you want to use extensions.conf you'll have to use the syntax that's applicable, which is: [start-audio] exten = s,1,Playback(silence/1) On 04/03/11 14:14, Olivier CALVANO wrote: Hi Mark Thanks for your answer, but i am new in asterisk ;=) the context start-audio ... i put it into the extension.conf ? because i have a error: [Apr 3 20:12:08] WARNING[28078]: config.c:1154 process_text_line: No '=' (equal sign) in line 134 of /etc/asterisk/extension-operator.conf [Apr 3 20:12:08] WARNING[28078]: config.c:1154 process_text_line: No '=' (equal sign) in line 136 of /etc/asterisk/extension-operator.conf [Apr 3 20:12:17] WARNING[28078]: pbx_config.c:1499 pbx_load_config: ==!!== Unknown directive: s at line 135 -- IGNORING!!! thanks for your help olivier 2011/4/3 Mark Murawskimarkm-li...@intellasoft.net: In that situation, I've had to do a pickup macro that kind of primes the audio. Dial(SIP/MyOperator/${NUMAPPEL},180,rtU(start-audio)) context start-audio { s = { Playback(silence/1); } } The above might help... What it does is plays an audio track on the callee's channel (SIP/MyOperator-) before bridging the audio. On 04/03/11 12:01, Olivier CALVANO wrote: Hi i use this into my extension : exten =_00339,1,Set(foo=${SIP_HEADER(To)}) exten =_00339,2,Set(cut1=${CUT(foo,:,2)}) exten =_00339,3,Set(CLI=${CUT(cut1,,1)}) exten =_00339,4,Set(toexten=${CUT(CLI,@,1)}) exten =_00339,5,Noop(ORIGINAL NUMBER : [ ${toexten} ]) exten =_00339,6,AGI(Ddi-Network.agi,${toexten}) exten =_00339,7,Set(CALLERPRES()=prohib_not_screened) exten =_00339,8,Dial(SIP/MyOperator/${NUMAPPEL},180,rt) exten =_00339,9,Hangup and i have in sip.conf: [MyOperator] type=peer host=host-of-my-operator qualify=yes dtmf=rfc2833 nat=no canreinvite=no canredirect=yes insecure=port,invite dtmfmode=rfc2833 disallow=all allow=g729 allow=alaw allow=g723 defaultuser=0033xx secret=x When i call directly from [MyOperator], no probleme i have sound/Voice but when a customer call to the 00339xxx.., the call are correct, asterisk call to my standard SIP/MyOperator/${NUMAPPEL} but no sound/voice (i receive the call without problems, only sound off) anyone have a idea of this problems ? bye Olivier -- -- _ -- 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] Asterisk 1.6 MySQL Realtime fails to connect with working username and password.
On Mon, Mar 7, 2011 at 5:52 PM, Ernie Dunbar maill...@lightspeed.ca wrote: Okay, so here's the configuration I have for MySQL Realtime (Asterisk version 1.6.2.17): In /etc/asterisk/extconfig.conf: sipusers = mysql,mya2billing,cc_sip_buddies In /etc/asterisk/res_mysql.conf: Don't know what res_mysql.conf is, I think it should be res_config_mysql.conf? Sorry it's been a LONG time since I configured/used realtime and that also was with ODBC and TDS but I know that the file res_config_mysql.conf should definitely be there HTH \R -- _ -- 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] Asterisk 1.6 MySQL Realtime fails to connect with working username and password.
On Mon, Mar 7, 2011 at 4:52 PM, Ernie Dunbar maill...@lightspeed.ca wrote: [mya2billing] dbhost = localhost dbname = mya2billing dbuser = a2billinguser dbpass = REDACTED dbport = 3306 Try adding dbsock = /var/lib/mysql/mysql.sock to the end of this config stanza and see if that helps (or whatever is the actual location of your mysql.sock file). -- Thanks, --Warren Selby, dCAP http://www.selbytech.com -- _ -- 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] Asterisk 1.6 MySQL Realtime fails to connect with working username and password.
On Mon, Mar 7, 2011 at 4:52 PM, Ernie Dunbar maill...@lightspeed.ca wrote: [mya2billing] dbhost = localhost dbname = mya2billing dbuser = a2billinguser dbpass = REDACTED dbport = 3306 Try adding dbsock = /var/lib/mysql/mysql.sock to the end of this config stanza and see if that helps (or whatever is the actual location of your mysql.sock file). Hmm. This appears to have fixed the problem, even though I swear I've done this already. (and for anyone reading this, on Debian the file is mysqld.sock) -- _ -- 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] Asterisk 1.6 SSH Console Colors Debian Lenny
2011/1/23 Tzafrir Cohen tzafrir.co...@xorcom.com On Thu, Jan 20, 2011 at 06:22:23PM +, A J Stiles wrote: On Thursday 20 Jan 2011, JR Richardson wrote: Hi All, I'm running * 1.6.0.28 on Debian Lenny. The init'd script starts the asterisk daemon not the safe_asterisk daemon so when asterisk is running and I ssh tot he server then 'asterisk -vr' to attach to the asterisk console there are no colors. If I use the safe_asterisk script to start asterisk, the colors are fine when I attach through SSH. I'm running Debian but have been running Asterisk since before there was a proper Debian package, and so I ended up writing my own init.d script. See attached. No guarantees or anything :) A number of things I did not like about it: 1. I don't trust safe_asterisk to properly handle being run twice and such. 2. Likewise with daemonization. safe_asterisk is still at the console. 3. You run asterisk as root. And use /var/run/asterisk.pid . Please use a non-root user and /var/run/asterisk/asterisk.pid . 4. On 'restart' you do nothing if the process was not running. That's not the standard semantics. 5. Even if a pid file exists, it does not mean that the process listed in it is your process. In short: A. Don't re-invent start-stop-daemon. B. Let's just move to upstart/systemd so there won't be a need for this stupid guardian safe asterisk. All these reasons seem fine for me. So the remaining question is how can we still get colors with ssh console ?. Is it compliant with start-stop-daemon, for instance ? Cheers -- _ -- 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] Asterisk 1.6 SSH Console Colors Debian Lenny
On Monday 24 January 2011 04:09:31 Olivier wrote: 2011/1/23 Tzafrir Cohen tzafrir.co...@xorcom.com On Thu, Jan 20, 2011 at 06:22:23PM +, A J Stiles wrote: On Thursday 20 Jan 2011, JR Richardson wrote: Hi All, I'm running * 1.6.0.28 on Debian Lenny. The init'd script starts the asterisk daemon not the safe_asterisk daemon so when asterisk is running and I ssh tot he server then 'asterisk -vr' to attach to the asterisk console there are no colors. If I use the safe_asterisk script to start asterisk, the colors are fine when I attach through SSH. In short: A. Don't re-invent start-stop-daemon. B. Let's just move to upstart/systemd so there won't be a need for this stupid guardian safe asterisk. All these reasons seem fine for me. So the remaining question is how can we still get colors with ssh console ?. Is it compliant with start-stop-daemon, for instance ? Why not just use the start script included with Asterisk? I solved this exact problem a while back, so unless somebody has broken the script since, it should still be working. -- Tilghman -- _ -- 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] Asterisk 1.6 SSH Console Colors Debian Lenny
On Thu, Jan 20, 2011 at 06:22:23PM +, A J Stiles wrote: On Thursday 20 Jan 2011, JR Richardson wrote: Hi All, I'm running * 1.6.0.28 on Debian Lenny. The init'd script starts the asterisk daemon not the safe_asterisk daemon so when asterisk is running and I ssh tot he server then 'asterisk -vr' to attach to the asterisk console there are no colors. If I use the safe_asterisk script to start asterisk, the colors are fine when I attach through SSH. I'm running Debian but have been running Asterisk since before there was a proper Debian package, and so I ended up writing my own init.d script. See attached. No guarantees or anything :) A number of things I did not like about it: 1. I don't trust safe_asterisk to properly handle being run twice and such. 2. Likewise with daemonization. safe_asterisk is still at the console. 3. You run asterisk as root. And use /var/run/asterisk.pid . Please use a non-root user and /var/run/asterisk/asterisk.pid . 4. On 'restart' you do nothing if the process was not running. That's not the standard semantics. 5. Even if a pid file exists, it does not mean that the process listed in it is your process. In short: A. Don't re-invent start-stop-daemon. B. Let's just move to upstart/systemd so there won't be a need for this stupid guardian safe asterisk. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- 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] Asterisk 1.6 SSH Console Colors Debian Lenny
On 20 January 2011 18:01, JR Richardson jmr.richard...@gmail.com wrote: Or is there another work around to get ssh console colors using the Debian * 1.6.0.28 LSB init script? I also tried 'nocolor = no' in the [options] section of asterisk.conf with no effect. Try running asterisk using safe_asterisk.. Works for me with 1.4.22 and lenny.. -- _ -- 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] Asterisk 1.6 SSH Console Colors Debian Lenny
On Thursday 20 Jan 2011, JR Richardson wrote: Hi All, I'm running * 1.6.0.28 on Debian Lenny. The init'd script starts the asterisk daemon not the safe_asterisk daemon so when asterisk is running and I ssh tot he server then 'asterisk -vr' to attach to the asterisk console there are no colors. If I use the safe_asterisk script to start asterisk, the colors are fine when I attach through SSH. I'm running Debian but have been running Asterisk since before there was a proper Debian package, and so I ended up writing my own init.d script. See attached. No guarantees or anything :) -- AJS Answers come *after* questions. asterisk Description: application/shellscript -- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
On 21 December 2010 22:06, Tilghman Lesher tilgh...@meg.abyt.es wrote: On Monday 20 December 2010 14:39:36 Ernie Dunbar wrote: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. I know what the issue is. Please open a report on https://issues.asterisk.org and I'll get a patch uploaded pronto. Please let us know the issue number once raised - I'd like to follow this one. Regards, Steve -- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
On Wednesday 22 December 2010 08:23:19 MrHanMan wrote: On Wed, Dec 22, 2010 at 6:41 AM, Steve Davies davies...@gmail.com wrote: On 21 December 2010 22:06, Tilghman Lesher tilgh...@meg.abyt.es wrote: On Monday 20 December 2010 14:39:36 Ernie Dunbar wrote: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. I know what the issue is. Please open a report on https://issues.asterisk.org and I'll get a patch uploaded pronto. Please let us know the issue number once raised - I'd like to follow this one. I happened to see it pop up on the bug tracker. Issue #0018515. Very funny error message in the patch. It's a forward-port of a section of code that was in res_agi in 1.4. It was no longer needed in res_agi because AGIs can now continue to interact with Asterisk after a hangup event, transitioning gracefully into DeadAGI. -- Tilghman -- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
Am 20.12.2010 21:39, schrieb Ernie Dunbar: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. We are using the following software: Debian Lenny 5.0 Asterisk 1.6.2.15 `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 Libpri 1.4.11.4 A2Billing is also installed on this server, if that matters at all. Any help with this issue, including help in troubleshooting the cause, is highly appreciated. What does /var/log/asterisk/messages say? And /var/log/syslog? -- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
Am 20.12.2010 21:39, schrieb Ernie Dunbar: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. We are using the following software: Debian Lenny 5.0 Asterisk 1.6.2.15 `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 Libpri 1.4.11.4 A2Billing is also installed on this server, if that matters at all. Any help with this issue, including help in troubleshooting the cause, is highly appreciated. What does /var/log/asterisk/messages say? And /var/log/syslog? Not much. In /var/log/asterisk/messages here's a lot of lines like this: [Dec 17 19:10:13] NOTICE[25518] chan_sip.c: Registration from 'sip:xx...@voip.lightspeed.ca' failed for 'XX.XXX.X.XXX' - No matching peer found And /var/log/syslog has all the normal output from a2billing.php and making calls complete and such. The other funny thing is that except for the massive number of zombie processes, calls are being made and completed just fine. Even voice quality is quite high. -- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
Your server is being brute-forced. Read this article (http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asterisk) and set up fail2ban on your machine right now.Atenciosamente,Vinícius FontesGerente de Segurança da InformaçãoCanall Tecnologia em ComunicaçõesPasso Fundo - RS - Brasil+55 54 2104-7000Information Security ManagerCanall Tecnologia em ComunicaçõesPasso Fundo - RS - Brazil+55 54 2104-7000 Am 20.12.2010 21:39, schrieb Ernie Dunbar: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. We are using the following software: Debian Lenny 5.0 Asterisk 1.6.2.15 `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 Libpri 1.4.11.4 A2Billing is also installed on this server, if that matters at all. Any help with this issue, including help in troubleshooting the cause, is highly appreciated. What does /var/log/asterisk/messages say? And /var/log/syslog?Not much. In /var/log/asterisk/messages here's a lot of lines like this:[Dec 17 19:10:13] NOTICE[25518] chan_sip.c: Registration from'sip:xx...@voip.lightspeed.ca' failed for 'XX.XXX.X.XXX' - No matchingpeer foundAnd /var/log/syslog has all the normal output from a2billing.php andmaking calls complete and such.The other funny thing is that except for the massive number of zombieprocesses, calls are being made and completed just fine. Even voicequality is quite high.--_-- 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/helloasterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
On Mon, Dec 20, 2010 at 5:39 PM, Ernie Dunbar maill...@lightspeed.ca wrote: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. We are using the following software: Debian Lenny 5.0 Asterisk 1.6.2.15 `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 Libpri 1.4.11.4 A2Billing is also installed on this server, if that matters at all. Any help with this issue, including help in troubleshooting the cause, is highly appreciated. Simple In sip.conf please set alwaysauthreject = yes ~~~ Andrew lathama Latham lath...@gmail.com ~~~ -- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
Actually, no. This is part of a migration, and those are mostly customers' secondary lines (which for the most part, aren't even active). We get a lot of these bad logins because the retry times on the ATAs are quite short. Asterisk really *shouldn't* leave zombies around for every bad login, but if it does, then I suppose cleaning up these missing accounts might fix it. Your server is being brute-forced. Read this article (http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asterisk) and set up fail2ban on your machine right now. Atenciosamente, Vinícius Fontes Gerente de Segurança da Informação Canall Tecnologia em Comunicações Passo Fundo - RS - Brasil +55 54 2104-7000 Information Security Manager Canall Tecnologia em Comunicações Passo Fundo - RS - Brazil +55 54 2104-7000 - Mensagem original - Am 20.12.2010 21:39, schrieb Ernie Dunbar: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. We are using the following software: Debian Lenny 5.0 Asterisk 1.6.2.15 `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 Libpri 1.4.11.4 A2Billing is also installed on this server, if that matters at all. Any help with this issue, including help in troubleshooting the cause, is highly appreciated. What does /var/log/asterisk/messages say? And /var/log/syslog? Not much. In /var/log/asterisk/messages here's a lot of lines like this: [Dec 17 19:10:13] NOTICE[25518] chan_sip.c: Registration from 'sip:xx...@voip.lightspeed.ca' failed for 'XX.XXX.X.XXX' - No matching peer found And /var/log/syslog has all the normal output from a2billing.php and making calls complete and such. The other funny thing is that except for the massive number of zombie processes, calls are being made and completed just fine. Even voice quality is quite high. -- _ -- 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 -- _ -- 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 -- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
On Monday 20 December 2010 14:39:36 Ernie Dunbar wrote: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. I know what the issue is. Please open a report on https://issues.asterisk.org and I'll get a patch uploaded pronto. -- Tilghman -- _ -- 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] Asterisk 1.6 produces *many* zombie processes on Debian.
On Mon, Dec 20, 2010 at 5:39 PM, Ernie Dunbar maill...@lightspeed.ca wrote: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. We are using the following software: Debian Lenny 5.0 Asterisk 1.6.2.15 `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 Libpri 1.4.11.4 A2Billing is also installed on this server, if that matters at all. Any help with this issue, including help in troubleshooting the cause, is highly appreciated. Simple In sip.conf please set alwaysauthreject = yes Thanks for the tip, but we already did that a while ago. :) -- _ -- 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] Asterisk 1.6 (Web-meetme)
Manmohan wrote: I am really not sure if this is related to the meetme in asterisk OR this is something to do in web-meetme. I tried to google but didnt get any proper results. I am facing one issue in Web-meetme on the expiry of any conference that we create. I am having Web-meetme 4.0.2 over Asterisk 1.6 Any conference we create in web-meetme never expires. I am not sure if i am missing while configuring, though i didnt find anything in lib/define.php also checked in asterisk that can point me, which can help me in fixing this issue. Since you can join the conference you created with WMM, the Realtime settings are likely correct. You do not mention which version of 1.6 you are on, so I would guess that you are on 1.6.2.7 or older. For a variety of reasons the realtime feature, in particular the scheduling code, was added and tweaked over a wide range of 1.6 releases. The first one I would consider feature complete for use with Web-MeetMe is 1.6.2.7, and even that version has a trivial, but nasty bug that causes segfaults (fixed in a recent 1.6.2 release) Dan -- _ -- 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] Asterisk 1.6 (Web-meetme)
Hi Dan, I am currently on Asterisk 1.6.2.14. Thanks Regards Manmohan Singh On Sat, Dec 4, 2010 at 12:09 AM, Dan Austin dan_aus...@phoenix.com wrote: Manmohan wrote: I am really not sure if this is related to the meetme in asterisk OR this is something to do in web-meetme. I tried to google but didnt get any proper results. I am facing one issue in Web-meetme on the expiry of any conference that we create. I am having Web-meetme 4.0.2 over Asterisk 1.6 Any conference we create in web-meetme never expires. I am not sure if i am missing while configuring, though i didnt find anything in lib/define.php also checked in asterisk that can point me, which can help me in fixing this issue. Since you can join the conference you created with WMM, the Realtime settings are likely correct. You do not mention which version of 1.6 you are on, so I would guess that you are on 1.6.2.7 or older. For a variety of reasons the realtime feature, in particular the scheduling code, was added and tweaked over a wide range of 1.6 releases. The first one I would consider feature complete for use with Web-MeetMe is 1.6.2.7, and even that version has a trivial, but nasty bug that causes segfaults (fixed in a recent 1.6.2 release) Dan -- _ -- 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 -- Thanks Regards Manmohan Singh -- _ -- 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] Asterisk 1.6 (Web-meetme)
Manmohan wrote: I am currently on Asterisk 1.6.2.14. Do you have schedule=yes in meetme.conf? I incorrectly remembered/thought that all of the Realtime features were controlled by that option, only a small number, such as end times and CDR logging On Sat, Dec 4, 2010 at 12:09 AM, Dan Austin dan_aus...@phoenix.com wrote: Manmohan wrote: I am really not sure if this is related to the meetme in asterisk OR this is something to do in web-meetme. I tried to google but didnt get any proper results. I am facing one issue in Web-meetme on the expiry of any conference that we create. I am having Web-meetme 4.0.2 over Asterisk 1.6 Any conference we create in web-meetme never expires. I am not sure if i am missing while configuring, though i didnt find anything in lib/define.php also checked in asterisk that can point me, which can help me in fixing this issue. Since you can join the conference you created with WMM, the Realtime settings are likely correct. You do not mention which version of 1.6 you are on, so I would guess that you are on 1.6.2.7 or older. For a variety of reasons the realtime feature, in particular the scheduling code, was added and tweaked over a wide range of 1.6 releases. The first one I would consider feature complete for use with Web-MeetMe is 1.6.2.7, and even that version has a trivial, but nasty bug that causes segfaults (fixed in a recent 1.6.2 release) Dan -- _ -- 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] Asterisk 1.6 (Web-meetme)
Hi Dan, In meetme.conf the schedule=yes was commented, after removing its working fine. But one strange thing had started now. I started getting segmentation fault. following are the errors which i see in it: warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for /usr/lib/libodbcinst.so.1 is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for /usr/lib/libogg.so.0 is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for /usr/lib/libbluetooth.so.2 is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations Reading symbols from /lib/libssl.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libssl.so.6 Reading symbols from /lib/libcrypto.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Thanks Regards Manmohan Singh On Sat, Dec 4, 2010 at 1:12 AM, Dan Austin dan_aus...@phoenix.com wrote: Manmohan wrote: I am currently on Asterisk 1.6.2.14. Do you have schedule=yes in meetme.conf? I incorrectly remembered/thought that all of the Realtime features were controlled by that option, only a small number, such as end times and CDR logging On Sat, Dec 4, 2010 at 12:09 AM, Dan Austin dan_aus...@phoenix.com wrote: Manmohan wrote: I am really not sure if this is related to the meetme in asterisk OR this is something to do in web-meetme. I tried to google but didnt get any proper results. I am facing one issue in Web-meetme on the expiry of any conference that we create. I am having Web-meetme 4.0.2 over Asterisk 1.6 Any conference we create in web-meetme never expires. I am not sure if i am missing while configuring, though i didnt find anything in lib/define.php also checked in asterisk that can point me, which can help me in fixing this issue. Since you can join the conference you created with WMM, the Realtime settings are likely correct. You do not mention which version of 1.6 you are on, so I would guess that you are on 1.6.2.7 or older. For a variety of reasons the realtime feature, in particular the scheduling code, was added and tweaked over a wide range of 1.6 releases. The first one I would consider feature complete for use with Web-MeetMe is 1.6.2.7, and even that version has a trivial, but nasty bug that causes segfaults (fixed in a recent 1.6.2 release) Dan -- _ -- 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 -- Thanks Regards Manmohan Singh -- _ -- 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] Asterisk 1.6 (Web-meetme)
The errors you posted do not point to a the problem. Did you build from source or are you using packages? If from source, grep for useropts in app_meetme.c and The second instance should be: char useropts[OPTIONS_LEN + 1] = ; If the line does not have the = , then the issue is that the bug I mentioned is still present. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Manmohan Singh Jandu Sent: Friday, December 03, 2010 1:44 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 (Web-meetme) Hi Dan, In meetme.conf the schedule=yes was commented, after removing its working fine. But one strange thing had started now. I started getting segmentation fault. following are the errors which i see in it: warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for /usr/lib/libodbcinst.so.1 is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for /usr/lib/libogg.so.0 is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations warning: .dynamic section for /usr/lib/libbluetooth.so.2 is not at the expected address warning: difference appears to be caused by prelink, adjusting expectations Reading symbols from /lib/libssl.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libssl.so.6 Reading symbols from /lib/libcrypto.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libz.so.1 Thanks Regards Manmohan Singh On Sat, Dec 4, 2010 at 1:12 AM, Dan Austin dan_aus...@phoenix.com wrote: Manmohan wrote: I am currently on Asterisk 1.6.2.14. Do you have schedule=yes in meetme.conf? I incorrectly remembered/thought that all of the Realtime features were controlled by that option, only a small number, such as end times and CDR logging On Sat, Dec 4, 2010 at 12:09 AM, Dan Austin dan_aus...@phoenix.com wrote: Manmohan wrote: I am really not sure if this is related to the meetme in asterisk OR this is something to do in web-meetme. I tried to google but didnt get any proper results. I am facing one issue in Web-meetme on the expiry of any conference that we create. I am having Web-meetme 4.0.2 over Asterisk 1.6 Any conference we create in web-meetme never expires. I am not sure if i am missing while configuring, though i didnt find anything in lib/define.php also checked in asterisk that can point me, which can help me in fixing this issue. Since you can join the conference you created with WMM, the Realtime settings are likely correct. You do not mention which version of 1.6 you are on, so I would guess that you are on 1.6.2.7 or older. For a variety of reasons the realtime feature, in particular the scheduling code, was added and tweaked over a wide range of 1.6 releases. The first one I would consider feature complete for use with Web-MeetMe is 1.6.2.7, and even that version has a trivial, but nasty bug that causes segfaults (fixed in a recent 1.6.2 release) Dan -- _ -- 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 -- Thanks Regards Manmohan Singh -- _ -- 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 -- _ -- 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] Asterisk 1.6 and Username in Dial
Hi i don't see a answer at my question Bye Jerome 2010/11/9 Olivier CALVANO o.calv...@gmail.com: Hi In Asterisk 1.6/realtime Mysql, we can't put a username/password in a Dial Command ?: 'Dial', 'SIP/Username:passw...@mypeer/${EXTEN},180,r' Thanks Olivier -- _ -- 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] Asterisk 1.6 and Username in Dial
No you can't On Wed, Nov 24, 2010 at 2:34 AM, Olivier CALVANO o.calv...@gmail.com wrote: Hi i don't see a answer at my question Bye Jerome 2010/11/9 Olivier CALVANO o.calv...@gmail.com: Hi In Asterisk 1.6/realtime Mysql, we can't put a username/password in a Dial Command ?: 'Dial', 'SIP/Username:passw...@mypeer/${EXTEN},180,r' Thanks Olivier -- _ -- 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 -- _ -- 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] Asterisk 1.6 and Music on Hold
On Wed, Nov 24, 2010 at 4:30 AM, Olivier CALVANO o.calv...@gmail.com wrote: Hi i have a small problems on Asterisk 1.6 with the MusiconOld : musiconhold.conf: [Sound_1] mode=quietmp3 directory=/var/lib/asterisk/moh/Sound_1 in extensions.conf: exten = 0532xx,1,Answer exten = 0532xx,2,MusicOnHold(Sound_1) exten = 0532xx,3,Dial(SIP/ACCOUNT001,180,t) exten = 0532xx,4,Hangup When i call to the number, i have the Music Sound_1 but the SIP Phone don't ring ... Where is my error ? and second question, can i said at asterisk that when he receive the call, he play the music from first second ? and repeat at the end of the music. Thanks for your help -- _ -- 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 First, if you don't use the Music on hold command prior to the dial, do you hear ringing? It seems to me that what's going on here is that you're overriding the progress notification that results from the device responding to the invite with TRYING or RINGING by running MOH. If the ringing doesn't occur even when you remove the MOH command, your device is probably not signaling properly and you'll need to use the r option in your Dial command. Cheers -- _ -- 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] Asterisk 1.6 and Music on Hold
2010/11/24 Sherwood McGowan sherwood.mcgo...@gmail.com: On Wed, Nov 24, 2010 at 4:30 AM, Olivier CALVANO o.calv...@gmail.com wrote: Hi i have a small problems on Asterisk 1.6 with the MusiconOld : musiconhold.conf: [Sound_1] mode=quietmp3 directory=/var/lib/asterisk/moh/Sound_1 in extensions.conf: exten = 0532xx,1,Answer exten = 0532xx,2,MusicOnHold(Sound_1) exten = 0532xx,3,Dial(SIP/ACCOUNT001,180,t) exten = 0532xx,4,Hangup When i call to the number, i have the Music Sound_1 but the SIP Phone don't ring ... Where is my error ? and second question, can i said at asterisk that when he receive the call, he play the music from first second ? and repeat at the end of the music. Thanks for your help -- _ -- 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 First, if you don't use the Music on hold command prior to the dial, do you hear ringing? It seems to me that what's going on here is that you're overriding the progress notification that results from the device responding to the invite with TRYING or RINGING by running MOH. If the ringing doesn't occur even when you remove the MOH command, your device is probably not signaling properly and you'll need to use the r option in your Dial command. Hi Thanks for your help, yes, if i don't put the music on hold command, the phone ringing. I have change for put the r but no effect bye olivier -- _ -- 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] Asterisk 1.6 and Music on Hold
On Wed, Nov 24, 2010 at 5:35 AM, Olivier CALVANO o.calv...@gmail.com wrote: 2010/11/24 Sherwood McGowan sherwood.mcgo...@gmail.com: On Wed, Nov 24, 2010 at 4:30 AM, Olivier CALVANO o.calv...@gmail.com wrote: Hi i have a small problems on Asterisk 1.6 with the MusiconOld : musiconhold.conf: [Sound_1] mode=quietmp3 directory=/var/lib/asterisk/moh/Sound_1 in extensions.conf: exten = 0532xx,1,Answer exten = 0532xx,2,MusicOnHold(Sound_1) exten = 0532xx,3,Dial(SIP/ACCOUNT001,180,t) exten = 0532xx,4,Hangup When i call to the number, i have the Music Sound_1 but the SIP Phone don't ring ... Where is my error ? and second question, can i said at asterisk that when he receive the call, he play the music from first second ? and repeat at the end of the music. Thanks for your help -- _ -- 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 First, if you don't use the Music on hold command prior to the dial, do you hear ringing? It seems to me that what's going on here is that you're overriding the progress notification that results from the device responding to the invite with TRYING or RINGING by running MOH. If the ringing doesn't occur even when you remove the MOH command, your device is probably not signaling properly and you'll need to use the r option in your Dial command. Hi Thanks for your help, yes, if i don't put the music on hold command, the phone ringing. I have change for put the r but no effect bye olivier -- _ -- 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 Olivier, Your MusicOnHold(Sound_1) command is overriding the progress indications that Asterisk would normally provide. Do you intend to play music on hold, or are you just wishing to set the class for that call? If the latter, use Set(CHANNEL(musicclass)=Sound_1). That would NOT play the Music on hold, thereby allowing Asterisk to provide the progress indications. If you mean to play the music, you're going to have to understand that you won't be able to hear indications (Please read http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial) such as ringing. Does that clear it up? Basically, you cna't have Music On Hold AND Ringing for a channel going at the same time, they're mutually exclusive -- _ -- 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] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem
That was it! I had a value (412 and 413) set for each phone. This overwrote the caller ID that I was setting in the dialplan. Removing the contents of the fromuser field cleared this issue. Thanks Olle! Brett Woollum br...@woollum.com - Original Message - From: Olle E. Johansson o...@edvina.net To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, November 9, 2010 11:30:27 PM GMT -08:00 US/Canada Pacific Subject: Re: [asterisk-users] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem 10 nov 2010 kl. 02.38 skrev Brett Woollum: Good idea Paul. My debug output: [Nov 9 17:33:39] VERBOSE[2923] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Set(SIP/413-0005, CALLERID(num)=2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:2] NoOp(SIP/413-0005, CallerID(num) is: 2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:3] Dial(SIP/413-0005, SIP/412) in new stack [Nov 9 17:33:39] VERBOSE[4175] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] app_dial.c: -- Called 412 [Nov 9 17:33:40] VERBOSE[4175] app_dial.c: -- SIP/412-0006 is ringing [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, 412, 3) exited non-zero on 'SIP/413-0005' [Nov 9 17:33:44] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Hangup(SIP/413-0005, ) in new stack [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, h, 1) exited non-zero on 'SIP/413-0005' As you can see on line 3, CallerID(num) was successfully set to 2. SIP/412 is dialed next. It receives the call, but with 412 as the Caller ID number - even though the real source of the call was extension 413. The name I set in CallerID(name) works fine. My Extensions.conf for that context: [sipphones] exten = 412,1,Set(CALLERID(num)=2) exten = 412,1,Set(CALLERID(all)=TEST2) exten = 412,n,NoOp(CallerID(num) is: ${CALLERID(num)}) exten = 412,n,Dial(SIP/412) exten = 412,n,NoOp(${CALLERID(num)}) If I disable sippusers and sippeers in extconfig.conf and put 412 and 413 into sip.conf directly, this code works (ie: the CallerID(num) I set makes it out to the destination phone properly). Have you set the fromuser= field in the realtime database? /O -- _ -- 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 -- _ -- 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] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem
On Tue, 2010-11-09 at 17:38 -0800, Brett Woollum wrote: Good idea Paul. My debug output: [Nov 9 17:33:39] VERBOSE[2923] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Set(SIP/413-0005, CALLERID(num)=2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:2] NoOp(SIP/413-0005, CallerID(num) is: 2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:3] Dial(SIP/413-0005, SIP/412) in new stack [Nov 9 17:33:39] VERBOSE[4175] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] app_dial.c: -- Called 412 [Nov 9 17:33:40] VERBOSE[4175] app_dial.c: -- SIP/412-0006 is ringing [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, 412, 3) exited non-zero on 'SIP/413-0005' [Nov 9 17:33:44] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Hangup(SIP/413-0005, ) in new stack [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, h, 1) exited non-zero on 'SIP/413-0005' As you can see on line 3, CallerID(num) was successfully set to 2. SIP/412 is dialed next. It receives the call, but with 412 as the Caller ID number - even though the real source of the call was extension 413. The name I set in CallerID(name) works fine. My Extensions.conf for that context: [sipphones] exten = 412,1,Set(CALLERID(num)=2) exten = 412,1,Set(CALLERID(all)=TEST2) exten = 412,n,NoOp(CallerID(num) is: ${CALLERID(num)}) exten = 412,n,Dial(SIP/412) exten = 412,n,NoOp(${CALLERID(num)}) If I disable sippusers and sippeers in extconfig.conf and put 412 and 413 into sip.conf directly, this code works (ie: the CallerID(num) I set makes it out to the destination phone properly). Are you using the fromuser field in the realtime table? I had this problem once when from user was set and user kept receiving that as the callerid. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001 signature.asc Description: This is a digitally signed message part -- _ -- 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] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem
Hi Carlos. Yes I did have fromuser set, which was the problem. I removed this for each extension and that solved the issue. Thanks! Brett Woollum br...@woollum.com - Original Message - From: Carlos Chavez cur...@telecomabmex.com To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, November 10, 2010 8:47:38 AM GMT -08:00 US/Canada Pacific Subject: Re: [asterisk-users] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem On Tue, 2010-11-09 at 17:38 -0800, Brett Woollum wrote: Good idea Paul. My debug output: [Nov 9 17:33:39] VERBOSE[2923] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Set(SIP/413-0005, CALLERID(num)=2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:2] NoOp(SIP/413-0005, CallerID(num) is: 2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:3] Dial(SIP/413-0005, SIP/412) in new stack [Nov 9 17:33:39] VERBOSE[4175] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] app_dial.c: -- Called 412 [Nov 9 17:33:40] VERBOSE[4175] app_dial.c: -- SIP/412-0006 is ringing [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, 412, 3) exited non-zero on 'SIP/413-0005' [Nov 9 17:33:44] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Hangup(SIP/413-0005, ) in new stack [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, h, 1) exited non-zero on 'SIP/413-0005' As you can see on line 3, CallerID(num) was successfully set to 2. SIP/412 is dialed next. It receives the call, but with 412 as the Caller ID number - even though the real source of the call was extension 413. The name I set in CallerID(name) works fine. My Extensions.conf for that context: [sipphones] exten = 412,1,Set(CALLERID(num)=2) exten = 412,1,Set(CALLERID(all)=TEST2) exten = 412,n,NoOp(CallerID(num) is: ${CALLERID(num)}) exten = 412,n,Dial(SIP/412) exten = 412,n,NoOp(${CALLERID(num)}) If I disable sippusers and sippeers in extconfig.conf and put 412 and 413 into sip.conf directly, this code works (ie: the CallerID(num) I set makes it out to the destination phone properly). Are you using the fromuser field in the realtime table? I had this problem once when from user was set and user kept receiving that as the callerid. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001 -- _ -- 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-- _ -- 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] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem
Nobody has any idea why the Caller ID is being overwritten when using Asterisk Realtime for the SIP users? Brett Woollum br...@woollum.com - Original Message - From: Brett Woollum br...@woollum.com To: asterisk-users@lists.digium.com Sent: Sunday, November 7, 2010 3:08:50 PM GMT -08:00 US/Canada Pacific Subject: [asterisk-users] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem Hello, I am running Asterisk 1.6 with Realtime enabled for my SIP users and peers. The backend is a MySQL database running through the ODBC backend in Asterisk. At this point everything works in terms of phones registering, placing calls between them, etc. However, I am having a problem setting the Caller ID number whenever I am using the Realtime database for the SIP users/peers. If I use a static sip.conf configuration instead of the database, everything works fine. Unfortunately a static sip.conf file won't work in my application. In this example: exten = 412,1,Set(CALLERID(all)=TEST2) exten = 412,n,NoOp(CallerID(num) is: ${CALLERID(num)}) ;;;PS: This shows the correct number of 2 on the CLI console... exten = 412,n,Dial(SIP/412) Whenever another phone calls extension 412, the call is forwarded to SIP/412 and should have TEST as the CallerID name and 2 as the CallerID number. But, whenever I am using the realtime backend, the caller ID number always displays on the destination phone as that phone's username. Meaning, if phone SIP/412 receives the call from the example above, the caller ID name displayed is TEST but the caller ID number is always 412. What could be causing this? Brett Woollum br...@woollum.com -- _ -- 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 -- _ -- 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] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem
On Tue, Nov 9, 2010 at 6:35 PM, Brett Woollum br...@woollum.com wrote: Nobody has any idea why the Caller ID is being overwritten when using Asterisk Realtime for the SIP users? No, perhaps you can _show_ us the problem. https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) | Blog: http://blog.polybeacon.com | Twitter: http://twitter.com/pabelanger -- _ -- 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] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem
Good idea Paul. My debug output: [Nov 9 17:33:39] VERBOSE[2923] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Set(SIP/413-0005, CALLERID(num)=2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:2] NoOp(SIP/413-0005, CallerID(num) is: 2 ) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:3] Dial(SIP/413-0005, SIP/412) in new stack [Nov 9 17:33:39] VERBOSE[4175] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] app_dial.c: -- Called 412 [Nov 9 17:33:40] VERBOSE[4175] app_dial.c: -- SIP/412-0006 is ringing [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, 412, 3) exited non-zero on 'SIP/413-0005' [Nov 9 17:33:44] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Hangup(SIP/413-0005, ) in new stack [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, h, 1) exited non-zero on 'SIP/413-0005' As you can see on line 3, CallerID(num) was successfully set to 2. SIP/412 is dialed next. It receives the call, but with 412 as the Caller ID number - even though the real source of the call was extension 413. The name I set in CallerID(name) works fine. My Extensions.conf for that context: [sipphones] exten = 412,1,Set(CALLERID(num)=2) exten = 412,1,Set(CALLERID(all)=TEST2) exten = 412,n,NoOp(CallerID(num) is: ${CALLERID(num)}) exten = 412,n,Dial(SIP/412) exten = 412,n,NoOp(${CALLERID(num)}) If I disable sippusers and sippeers in extconfig.conf and put 412 and 413 into sip.conf directly, this code works (ie: the CallerID(num) I set makes it out to the destination phone properly). Brett Woollum br...@woollum.com - Original Message - From: Paul Belanger paul.belan...@polybeacon.com To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, November 9, 2010 5:18:36 PM GMT -08:00 US/Canada Pacific Subject: Re: [asterisk-users] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem On Tue, Nov 9, 2010 at 6:35 PM, Brett Woollum br...@woollum.com wrote: Nobody has any idea why the Caller ID is being overwritten when using Asterisk Realtime for the SIP users? No, perhaps you can _show_ us the problem. https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) | Blog: http://blog.polybeacon.com | Twitter: http://twitter.com/pabelanger -- _ -- 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 -- _ -- 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] Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem
10 nov 2010 kl. 02.38 skrev Brett Woollum: Good idea Paul. My debug output: [Nov 9 17:33:39] VERBOSE[2923] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Set(SIP/413-0005, CALLERID(num)=2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:2] NoOp(SIP/413-0005, CallerID(num) is: 2) in new stack [Nov 9 17:33:39] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:3] Dial(SIP/413-0005, SIP/412) in new stack [Nov 9 17:33:39] VERBOSE[4175] netsock.c: == Using SIP RTP CoS mark 5 [Nov 9 17:33:39] VERBOSE[4175] app_dial.c: -- Called 412 [Nov 9 17:33:40] VERBOSE[4175] app_dial.c: -- SIP/412-0006 is ringing [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, 412, 3) exited non-zero on 'SIP/413-0005' [Nov 9 17:33:44] VERBOSE[4175] pbx.c: -- Executing [...@sipphones:1] Hangup(SIP/413-0005, ) in new stack [Nov 9 17:33:44] VERBOSE[4175] pbx.c: == Spawn extension (sipphones, h, 1) exited non-zero on 'SIP/413-0005' As you can see on line 3, CallerID(num) was successfully set to 2. SIP/412 is dialed next. It receives the call, but with 412 as the Caller ID number - even though the real source of the call was extension 413. The name I set in CallerID(name) works fine. My Extensions.conf for that context: [sipphones] exten = 412,1,Set(CALLERID(num)=2) exten = 412,1,Set(CALLERID(all)=TEST2) exten = 412,n,NoOp(CallerID(num) is: ${CALLERID(num)}) exten = 412,n,Dial(SIP/412) exten = 412,n,NoOp(${CALLERID(num)}) If I disable sippusers and sippeers in extconfig.conf and put 412 and 413 into sip.conf directly, this code works (ie: the CallerID(num) I set makes it out to the destination phone properly). Have you set the fromuser= field in the realtime database? /O -- _ -- 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] asterisk 1.6 and Firefox 4 Beta
Has anyone started using Firefox 4 beta versions? We started today and find that many of the GUI's attached to Asterisk respond differently and in many cases not at all? We have found that details cannot be saves and that the screens become very unstable. While we appreciate this is a beta Firefox it would appear they have deviated from their 3.x format with regards to interfacing. Rupert Utteridge -- _ -- 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] Asterisk 1.6 and fax
Hello! I've created clean installation of Asterisk 1.6.2.11 with spandsp 0.0.5. When i try to receive fax I get: [Sep 13 00:45:59] WARNING[3283]: app_fax.c:432 transmit_audio: channel 'SIP/crocus-ua-0004' refused to negotiate T.38 [Sep 13 00:46:02] WARNING[3283]: app_fax.c:223 phase_e_handler: Error transmitting fax. result=49: The call dropped prematurely. [Sep 13 00:46:02] WARNING[3283]: app_fax.c:817 transmit: Transmission error I definitely know that this peer supports T.38 because it works on Lynksys PAP2T. Dialplan is such: answer() wait(6) ReceiveFAX(/var/spool/asterisk/test.tif) Am I doing something wrong here? Thanks! -- Stas Korsei On Thu, Sep 9, 2010 at 12:17 AM, David Backeberg dbackeb...@gmail.comwrote: On Wed, Sep 8, 2010 at 4:18 PM, Stanislav Korsei kor...@rinogo.com wrote: Can you recommend any specific solution to this problem or way to install app_fax? Not without specific debugging about what problems you're seeing. You get a lot of information when faxes succeed or fail. Try a fax and paste in the debug. -- _ -- 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 -- _ -- 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] Asterisk 1.6 and fax
On Mon, Sep 13, 2010 at 4:33 PM, Stanislav Korsei kor...@rinogo.com wrote: Hello! I've created clean installation of Asterisk 1.6.2.11 with spandsp 0.0.5. When i try to receive fax I get: [Sep 13 00:45:59] WARNING[3283]: app_fax.c:432 transmit_audio: channel 'SIP/crocus-ua-0004' refused to negotiate T.38 [Sep 13 00:46:02] WARNING[3283]: app_fax.c:223 phase_e_handler: Error transmitting fax. result=49: The call dropped prematurely. [Sep 13 00:46:02] WARNING[3283]: app_fax.c:817 transmit: Transmission error I definitely know that this peer supports T.38 because it works on Lynksys PAP2T. There are lots of devices that 'support' T.38, but the problem is that they 'support' it differently. If you want to have fun, read the release notes for a Cisco voice IOS, and grep for the word T.38 to see the long list of known broken situations. Just because it's 'supported', doesn't mean it works. Internet Explorer 'supports' html, but good luck getting it to act like a standards-compliant web browser. Try turning off the T.38 and do analog passthrough, or try using two T.38 PAP2Ts. Or even better, don't use fax if you can avoid it. -- _ -- 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] Asterisk 1.6 and fax
On 09/14/2010 04:33 AM, Stanislav Korsei wrote: Hello! I've created clean installation of Asterisk 1.6.2.11 with spandsp 0.0.5. When i try to receive fax I get: Why install 0.0.5? Its ancient. the world has moved on. [Sep 13 00:45:59] WARNING[3283]: app_fax.c:432 transmit_audio: channel 'SIP/crocus-ua-0004' refused to negotiate T.38 [Sep 13 00:46:02] WARNING[3283]: app_fax.c:223 phase_e_handler: Error transmitting fax. result=49: The call dropped prematurely. [Sep 13 00:46:02] WARNING[3283]: app_fax.c:817 transmit: Transmission error I definitely know that this peer supports T.38 because it works on Lynksys PAP2T. The Linksys PAP2T does NOT support T.38, so this statement makes no sense. The Linksys SPA2102 and SPA3102 support T.38. The PAP2 and PAP2T do not. Dialplan is such: answer() wait(6) ReceiveFAX(/var/spool/asterisk/test.tif) Am I doing something wrong here? Apparently. Steve -- _ -- 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] Asterisk 1.6 and fax
On Wed, Sep 8, 2010 at 4:18 PM, Stanislav Korsei kor...@rinogo.com wrote: Can you recommend any specific solution to this problem or way to install app_fax? Not without specific debugging about what problems you're seeing. You get a lot of information when faxes succeed or fail. Try a fax and paste in the debug. -- _ -- 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] Asterisk 1.6 without DAHDI
On 08/05/2010 06:25 PM, Roderick A. Anderson wrote: Kevin P. Fleming wrote: On 08/05/2010 03:52 PM, Roderick A. Anderson wrote: I have a Linux-Vserver guest running CentOS 5.5 with Asterisk 1.6 installed from the asterisk.org and digium.com repositories. I have Asterisk starting (service asterisk start) but see errors about dahdi in /var/log/asterisk/messages. ... ERROR[25658] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory Linux-Vservers don't allow, under normal circumstances, guests to fiddle with /dev. I could create all the entries in /dev/dahdi but as far as I can determine I have no need of dahdi -- Asterisk 1.6.2, SIP only connections, and currently no conference call needs. Is there a way to stop Asterisk (safe_asterisk) from even trying to load dahdi? Yes; don't load codec_dahdi.so in Asterisk. Use 'noload' in your modules.conf file. What packages have you installed from the asterisk.org and digium.com yum repositories? Thanks Kevin. I made that entry and now there are no more dahdi errors in the log file. Here is the command I used to install Asterisk. yum install asterisk16 asterisk16-configs asterisk16-voicemail And here are some RPM queries # rpm -qa | grep asterisk asterisk-sounds-core-en-gsm-1.4.19-1_centos5 asterisk16-core-1.6.2.10-1_centos5 asterisk16-configs-1.6.2.10-1_centos5 asterisk16-dahdi-1.6.2.10-1_centos5 asterisk16-voicemail-1.6.2.10-1_centos5 asterisk16-doc-1.6.2.10-1_centos5 asterisk16-1.6.2.10-1_centos5 If you aren't going to use DAHDI, don't install the asterisk16-dahdi package :-) Without that package, codec_dahdi wouldn't even be on your system, and you would never have had this problem. With that package (which provides codec_dahdi, among other things), the assumption is that you want that module loaded. There are also these packages. # rpm -qa | grep dahdi kmod-dahdi-linux-2.3.0.1-1_centos5.2.6.18_194.8.1.el5 dahdi-firmware-tc400m-MR6.12-1_centos5 dahdi-firmware-oct6114-128-1.05.01-1_centos5 dahdi-firmware-2.0.2-1_centos5 asterisk16-dahdi-1.6.2.10-1_centos5 kmod-dahdi-linux-fwload-vpmadt032-2.3.0.1-1_centos5.2.6.18_194.8.1.el5 dahdi-firmware-oct6114-064-1.05.01-1_centos5 dahdi-firmware-hx8-2.06-1_centos5 dahdi-linux-2.3.0.1-1_centos5 You don't need to have any of these DAHDI packages installed at all. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA skype: kpfleming | jabber: kflem...@digium.com 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] Asterisk 1.6 without DAHDI
On 08/05/2010 03:52 PM, Roderick A. Anderson wrote: I have a Linux-Vserver guest running CentOS 5.5 with Asterisk 1.6 installed from the asterisk.org and digium.com repositories. I have Asterisk starting (service asterisk start) but see errors about dahdi in /var/log/asterisk/messages. ... ERROR[25658] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory Linux-Vservers don't allow, under normal circumstances, guests to fiddle with /dev. I could create all the entries in /dev/dahdi but as far as I can determine I have no need of dahdi -- Asterisk 1.6.2, SIP only connections, and currently no conference call needs. Is there a way to stop Asterisk (safe_asterisk) from even trying to load dahdi? Yes; don't load codec_dahdi.so in Asterisk. Use 'noload' in your modules.conf file. What packages have you installed from the asterisk.org and digium.com yum repositories? -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA skype: kpfleming | jabber: kflem...@digium.com 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] Asterisk 1.6 without DAHDI
Kevin P. Fleming wrote: On 08/05/2010 03:52 PM, Roderick A. Anderson wrote: I have a Linux-Vserver guest running CentOS 5.5 with Asterisk 1.6 installed from the asterisk.org and digium.com repositories. I have Asterisk starting (service asterisk start) but see errors about dahdi in /var/log/asterisk/messages. ... ERROR[25658] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory Linux-Vservers don't allow, under normal circumstances, guests to fiddle with /dev. I could create all the entries in /dev/dahdi but as far as I can determine I have no need of dahdi -- Asterisk 1.6.2, SIP only connections, and currently no conference call needs. Is there a way to stop Asterisk (safe_asterisk) from even trying to load dahdi? Yes; don't load codec_dahdi.so in Asterisk. Use 'noload' in your modules.conf file. What packages have you installed from the asterisk.org and digium.com yum repositories? Thanks Kevin. I made that entry and now there are no more dahdi errors in the log file. Here is the command I used to install Asterisk. yum install asterisk16 asterisk16-configs asterisk16-voicemail And here are some RPM queries # rpm -qa | grep asterisk asterisk-sounds-core-en-gsm-1.4.19-1_centos5 asterisk16-core-1.6.2.10-1_centos5 asterisk16-configs-1.6.2.10-1_centos5 asterisk16-dahdi-1.6.2.10-1_centos5 asterisk16-voicemail-1.6.2.10-1_centos5 asterisk16-doc-1.6.2.10-1_centos5 asterisk16-1.6.2.10-1_centos5 There are also these packages. # rpm -qa | grep dahdi kmod-dahdi-linux-2.3.0.1-1_centos5.2.6.18_194.8.1.el5 dahdi-firmware-tc400m-MR6.12-1_centos5 dahdi-firmware-oct6114-128-1.05.01-1_centos5 dahdi-firmware-2.0.2-1_centos5 asterisk16-dahdi-1.6.2.10-1_centos5 kmod-dahdi-linux-fwload-vpmadt032-2.3.0.1-1_centos5.2.6.18_194.8.1.el5 dahdi-firmware-oct6114-064-1.05.01-1_centos5 dahdi-firmware-hx8-2.06-1_centos5 dahdi-linux-2.3.0.1-1_centos5 There may be more but I haven't taken the time to figure out how to get yum info to work like it used to -- showing the source repo instead of just the current (installed) repo -- so some of these are probably not from the asterisk.org or digium.com repos. There may be more that were installed as dependencies. \\||/ Rod -- -- _ -- 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] Asterisk 1.6 and PrivacyManager with SIP
Try removing the quotes in your n(true) priority. Thanks, --Warren Selby On Aug 2, 2010, at 7:40 PM, Jaap Winius jwin...@umrk.nl wrote: Hi all, My latest Asterisk system is based on Debian squeeze with Asterisk 1.6.2.6-1 and SIP only. One of my favorite features that I had working with Asterisk 1.4 is the PrivacyManager. However, this was not straightforward, because anonymous SIP calls arrive with ${CALLERID(num)} = anonymous, instead of being blank. So, to get it to work I added the first three rules to the following: exten = jaap,1,GotoIf($[${CALLERID(num)}=anonymous]?true:false) exten = jaap,n(true),Set(CALLERID(num)=) exten = jaap,n(false),NoOp() exten = jaap,n,PrivacyManager() exten = jaap,n,GotoIf($[${PRIVACYMGRSTATUS}=FAILED]?bad) exten = jaap,n,Dial(SIP/1000,20,w) exten = jaap,n,Hangup() exten = jaap,n(bad),Playback(im-sorry) exten = jaap,n,Playback(vm-goodbye) exten = jaap,n,Hangup() Unfortunately, this no longer seems to work with Asterisk 1.6: the second rule is still executed, but for some reason the PrivacyManager always decides that the caller ID is present anyway. Should I be doing this differently now, or is something else wrong? Thanks, Jaap -- _ -- 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 -- _ -- 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] Asterisk 1.6 and PrivacyManager with SIP
Quoting Warren Selby wcse...@selbytech.com: Try removing the quotes in your n(true) priority. From FAILED? That makes no difference: with or without the quotes, the result is always 0, which leads in the Dial() rule being executed. Actually, though, that's not even relevant, because before Asterisk even reaches that rule, the CLI shows that the result from the PrivacyManager is: -- CallerID Present: Skipping PrivacyManager is simply failing to determine that the incoming SIP calls are anonymous. Actually, could it be that the second rule of my code, with the Set() command, is simply not working with Asterisk 1.6? Let me try that without the empty set of quotes after the equals sign... Yes, that was it -- it's working again! Here's what it looks like now: exten = jaap,1,GotoIf($[${CALLERID(num)}=anonymous]?true:false) exten = jaap,n(true),Set(CALLERID(num)=) exten = jaap,n(false),NoOp() exten = jaap,n,PrivacyManager(3,10) exten = jaap,n,GotoIf($[${PRIVACYMGRSTATUS}=FAILED]?bad) exten = jaap,n,Dial(SIP/1000,20,w) exten = jaap,n,Hangup() exten = jaap,n(bad),Playback(im-sorry) exten = jaap,n,Playback(vm-goodbye) exten = jaap,n,Hangup() Rule five now has both ${PRIVACYMGRSTATUS} and FAILED without quotes, but that actually did not make any difference. Two things actually fixed the problem. The first and most important was removing the pair of empty quotes from rule two -- otherwise the caller ID is no longer regarded as empty. Second is the addition of 3,10 as options to the PrivacyManager application in rule four. Those are supposed to be the defaults, but without them the PrivacyManager fails to recognize a ten-digit phone number as being sufficient. I consider that a bug. Cheers, Jaap -- _ -- 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] Asterisk 1.6 (and 1.4) DTMF problems using RFC2833
El 29/06/10 15:28, Mark Deneen escribió: We are experiencing intermittent DTMF problems here, with the following setup: ITSP - PIX - Asterisk (g729, RFC2833 for DTMF). I am running Ubuntu server 10.04, but Asterisk is compiled by us and not installed from the software repository. Essentially, DTMF works for some time, but at some point it simply stops and the point at which it stops appears to be random. Using RTP debug, I can verify that the RFC2833 DTMF is being delivered in the RTP stream, and Asterisk knows of it. Independently, wireshark confirms the same. I can't easily remove the PIX, but as the RTP is showing the DTMF I do not believe the firewall is an issue. Our ITSP is registered as a SIP provider, and we can receive calls just fine. I've attached a file containing portions of the asterisk log, the wireshark log and the dialplan. Has anyone else run into this situation? Best Regards, Mark Deneen I've experienced a similar DTMF issue with recent asterisk 1.4 versions (1.4.32, 1.4.33.1), I'm not sure about 1.6.2.X. What happens here is that the DMTF activated features, like disconnect (default *) or blind transfer (default #) stops working after a while. Agents are able to transfer or hangup a few calls and then it stops working. Doing some debugging I could see that asterisk knows (receives) the DMTF too but the features are not triggered... Anyone else has run into this? Regards, -- Ing. Miguel Molina Grupo de Tecnología Millenium Phone Center -- _ -- 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] Asterisk 1.6 (and 1.4) DTMF problems using RFC2833
On Thu, Jul 1, 2010 at 7:09 PM, Miguel Molina mmol...@millenium.com.cowrote: I've experienced a similar DTMF issue with recent asterisk 1.4 versions (1.4.32, 1.4.33.1), I'm not sure about 1.6.2.X. What happens here is that the DMTF activated features, like disconnect (default *) or blind transfer (default #) stops working after a while. Agents are able to transfer or hangup a few calls and then it stops working. Doing some debugging I could see that asterisk knows (receives) the DMTF too but the features are not triggered... Anyone else has run into this? Miguel, I've tracked it down to a problem with some recent code which was added to detect DTMF RTP frames coming in out of sequence. https://issues.asterisk.org/view.php?id=17571nbn=5 Mark -- _ -- 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] Asterisk 1.6 and multiple parking
Hi, Thanks, I thought I could find out about that without installing 1.6, but in the end I did install it on a test server and it answered a few questions. One thing though: I can park calls, in separate private lots, but I can never pick them up again. I have context = some_context defined in features.conf (under the private parking lot) and an include = some_context at the right place, and when I park a call exten = 800 (thats what I use) appears correctly. But I can't seem to pick it up, when I dial 800 it says I am sorry there is no call parked on that extension. This is the relevant context when a call is parked. It clearly shows a call being parked. localhost*CLI dialplan show parkingtest [ Context 'parkingtest' created by 'features' ] '700' = 1. Park() [features] '800' = 1. ParkedCall(800)[features] And the features.conf snippet (everything else is default features.conf from 1.6): [parkinglot_test] context = parkingtest parkpos = 800-805 findslot = next What am I missing you think? I only set the CHANNEL(parkinglot) value when parking the call. Do I need to set that value when picking up a call? (after all, I have no accessz to extension 800 it is created by features.conf) Regards, Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Aksel Celasun Sent: Monday, June 28, 2010 16:52 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hello there You should have a look at features.conf Regards Aksel Fra: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] På vegne av Mike Sendt: 28. juni 2010 21:39 Til: 'Asterisk Users Mailing List - Non-Commercial Discussion' Emne: [asterisk-users] Asterisk 1.6 and multiple parking Hi, One of the big features of 1.6 was described as multi-tenant parking. Basically, parking people in different lots so the sales dept. could only pick up their calls, and tech support theirs and no mix up was possible. I can only find the original announcement and others asking the same question. Is there some sort of sample conf file of how I would get this functionnal on the latest 1.6.x? Regards, Mike -- _ -- 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] Asterisk 1.6 and multiple parking
Actually, I should simply have tried. I did need to set CHANNEL(parkinglot). I may have some more questions, but at least it's working right now, and use my own custom extension to pickup the calls. So basically I don't need to (or even can!) include the parking context, I need to setup the extensions myself. For futur reference. Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:22 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hi, Thanks, I thought I could find out about that without installing 1.6, but in the end I did install it on a test server and it answered a few questions. One thing though: I can park calls, in separate private lots, but I can never pick them up again. I have context = some_context defined in features.conf (under the private parking lot) and an include = some_context at the right place, and when I park a call exten = 800 (thats what I use) appears correctly. But I can't seem to pick it up, when I dial 800 it says I am sorry there is no call parked on that extension. This is the relevant context when a call is parked. It clearly shows a call being parked. localhost*CLI dialplan show parkingtest [ Context 'parkingtest' created by 'features' ] '700' = 1. Park() [features] '800' = 1. ParkedCall(800)[features] And the features.conf snippet (everything else is default features.conf from 1.6): [parkinglot_test] context = parkingtest parkpos = 800-805 findslot = next What am I missing you think? I only set the CHANNEL(parkinglot) value when parking the call. Do I need to set that value when picking up a call? (after all, I have no accessz to extension 800 it is created by features.conf) Regards, Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Aksel Celasun Sent: Monday, June 28, 2010 16:52 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hello there You should have a look at features.conf Regards Aksel Fra: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] På vegne av Mike Sendt: 28. juni 2010 21:39 Til: 'Asterisk Users Mailing List - Non-Commercial Discussion' Emne: [asterisk-users] Asterisk 1.6 and multiple parking Hi, One of the big features of 1.6 was described as multi-tenant parking. Basically, parking people in different lots so the sales dept. could only pick up their calls, and tech support theirs and no mix up was possible. I can only find the original announcement and others asking the same question. Is there some sort of sample conf file of how I would get this functionnal on the latest 1.6.x? Regards, Mike -- _ -- 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] Asterisk 1.6 and multiple parking
Here is my only question left about parkinglots in 1.6. How does the parkinghints=yes parameter work? I've tried using core show hints , but there are never any hints. Even when a call is actually parked in the correct parking lot. Any tips? Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:27 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Actually, I should simply have tried. I did need to set CHANNEL(parkinglot). I may have some more questions, but at least it's working right now, and use my own custom extension to pickup the calls. So basically I don't need to (or even can!) include the parking context, I need to setup the extensions myself. For futur reference. Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:22 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hi, Thanks, I thought I could find out about that without installing 1.6, but in the end I did install it on a test server and it answered a few questions. One thing though: I can park calls, in separate private lots, but I can never pick them up again. I have context = some_context defined in features.conf (under the private parking lot) and an include = some_context at the right place, and when I park a call exten = 800 (thats what I use) appears correctly. But I can't seem to pick it up, when I dial 800 it says I am sorry there is no call parked on that extension. This is the relevant context when a call is parked. It clearly shows a call being parked. localhost*CLI dialplan show parkingtest [ Context 'parkingtest' created by 'features' ] '700' = 1. Park() [features] '800' = 1. ParkedCall(800)[features] And the features.conf snippet (everything else is default features.conf from 1.6): [parkinglot_test] context = parkingtest parkpos = 800-805 findslot = next What am I missing you think? I only set the CHANNEL(parkinglot) value when parking the call. Do I need to set that value when picking up a call? (after all, I have no accessz to extension 800 it is created by features.conf) Regards, Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Aksel Celasun Sent: Monday, June 28, 2010 16:52 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hello there You should have a look at features.conf Regards Aksel Fra: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] På vegne av Mike Sendt: 28. juni 2010 21:39 Til: 'Asterisk Users Mailing List - Non-Commercial Discussion' Emne: [asterisk-users] Asterisk 1.6 and multiple parking Hi, One of the big features of 1.6 was described as multi-tenant parking. Basically, parking people in different lots so the sales dept. could only pick up their calls, and tech support theirs and no mix up was possible. I can only find the original announcement and others asking the same question. Is there some sort of sample conf file of how I would get this functionnal on the latest 1.6.x? Regards, Mike -- _ -- 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] Asterisk 1.6 and multiple parking
In 1.4 you set up the lots you want to monitor as hints; not sure how this works in 1.6. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:24 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Here is my only question left about parkinglots in 1.6. How does the parkinghints=yes parameter work? I've tried using core show hints , but there are never any hints. Even when a call is actually parked in the correct parking lot. Any tips? Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:27 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Actually, I should simply have tried. I did need to set CHANNEL(parkinglot). I may have some more questions, but at least it's working right now, and use my own custom extension to pickup the calls. So basically I don't need to (or even can!) include the parking context, I need to setup the extensions myself. For futur reference. Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:22 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hi, Thanks, I thought I could find out about that without installing 1.6, but in the end I did install it on a test server and it answered a few questions. One thing though: I can park calls, in separate private lots, but I can never pick them up again. I have context = some_context defined in features.conf (under the private parking lot) and an include = some_context at the right place, and when I park a call exten = 800 (thats what I use) appears correctly. But I can't seem to pick it up, when I dial 800 it says I am sorry there is no call parked on that extension. This is the relevant context when a call is parked. It clearly shows a call being parked. localhost*CLI dialplan show parkingtest [ Context 'parkingtest' created by 'features' ] '700' = 1. Park() [features] '800' = 1. ParkedCall(800)[features] And the features.conf snippet (everything else is default features.conf from 1.6): [parkinglot_test] context = parkingtest parkpos = 800-805 findslot = next What am I missing you think? I only set the CHANNEL(parkinglot) value when parking the call. Do I need to set that value when picking up a call? (after all, I have no accessz to extension 800 it is created by features.conf) Regards, Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Aksel Celasun Sent: Monday, June 28, 2010 16:52 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hello there You should have a look at features.conf Regards Aksel Fra: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] På vegne av Mike Sendt: 28. juni 2010 21:39 Til: 'Asterisk Users Mailing List - Non-Commercial Discussion' Emne: [asterisk-users] Asterisk 1.6 and multiple parking Hi, One of the big features of 1.6 was described as multi-tenant parking. Basically, parking people in different lots so the sales dept. could only pick up their calls, and tech support theirs and no mix up was possible. I can only find the original announcement and others asking the same question. Is there some sort of sample conf file of how I would get this functionnal on the latest 1.6.x? Regards, Mike -- _ -- 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] Asterisk 1.6 and multiple parking
I know, I've done this with 1.4 manually with hint extensions. But in 1.6 there is a parameter called parkinghints=yes that is supposed to set them up automatically. It certainly doesn't seem to be doing anything for me. Thanks, Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Danny Nicholas Sent: Wednesday, June 30, 2010 13:38 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking In 1.4 you set up the lots you want to monitor as hints; not sure how this works in 1.6. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:24 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Here is my only question left about parkinglots in 1.6. How does the parkinghints=yes parameter work? I've tried using core show hints , but there are never any hints. Even when a call is actually parked in the correct parking lot. Any tips? Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:27 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Actually, I should simply have tried. I did need to set CHANNEL(parkinglot). I may have some more questions, but at least it's working right now, and use my own custom extension to pickup the calls. So basically I don't need to (or even can!) include the parking context, I need to setup the extensions myself. For futur reference. Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Mike Sent: Wednesday, June 30, 2010 11:22 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hi, Thanks, I thought I could find out about that without installing 1.6, but in the end I did install it on a test server and it answered a few questions. One thing though: I can park calls, in separate private lots, but I can never pick them up again. I have context = some_context defined in features.conf (under the private parking lot) and an include = some_context at the right place, and when I park a call exten = 800 (thats what I use) appears correctly. But I can't seem to pick it up, when I dial 800 it says I am sorry there is no call parked on that extension. This is the relevant context when a call is parked. It clearly shows a call being parked. localhost*CLI dialplan show parkingtest [ Context 'parkingtest' created by 'features' ] '700' = 1. Park() [features] '800' = 1. ParkedCall(800)[features] And the features.conf snippet (everything else is default features.conf from 1.6): [parkinglot_test] context = parkingtest parkpos = 800-805 findslot = next What am I missing you think? I only set the CHANNEL(parkinglot) value when parking the call. Do I need to set that value when picking up a call? (after all, I have no accessz to extension 800 it is created by features.conf) Regards, Mike From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Aksel Celasun Sent: Monday, June 28, 2010 16:52 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk 1.6 and multiple parking Hello there You should have a look at features.conf Regards Aksel Fra: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] På vegne av Mike Sendt: 28. juni 2010 21:39 Til: 'Asterisk Users Mailing List - Non-Commercial Discussion' Emne: [asterisk-users] Asterisk 1.6 and multiple parking Hi, One of the big features of 1.6 was described as multi-tenant parking. Basically, parking people in different lots so the sales dept. could only pick up their calls, and tech support theirs and no mix up was possible. I can only find the original announcement and others asking the same question. Is there some sort of sample conf file of how I would get this functionnal on the latest 1.6.x? Regards, Mike -- _ -- 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] Asterisk 1.6 and multiple parking
Hello there You should have a look at features.conf Regards Aksel Fra: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] På vegne av Mike Sendt: 28. juni 2010 21:39 Til: 'Asterisk Users Mailing List - Non-Commercial Discussion' Emne: [asterisk-users] Asterisk 1.6 and multiple parking Hi, One of the big features of 1.6 was described as multi-tenant parking. Basically, parking people in different lots so the sales dept. could only pick up their calls, and tech support theirs and no mix up was possible. I can only find the original announcement and others asking the same question. Is there some sort of sample conf file of how I would get this functionnal on the latest 1.6.x? Regards, Mike -- _ -- 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] Asterisk 1.6 + Jabber crashes
Michael wrote: I am attempting to setup Asterisk to work with Gtalk. I am using the following versions: Slackware Linux 12.0 Asterisk 1.6.2.9 GNU TLS 2.8.6 Iksemel (svn v25) OpenSSL 0.9.8o It all compiles however about 10 seconds after starting Asterisk it crashes. If there is any other information needed please advise. http://svn.asterisk.org/svn/asterisk/trunk/doc/HOWTO_collect_debug_information.txt Leif. -- _ -- 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] Asterisk 1.6 and OpenVPN RTP problem
Hello Platt, Thank you for help. I have tested and it works fine. -- Please discover scientific miracles of CORAN http://www.55a.net/ -- _ -- 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] Asterisk 1.6 and OpenVPN RTP problem
Hello, Thank you for your reply. The first proposed solution has resolved the problem for a test in the local network. Another test is planned today later with a client in the same NAT and another in the public internet with a public static ip address. Do you have any advice for that case? -- *Please discover scientific miracles of CORAN* http://www.55a.net/ -- _ -- 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] Asterisk 1.6 and OpenVPN RTP problem
Thank you for your reply. The first proposed solution has resolved the problem for a test in the local network. Another test is planned today later with a client in the same NAT and another in the public internet with a public static ip address. Do you have any advice for that case? That case should work out fine if you've specified directmedia=no for the client(s) on the NAT/OpenVPN side, as long as the Asterisk server has a public IP address. Asterisk will forward the RTP between the client on the public Internet, and the client on the OpenVPN tunnel. You won't need to have a routable connection directly between the two clients. I run my own setup this way. All clients on my home LAN, and my OpenVPN'ed mobile (Nokia N810) specify directmedia=no. I can make calls (RTP both ways, no trouble) between them, between one of them and a client on the public Internet, and between them and various VoIP providers' systems. Using OpenVPN, and depending on Asterisk to forward the RTP, seems to be a *lot* more reliable than trying to do direct SIP/RTP and depending on STUN or SIP-aware NAT gateways. -- _ -- 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] Asterisk 1.6 and OpenVPN RTP problem
mosbah.abdelkader wrote: Hello All, I have installed Asterisk 1.6 with openVPN in the same machine. I have set up a VPN connection between 2 SIP clients and Asterisk using x-lite. Just a guess, set canreinvite=no in the sip.conf for each of the end points Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- _ -- 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] Asterisk 1.6 and OpenVPN RTP problem
Hello All, I have installed Asterisk 1.6 with openVPN in the same machine. I have set up a VPN connection between 2 SIP clients and Asterisk using x-lite. The 2 clients connects to Asterisk. SIP signaling goes ok over the vpn tunnel. When attempting to make a call between the clients, the siganling part of the call goes well. But, when the call is set up, some RTP packets are exchanged at the beginning and then the RTP flow stops (no RTP is exchangd). Wireshark demonstrates no problem with SIP signaling. I am using OpenVPN 2.1.1. Has anyone had such a problem. I had a vaguely-similar problem, getting a Nokia N810's Telepathy- based SIP client to talk to Asterisk over an OpenVPN connection. The problem in that case turned out to be the fact that the Nokia was sending all of the packets to the Asterisk server, using its primary-network (WiFi) IP address, rather than the address to which its end of the OpenVPN tunnel was bound. The SIP packets from the Asterisk server had no way to get back to the client. The fix for this was to stick a couple of scripts into the Nokia, to be executed when OpenVPN started or stopped the VPN tunnel. The up script changes the SIP configuration, setting its local IP address parameter to that of the Nokia end of the tunnel, while the down script clears this override. Works fine. That doesn't sound like exactly the problem you're having, though, since you're getting SIP through the tunnel OK. The problem sounds more as if the RTP packets from one client are either not being send through the tunnel at all, or are being dropped prior to getting to the other. There may be a couple of ways to fix this: (1) As another poster suggested, specify canreinvite=no (or, in 1.6, directmedia=no) for each of your SIP clients. This will prevent them from trying to send the RTP directly to one another, instead sending it to Asterisk for forwarding. This is probably the most reliable approach. It's also probably the only one which will allow reliable connections between these clients, and SIP endpoints which aren't part of your own local IP-address space. (2) If you really do want to try to allow directmedia connections between the clients, you'll need to make certain of two things: [A] Your OpenVPN setup, for each client, must install a route on each client which directs the client to send all packets for any address on the entire VPN back to the VPN server. Without such a route being installed, it's likely that the OpenVPN-installed routing would only channel packets for the OpenVPN server itself into the tunnel. Packets for other IP addresses in the OpenVPN range would end up being sent out through the client's normal IP route, and probably lost forever in the grand stew of the Intertube. [B] Make sure that your OpenVPN setup allows direct client-to- client communications. There's a parameter which can disable this, and permits only client-to-server packets to survive... make sure you haven't set this. (3) You may need to make sure that your iptables (or similar) configuration isn't accidentally NAT'ing packets which are trying to come in through the OpenVPN tunnel and then go back out through another OpenVPN tunnel. -- _ -- 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] asterisk 1.6 enable cdr_mysql
http://hostseries.com/asterisk-cdr-logging-in-mysql/ http://www.asterisk.net.au/tutorial/10/ http://www.voip-info.org/wiki/view/Asterisk+cdr+mysql http://www.spiration.co.uk/post/1327/asterisk-addons%20setting%20up%20mysql%20cdr%20for%20Asterisk On Fri, Oct 30, 2009 at 11:35 AM, Joseph syscon...@gmail.com wrote: How to enable cdr_mysql.conf in Asterisk 1.6? I have installed asterisk-addons which compiled mysql support, module show is showing cdr_addon_mysql.so but cdr_mysql.conf was not created in /asterisk directory Is there any configuration file to enable mysql support? Comping cdr_mysql.conf from previous installation does not do anything, calls aren't recorded. -- Joseph ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Regards, Prince Singh Drishti-Soft Solutions Pvt Ltd 62-A, First Floor, Maruti Industrial Area, Sector - 18, Gurgaon - 122016 Haryana, India. P: 91 124 4771000 F: 91 124 4039120 W: http://www.drishti-soft.com B: http://blog.drishti-soft.com DISCLAIMER This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Drishti-Soft Solutions Pvt Ltd (Drishti) unless sent with that express intent and with due authority of Drishti. Drishti has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] asterisk 1.6 enable cdr_mysql
On Friday 30 October 2009 01:05:26 Joseph wrote: How to enable cdr_mysql.conf in Asterisk 1.6? I have installed asterisk-addons which compiled mysql support, module show is showing cdr_addon_mysql.so but cdr_mysql.conf was not created in /asterisk directory Is there any configuration file to enable mysql support? Comping cdr_mysql.conf from previous installation does not do anything, calls aren't recorded. Don't forget to type 'make samples' after the 'make install' (in the addons source directory). -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com www.asterisk.org ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] asterisk 1.6 enable cdr_mysql
Thanks Prince (good links) and Tilghman. I'm using Gentoo installation of Asterisk-1.6.1.8-r1 that just showed up on portage. I've emerged(installed) asterisk-addons and this file usually creates necessary drivers and copy cdr_mysql.conf file into /etc/asterisk (it worked in past verions 1.2 and 1.4) but this version failed to create the cdr_mysql.conf in asterisk directory. The drivers are loaded OK and checking modules show is showing the correct drivers are loaded: cdr_addon_mysql.so - MySQL CDR Backend app_addon_sql_mysql.so Simple Mysql Interface res_config_mysql.soMySQL RealTime Configuration Driver I've copied manually my old cdr_mysql.conf from asterisk 1.2 and 1.4 (I've been using) eg. [global] hostname=127.0.0.1 dbname=asteriskcdrdb table=cdr password=my_password user=asteriskcdruser but this doesn't work, records are not being recorded in mysql-cdr (mysql is up and running). So it is something in addition to cdr_mysql.conf file; asterisk -vr is not showing any errors, and I don't know how else to test it? I've filed a bug with Gentoo. -- Joseph On 10/30/09 08:48, Tilghman Lesher wrote: On Friday 30 October 2009 01:05:26 Joseph wrote: How to enable cdr_mysql.conf in Asterisk 1.6? I have installed asterisk-addons which compiled mysql support, module show is showing cdr_addon_mysql.so but cdr_mysql.conf was not created in /asterisk directory Is there any configuration file to enable mysql support? Comping cdr_mysql.conf from previous installation does not do anything, calls aren't recorded. Don't forget to type 'make samples' after the 'make install' (in the addons source directory). -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com www.asterisk.org ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Joseph ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users