Re: [asterisk-users] Host = Dynamic in a Register Free Setup
I can't imagine it working any other way. Either your phones are on static IP addresses or they must register to inform Asterisk the IP associated with the peer entry in sip.conf.Unless you have chan_psychic.so Asterisk won't know the IP of the phones unless you tell it. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Nick Cameo Sent: Monday, February 17, 2014 2:53 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Host = Dynamic in a Register Free Setup Shiza Sounds about right but is it true? Anyone else? -- _ -- 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] Host = Dynamic in a Register Free Setup
Is Asterisk not able to gather IP and port info on INVITES in a REGISTER free, host=dynamic setup? As you all know REGISTERS are resourceful and the phone can be anywhere.. Kind Regards, Nick. -- _ -- 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] Host = Dynamic in a Register Free Setup
No. Asterisk will accept calls from unregistered devices, but you have to enable guests I sip.conf and hope your dialplan is secure. No sane person does this. Asterisk cannot send calls to a device unless it knows the address from a register or from a host= entry for the peer. You may not like it, but this is the way Asteirsk has worked for the past 15 years. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Nick Cameo Sent: Tuesday, February 18, 2014 1:59 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Host = Dynamic in a Register Free Setup Is Asterisk not able to gather IP and port info on INVITES in a REGISTER free, host=dynamic setup? As you all know REGISTERS are resourceful and the phone can be anywhere.. Kind Regards, Nick. -- _ -- 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] Host = Dynamic in a Register Free Setup
On 2/18/2014 2:09 PM, Eric Wieling wrote: No. Asterisk will accept calls from unregistered devices, but you have to enable guests I sip.conf and hope your dialplan is secure. No sane person does this. Asterisk cannot send calls to a device unless it knows the address from a register or from a host= entry for the peer. You may not like it, but this is the way Asteirsk has worked for the past 15 years. Isn't there also autocreatepeer? -- _ -- 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] Host = Dynamic in a Register Free Setup
Hello Eric, On 2/18/14, Eric Wieling ewiel...@nyigc.com wrote: No. Asterisk will accept calls from unregistered devices, but you have to enable guests I sip.conf and hope your dialplan is secure. No sane person does this. Thank you for your response. Our security layer is abstracted out of the Asterisk boxes completely. The setup is secure we just need Asterisk to fill in the gaps (ie, ipaddrss and port) after initial INVITE vs. REGISTER. Kind Regards, Nick. -- _ -- 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] Host = Dynamic in a Register Free Setup
autocreatepeer still requires registration, from sip.conf.sample: ;autocreatepeer=no ; Allow any UAC not explicitly defined to register ; WITHOUT AUTHENTICATION. Enabling this options poses a high ; potential security risk and should be avoided unless the ; server is behind a trusted firewall. ; If set to yes, then peers created in this fashion ; are purged during SIP reloads. ; When set to persist, the peers created in this fashion ; are not purged during SIP reloads. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of James Sharp Sent: Tuesday, February 18, 2014 2:13 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Host = Dynamic in a Register Free Setup On 2/18/2014 2:09 PM, Eric Wieling wrote: No. Asterisk will accept calls from unregistered devices, but you have to enable guests I sip.conf and hope your dialplan is secure. No sane person does this. Asterisk cannot send calls to a device unless it knows the address from a register or from a host= entry for the peer. You may not like it, but this is the way Asteirsk has worked for the past 15 years. Isn't there also autocreatepeer? -- _ -- 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] Host = Dynamic in a Register Free Setup
I just want to clarify. We are not creating peers automatically. And we allowguest=no. We do have peer entries in sip_buddies db as you would expect. As mentioned, we just don't allow phones to REGISTER every 3600 (for example). Once a valid peer/phone tries to place a call, we would like asterisk to store the ipaddr and port of the phone to be able to create the SIP channel for incoming calls. As mentioned security is managed elsewhere. N. -- _ -- 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] Host = Dynamic in a Register Free Setup
asterisk-users-boun...@lists.digium.com wrote on 02/18/2014 01:35:13 PM: From: Nick Cameo sym...@gmail.com To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com, Date: 02/18/2014 01:35 PM Subject: Re: [asterisk-users] Host = Dynamic in a Register Free Setup Sent by: asterisk-users-boun...@lists.digium.com I just want to clarify. We are not creating peers automatically. And we allowguest=no. We do have peer entries in sip_buddies db as you would expect. As mentioned, we just don't allow phones to REGISTER every 3600 (for example). Once a valid peer/phone tries to place a call, we would like asterisk to store the ipaddr and port of the phone to be able to create the SIP channel for incoming calls. As mentioned security is managed elsewhere. I am really curious. What do you hope to gain by preventing the phones from registering periodically?-- _ -- 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] Host = Dynamic in a Register Free Setup
On Sun, 16 Feb 2014 21:21:30 -0500 Nick Cameo sym...@gmail.com wrote: Our environment is a register free setup, and our phones are set as host=dynamic. The problem we are experiencing is for inbound calls: Name/username HostDyn Forcerport ACL Port Status Realtime 222/222 (Unspecified)D N A 0 Unmonitored Cached RT So when we DIAL 222 we get: WARNING[23103]: app_dial.c:2198 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown) My question is how can we get Asterisk to fill in the gaps (ie, ipaddr, port) for a dynamic peer in a register free environment. There are two ways for Asterisk to get the IP address for a peer: 1. Provide the address statically with host=address entries. 2. Allow the peer to register. I don't believe there is any other way for Asterisk to get the IP address. What this means is, you can have a register-free environment or you can have host=dynamic, but you can't have both. -- C. Chad Wallace, B.Sc. The Lodging Company http://www.lodgingcompany.com/ OpenPGP Public Key ID: 0x262208A0 -- _ -- 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] Host = Dynamic in a Register Free Setup
Shiza Sounds about right but is it true? Anyone else? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Host = Dynamic in a Register Free Setup
Hello Everyone. Our environment is a register free setup, and our phones are set as host=dynamic. The problem we are experiencing is for inbound calls: Name/username HostDyn Forcerport ACL Port Status Realtime 222/222 (Unspecified)D N A 0 Unmonitored Cached RT So when we DIAL 222 we get: WARNING[23103]: app_dial.c:2198 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown) My question is how can we get Asterisk to fill in the gaps (ie, ipaddr, port) for a dynamic peer in a register free environment. Kind Regards, Nick. -- _ -- 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