Re: [asterisk-users] how to make voip client cannot use same username?
On Sun, Sep 28, 2014 at 11:51 AM, rafa alfurqan rafa.alfur...@gmail.com wrote: Hi All, I have one asterisks server and 3 client (i'm using voip sip client for my handphone). I've configured sip.conf and extension.conf with 3 user different. And nothing wrong with them, i could make them to make a call too. what i want to ask is, i was try to use 1 user (ex:1001) in 2 different client. example: client 1 (1001) make a call to client 2 (1002) -- ok then in client 3, i used (1001) same username with client 1. when client 1 is connecting with client 2, my client 3 could make a call to with client 2 (1002) with the same username in client 1. how i could make the system, so i cannot use with 1 username in 2 different client before i make a call (when registering process in voip client), or at least my voip client cannot use same username if that username is connected with the other user? Since what you describe is a valid for SIP, you'll have to drop the packets at the network level (firewall). Or use the ACL system in asterisk to restrict it. -- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://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
[asterisk-users] Dahdi problem with dahdi_genconf
Hi, It's the first time i try to configure an ISDN card with dahdi, so my experience is very poor (be kind ;)) My problem is with dahdi_genconf, when i start it it says: /usr/sbin/dahdi_span_assignments: Missing '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?) Command failed (status=256): 'dahdi_span_assignments dumpconfig /etc/dahdi/assigned-spans.conf' at /usr/local/share/perl/5.18.2/Dahdi/Config/Gen/Assignedspans.pm line 40. Here is my dahdi_scan: [1] active=yes alarms=UNCONFIGURED description=HFC-S PCI A ISDN card 0 [TE] name=ZTHFC1 manufacturer=Cologne Chips devicetype=HFC-S PCI-A ISDN location=PCI Bus 01 Slot 10 basechan=1 totchans=3 irq=18 type=digital-TE syncsrc=0 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=AMI framing_opts=CCS coding= framing=CAS dahdi_hardware pci::01:09.0 zaphfc+ 1397:2bd0 HFC-S ISDN BRI card lsmod zaphfc 22268 0 dahdi 204045 1 zaphfc DAHDI Version: 2.5.0.1 Echo Canceller: HWEC Obviously in asterisk, there is no channel configured: *CLI dahdi show channels Chan Extension Context Language MOH Interpret BlockedState Description pseudo defaultdefault My big problem is i can't test the ISDN line with a phone (i don't have an ISDN phone), so my dubt now is the NT1 is not working correctly... Any suggestion about this ? Thank you in advance. Cordially, Claudio. -- _ -- 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] how to make voip client cannot use same username?
Hi Paul, thanks for your repply. Since what you describe is a valid for SIP, you'll have to drop the packets at the network level (firewall). Or use the ACL system in asterisk to restrict it. i was try change the host from dynamic to spesific ip address. but somehow my sipphone couldn't register into server, however it's still could make a call but couldn't be called. i was try permit statement too, but the result is same. this is my sip.conf [1001] type = friend context = test username = 1001 secret = 12345 host = 192.168.1.5 nat = no disallow = no allow = ulaw permit = 192.168.1.5/255/255.255.255.0 is there anything wrong? how could i make matching on username instead of ip address? thanks in advance -- _ -- 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] Dahdi problem with dahdi_genconf
On Mon, Sep 29, 2014 at 03:52:25PM +0200, Claudio ML wrote: Hi, It's the first time i try to configure an ISDN card with dahdi, so my experience is very poor (be kind ;)) My problem is with dahdi_genconf, when i start it it says: /usr/sbin/dahdi_span_assignments: Missing '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?) What version of the DAHDI drivers is loaded? cat /sys/module/dahdi/version -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.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] Dahdi problem with dahdi_genconf
Il 29/09/2014 15:57, Tzafrir Cohen ha scritto: On Mon, Sep 29, 2014 at 03:52:25PM +0200, Claudio ML wrote: Hi, It's the first time i try to configure an ISDN card with dahdi, so my experience is very poor (be kind ;)) My problem is with dahdi_genconf, when i start it it says: /usr/sbin/dahdi_span_assignments: Missing '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?) What version of the DAHDI drivers is loaded? cat /sys/module/dahdi/version cat /sys/module/dahdi/version 2.5.0.1 It seems the right one. -- _ -- 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