[asterisk-users] Is it possible to set asterisk's VoIP authentication to be based on EAP-SIM auth of freeradius?

2014-08-07 Thread rafa alfurqan
Hi all,

I want to make initial VoIP authentication process from asterisk server to
be based on EAP-SIM authentication of Freeradius server (so it will be not
necessary to insert account datas in the asterisk database). Is there any
way of doing that from Freeradius and Asterisk? Or at least, is there any
way to sync the EAP-SIM data on Freeradius to asterisk server?

thank you
-- 
_
-- 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] Is it possible to set asterisk's VoIP authentication to be based on EAP-SIM auth of freeradius?

2014-08-08 Thread rafa alfurqan
Hi Shishir,

thanks your your response, would you help me about how to set up in the sip
proxy server? actually, i'm beginner on asterisk.


thank you.


Hi Jaya,

it would be nice for me if i can assist you, but i don't know to much about
asterisk. i'm sorry


On Fri, Aug 8, 2014 at 3:05 AM, Shishir Pokharel 
wrote:

>  You can use sip proxy servers  on top of asterisk server to have a
> authentication from freeradius, at this point I don’t think asterisk
> supports what you are looking for.
>
>
>
> Try this
>
> http://www.opensips.org/Documentation/Tutorials-Radius
>
>
>
> *From:* asterisk-users-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com] *On Behalf Of *rafa alfurqan
> *Sent:* Thursday, August 07, 2014 12:30 AM
> *To:* asterisk-users@lists.digium.com
> *Subject:* [asterisk-users] Is it possible to set asterisk's VoIP
> authentication to be based on EAP-SIM auth of freeradius?
>
>
>
> Hi all,
>
>
>
> I want to make initial VoIP authentication process from asterisk server to
> be based on EAP-SIM authentication of Freeradius server (so it will be not
> necessary to insert account datas in the asterisk database). Is there any
> way of doing that from Freeradius and Asterisk? Or at least, is there any
> way to sync the EAP-SIM data on Freeradius to asterisk server?
>
>
>
> thank you
>
> --
> _
> -- 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] Is it possible to set asterisk's VoIP authentication to be based on EAP-SIM auth of freeradius?

2014-08-09 Thread rafa alfurqan
Hi Shishir,

thank you for your guide,
hope this could help me a lot.



Rafa
-- 
_
-- 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] auto authentication for voip client

2014-08-26 Thread rafa alfurqan
Hi,

Is it possible asterisk could provide voip client have auto authentication
ability? so in the voip client we don't have to input user and password and
what we have to input in voip client just ip gateway?
Just in the voip client, because in asterisk we have to input user and
password in the extension file. have anyone tried like that before? or at
least there's any way to do like that?

very thank you in advance.


rafa
-- 
_
-- 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] How to use phpmyadmin to remotely access asterisk mysql database?

2014-09-11 Thread rafa alfurqan
Hi,

Could anyone help me to tell me about how to install and using phpmyadmin
to remotely access asterisk mysql database?

I'm using asterisk 11.0.1 on ubuntu 10.04
and mysql-server version is 5.1.73-0ubuntu0.10.04.1 (ubuntu)

really need help.

thank you
-- 
_
-- 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 use phpmyadmin to remotely access asterisk mysql database?

2014-09-11 Thread rafa alfurqan
Hi,

thank you for your repplied,

> As you're on Ubuntu, you can begin with
> $ sudo apt-get install phpmyadmin

i did that, so what i have to do for the configuration in asterisk so i
could remote to asterisk database from phpmyadmin?

> Also, 10.04 is a really old Ubuntu release now, even although it is a Long
> Term Support one.  Consider upgrading to 14.04.  You can apt-get
dist-upgrade
> straight from an LTS release to the next LTS release, without needing to
go
> through all the intermediate releases.

really appreciate for the advice, i'll do that after i could remote to
asterisk database from phpmyadmin.

actually i have installed freeradius-server on my ubuntu too, and i could
remote the database freeradius from phpmyadmin.
is it possible if same phpmyadmin could remote database from
freeradius-server and asterisk (they are on same server)?


thank you
-- 
_
-- 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 use phpmyadmin to remotely access asterisk mysql database?

2014-09-11 Thread rafa alfurqan
Hi Rainer,

> are you sure about allowing remote access to phpmyadmin ??? think about
security first !!!

yes i'm sure coz it's not for commercial, just for my research.

> I suggest  HeidiSQL Client at your Home PC
> connecting via SSH Tunnel to your remote mySQL listening at localhost
only.

i just heard HeidiSQL from here, it's like a tool? actually i have no basic
for anything about database or voip.
if you mind, would you give me a tutorial or anything to configure that?

thank you so much


On Thu, Sep 11, 2014 at 3:46 PM, Rainer Piper 
wrote:

>  Am 11.09.2014 um 10:36 schrieb rafa alfurqan:
>
>  Hi,
>
>  thank you for your repplied,
>
> > As you're on Ubuntu, you can begin with
> > $ sudo apt-get install phpmyadmin
>
> i did that, so what i have to do for the configuration in asterisk so i
> could remote to asterisk database from phpmyadmin?
>
> > Also, 10.04 is a really old Ubuntu release now, even although it is a
> Long
> > Term Support one.  Consider upgrading to 14.04.  You can apt-get
> dist-upgrade
> > straight from an LTS release to the next LTS release, without needing to
> go
> > through all the intermediate releases.
>
>  really appreciate for the advice, i'll do that after i could remote to
> asterisk database from phpmyadmin.
>
>  actually i have installed freeradius-server on my ubuntu too, and i
> could remote the database freeradius from phpmyadmin.
> is it possible if same phpmyadmin could remote database from
> freeradius-server and asterisk (they are on same server)?
>
>
>  thank you
>
>
>  are you sure about allowing remote access to phpmyadmin ??? think about
> security first !!!
>
> I suggest  HeidiSQL Client at your Home PC
> connecting via SSH Tunnel to your remote mySQL listening at localhost only.
>
> link to heidiSQL -> http://www.heidisql.com/
>
>
> --
> *Rainer Piper*
> Integration engineer
> Koeslinstr. 56
> 53123 BONN
> GERMANY
> Phone: +49 228 97167161 
> P2P: sip:rai...@sip.soho-piper.de:5072 (pjsip-test)
> XMPP: rai...@xmpp.soho-piper.de
>
> --
> _
> -- 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] How to use phpmyadmin to remotely access asterisk mysql database?

2014-09-11 Thread rafa alfurqan
Hi Alok,

> yes u can access form same phpmyadmin both database, depends, for which
database u entered userid and password on phpmyadmin login page.


it's there anything i have to configure in asterisk file so the phpmyadmin
could work for asterisk?
coz in freeradius-server, i have to configure a few file so phpmyadmin
could work.


Thank you
-- 
_
-- 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 use phpmyadmin to remotely access asterisk mysql database?

2014-09-11 Thread rafa alfurqan
Hi Rainer,

okay, thanks for your advice.
so i think it would work for freeradius too.


Cheers

On Thu, Sep 11, 2014 at 4:28 PM, Rainer Piper 
wrote:

>  Am 11.09.2014 um 11:00 schrieb rafa alfurqan:
>
>   Hi Rainer,
>
> > are you sure about allowing remote access to phpmyadmin ??? think about
> security first !!!
>
>  yes i'm sure coz it's not for commercial, just for my research.
>
> > I suggest  HeidiSQL Client at your Home PC
> > connecting via SSH Tunnel to your remote mySQL listening at localhost
> only.
>
>  i just heard HeidiSQL from here, it's like a tool? actually i have no
> basic for anything about database or voip.
>
>
> HeidiSQL is like phpmyadmin 
> have a look at http://www.heidisql.com/
> Features
>
>- Free for everyone, OpenSource.
>- Connect to multiple servers in one window
>- Connect to servers via commandline
><http://heidisql.googlecode.com/svn/trunk/out/readme.txt>
>- Connect via SSH tunnel, or pass SSL settings
>- Create and edit tables
><http://www.heidisql.com/screenshots.php?which=table_editor>, views
><http://www.heidisql.com/screenshots.php?which=view_editor>, stored
>routines
><http://www.heidisql.com/screenshots.php?which=stored_routines>,
>triggers <http://www.heidisql.com/screenshots.php?which=trigger_editor>
>and scheduled events
><http://www.heidisql.com/screenshots.php?which=event_editor>.
>- Generate nice SQL-exports
><http://www.heidisql.com/screenshots.php?which=export_sql>, compress
>these afterwards, or put them on the clipboard.
>- Export from one server/database directly to another server/database
>- Manage user-privileges
><http://www.heidisql.com/screenshots.php?which=usermanager>
>- Import text-files
><http://www.heidisql.com/screenshots.php?which=import_textfile>
>- Export table rows as CSV, HTML, XML, SQL, LaTeX, Wiki Markup and PHP
>Array <http://www.heidisql.com/screenshots.php?which=export_textfile>
>- Browse and edit table-data using a comfortable grid
><http://www.heidisql.com/screenshots.php?which=data>
>- Bulk edit tables (move to db, change engine, collation etc.)
>- Batch-insert ascii or binary files into tables
><http://www.heidisql.com/screenshots.php?which=insert_files>
>- Write queries with customizable syntax-highlighting and
>code-completion <http://www.heidisql.com/screenshots.php?which=query>
>- Pretty reformat disordered SQL
>- Monitor and kill client-processes
><http://www.heidisql.com/screenshots.php?which=host_processlist>
>- Find specific text in all tables of all databases of one server
><http://www.heidisql.com/screenshots.php?which=find_text_on_server>
>- Optimize and repair tables in a batch manner
><http://www.heidisql.com/screenshots.php?which=maintenance>
>- Launch a parallel mysql.exe command line window using your current
>    connection settings
>- And much more <http://www.heidisql.com/screenshots.php>
>
>
>  if you mind, would you give me a tutorial or anything to configure that?
>
>  thank you so much
>
>
> On Thu, Sep 11, 2014 at 3:46 PM, Rainer Piper 
> wrote:
>
>>  Am 11.09.2014 um 10:36 schrieb rafa alfurqan:
>>
>>  Hi,
>>
>>  thank you for your repplied,
>>
>> > As you're on Ubuntu, you can begin with
>> > $ sudo apt-get install phpmyadmin
>>
>> i did that, so what i have to do for the configuration in asterisk so i
>> could remote to asterisk database from phpmyadmin?
>>
>> > Also, 10.04 is a really old Ubuntu release now, even although it is a
>> Long
>> > Term Support one.  Consider upgrading to 14.04.  You can apt-get
>> dist-upgrade
>> > straight from an LTS release to the next LTS release, without needing
>> to go
>> > through all the intermediate releases.
>>
>>  really appreciate for the advice, i'll do that after i could remote to
>> asterisk database from phpmyadmin.
>>
>>  actually i have installed freeradius-server on my ubuntu too, and i
>> could remote the database freeradius from phpmyadmin.
>> is it possible if same phpmyadmin could remote database from
>> freeradius-server and asterisk (they are on same server)?
>>
>>
>>  thank you
>>
>>
>>   are you sure about allowing remote access to phpmyadmin ??? think
>> about security first !!!
>>
>> I suggest  HeidiSQL Client at your Home PC
>> connecting via SSH Tunnel to your remote mySQL listening at localhost
&

[asterisk-users] how to store sip.conf and extension.conf into phpmyadmin

2014-09-13 Thread rafa alfurqan
hi,

i want to sip.conf and extension.conf files could to import to the my
database phpmyadmin, so the data that i had input to those file could be
read into database?

any help will be appreciated.

thank you
-- 
_
-- 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 store sip.conf and extension.conf into phpmyadmin

2014-09-13 Thread rafa alfurqan
Hi,

actually i just had trying Asterisk Full RealTime Database from this site
http://blog.eduguru.in/tag/configure-asterisk-mysql-connection-create-the-res_mysql-conf-file-in-etcasterisk-vi-etcasteriskres_mysql-conf-enter-the-following-general-dbhost-127-0-0-1-dbname-asteriskrealtime-dbuser/

but in the end, i got failed.
this is the log from CLI
Connected to Asterisk 11.11.0 currently running on server-main (pid = 12017)
[Sep 13 11:55:20] WARNING[12051]: chan_sip.c:3906 __sip_xmit: sip_xmit
of 0x97ae2d8 (len 406) to (null) returned -1: Invalid argument
[Sep 13 11:55:21] WARNING[12051]: config.c:2578 find_engine: Realtime
mapping for 'sippeers' found to engine 'mysql', but the engine is not
available
[Sep 13 11:55:21] WARNING[12051]: config.c:2578 find_engine: Realtime
mapping for 'sippeers' found to engine 'mysql', but the engine is not
available
[Sep 13 11:55:21] ERROR[12051]: netsock2.c:269 ast_sockaddr_resolve:
getaddrinfo("sipauth.deltathree.com", "(null)", ...): No address
associated with hostname
[Sep 13 11:55:21] WARNING[12051]: acl.c:833 resolve_first: Unable to
lookup 'sipauth.deltathree.com'
[Sep 13 11:55:21] WARNING[12051]: config.c:2578 find_engine: Realtime
mapping for 'sippeers' found to engine 'mysql', but the engine is not
available
[Sep 13 11:55:21] WARNING[12051]: config.c:2578 find_engine: Realtime
mapping for 'sippeers' found to engine 'mysql', but the engine is not
available
[Sep 13 11:55:21] WARNING[12051]: acl.c:962 ast_ouraddrfor: Cannot connect
[Sep 13 11:55:21] WARNING[12051]: chan_sip.c:3906 __sip_xmit: sip_xmit
of 0x97ae2d8 (len 406) to (null) returned -1: Invalid argument
[Sep 13 11:55:21] NOTICE[12051]: chan_sip.c:15218 sip_reg_timeout:
-- Registration for '1212...@sipauth.deltathree.com' timed out,
trying again (Attempt #596)
[Sep 13 11:55:21] WARNING[12051]: chan_sip.c:3906 __sip_xmit: sip_xmit
of 0x97ae2d8 (len 406) to (null) returned -1: Invalid argument
[Sep 13 11:55:22] WARNING[12051]: chan_sip.c:3906 __sip_xmit: sip_xmit
of 0x97ae2d8 (len 406) to (null) returned -1: Invalid argument


actually, i use asterisk 11.11.0 and ubuntu 10.04

what should i do to solve that?
thank you



On 9/13/14, achera...@gmail.com  wrote:
> I would suggest you to use asterisk realtime. In this case your peers and
> extensions can be configured from database.
> https://wiki.asterisk.org/wiki/display/AST/Realtime+Database+Configuration
>
>
>
>
> Sent from my iPhone
>
>> On Sep 13, 2014, at 9:44 AM, rafa alfurqan 
>> wrote:
>>
>> hi,
>>
>> i want to sip.conf and extension.conf files could to import to the my
>> database phpmyadmin, so the data that i had input to those file could be
>> read into database?
>>
>> any help will be appreciated.
>>
>> thank you
>> --
>> _
>> -- 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] how to store sip.conf and extension.conf into phpmyadmin

2014-09-13 Thread rafa alfurqan
Hi,

first, thank you for your guide.
i've been followed your instruction till created appropirate tables
and preload res_odbc.so
(in the module files).

this is the odbc show result

ODBC DSN Settings
-

  Name:   asterisk
  DSN:asterisk-connector
Last connection attempt: 1969-12-31 19:00:00
  Pooled: No
  Connected: Yes

i was insert this configuration in sip.conf file
[1001]
type= friend
context = tutorial
username = 1001
secret  = 1001
host= dynamic

could this configuration store into database in phpmyadmin?

thank you


On 9/13/14, rafa alfurqan  wrote:
> Hi,
>
> actually i just had trying Asterisk Full RealTime Database from this site
> http://blog.eduguru.in/tag/configure-asterisk-mysql-connection-create-the-res_mysql-conf-file-in-etcasterisk-vi-etcasteriskres_mysql-conf-enter-the-following-general-dbhost-127-0-0-1-dbname-asteriskrealtime-dbuser/
>
> but in the end, i got failed.
> this is the log from CLI
> Connected to Asterisk 11.11.0 currently running on server-main (pid =
> 12017)
> [Sep 13 11:55:20] WARNING[12051]: chan_sip.c:3906 __sip_xmit: sip_xmit
> of 0x97ae2d8 (len 406) to (null) returned -1: Invalid argument
> [Sep 13 11:55:21] WARNING[12051]: config.c:2578 find_engine: Realtime
> mapping for 'sippeers' found to engine 'mysql', but the engine is not
> available
> [Sep 13 11:55:21] WARNING[12051]: config.c:2578 find_engine: Realtime
> mapping for 'sippeers' found to engine 'mysql', but the engine is not
> available
> [Sep 13 11:55:21] ERROR[12051]: netsock2.c:269 ast_sockaddr_resolve:
> getaddrinfo("sipauth.deltathree.com", "(null)", ...): No address
> associated with hostname
> [Sep 13 11:55:21] WARNING[12051]: acl.c:833 resolve_first: Unable to
> lookup 'sipauth.deltathree.com'
> [Sep 13 11:55:21] WARNING[12051]: config.c:2578 find_engine: Realtime
> mapping for 'sippeers' found to engine 'mysql', but the engine is not
> available
> [Sep 13 11:55:21] WARNING[12051]: config.c:2578 find_engine: Realtime
> mapping for 'sippeers' found to engine 'mysql', but the engine is not
> available
> [Sep 13 11:55:21] WARNING[12051]: acl.c:962 ast_ouraddrfor: Cannot connect
> [Sep 13 11:55:21] WARNING[12051]: chan_sip.c:3906 __sip_xmit: sip_xmit
> of 0x97ae2d8 (len 406) to (null) returned -1: Invalid argument
> [Sep 13 11:55:21] NOTICE[12051]: chan_sip.c:15218 sip_reg_timeout:
> -- Registration for '1212...@sipauth.deltathree.com' timed out,
> trying again (Attempt #596)
> [Sep 13 11:55:21] WARNING[12051]: chan_sip.c:3906 __sip_xmit: sip_xmit
> of 0x97ae2d8 (len 406) to (null) returned -1: Invalid argument
> [Sep 13 11:55:22] WARNING[12051]: chan_sip.c:3906 __sip_xmit: sip_xmit
> of 0x97ae2d8 (len 406) to (null) returned -1: Invalid argument
>
>
> actually, i use asterisk 11.11.0 and ubuntu 10.04
>
> what should i do to solve that?
> thank you
>
>
>
> On 9/13/14, achera...@gmail.com  wrote:
>> I would suggest you to use asterisk realtime. In this case your peers and
>> extensions can be configured from database.
>> https://wiki.asterisk.org/wiki/display/AST/Realtime+Database+Configuration
>>
>>
>>
>>
>> Sent from my iPhone
>>
>>> On Sep 13, 2014, at 9:44 AM, rafa alfurqan 
>>> wrote:
>>>
>>> hi,
>>>
>>> i want to sip.conf and extension.conf files could to import to the my
>>> database phpmyadmin, so the data that i had input to those file could be
>>> read into database?
>>>
>>> any help will be appreciated.
>>>
>>> thank you
>>> --
>>> _
>>> -- 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


[asterisk-users] sip.conf and extension.conf configuration

2014-09-14 Thread rafa alfurqan
Hi,

i want to ask about sip.conf & extension.conf the configuration.

is it possibility to make sip.conf configuration like this
[1510891531543...@wlan.mnc089.mcc510.3gppnetwork.org]
type = friend
context = tutorial
username = 1510891531543...@wlan.mnc089.mcc510.3gppnetwork.org
secret = 12345
host = dynamic


and the extension.conf like this
exten => 1510891531557...@wlan.mnc089.mcc510.3gppnetwork.org,1,Dial(SIP/
1510891531557...@wlan.mnc089.mcc510.3gppnetwork.org)


thank you
-- 
_
-- 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] sip.conf and extension.conf configuration

2014-09-15 Thread rafa alfurqan
Hi,

> The dots in extension will work as special characters.

that's means in sip.conf and extensions.conf couldn't work if there's dot?


thank you
-- 
_
-- 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] how to make voip client cannot use same username?

2014-09-28 Thread rafa alfurqan
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?


any help will help me a lot.
thanks in advance.

rafa
-- 
_
-- 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?

2014-09-28 Thread rafa alfurqan
hi,

anyone seen this?

actually this is my sip.conf file
[1002]
type = friend
context = test
username = 1002
secret = 12345
host = dynamic

if i want to make my client register to server with matching on username
instead of ip address, so the username is used just for 1 client how could
i do that?

if i change the host (dynamic into the ip) and the type (friend) is still
the same. in my voip client is unregistered (however i still could make a
call but can't be called). but if the type i changed into peer, my voip
client is still unregistered (i couldn't make a call and can't be called).
so what i have to configured in my sip.conf and extensions.conf files?


thanks in advance.
rafa



On Sun, Sep 28, 2014 at 10:51 PM, rafa alfurqan 
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?
>
>
> any help will help me a lot.
> thanks in advance.
>
> rafa
>
>
-- 
_
-- 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?

2014-09-29 Thread rafa alfurqan
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

[asterisk-users] authentication time for asterisk server

2014-10-27 Thread rafa alfurqan
Hi all,

what should i do if i want to know how long asterisk server take a time for
registration 1 client on server side?
especially just for voip server authentication, when we have to registered
username and password in sip.conf and extensions.conf files? it's not how
long registration for one client authenticate to voip server.


i really need to know, and really thankful for any helps.


kind regards

alf
-- 
_
-- 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