can create a client account through vicidial/admin.php?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

can create a client account through vicidial/admin.php?

Postby gersonsia » Fri Feb 09, 2007 9:24 pm

im new on asterisk...
i got using the astguiclient, n i wonder know can i create a phone for a client through the vicidial/admin.php without edit the sip.conf n extensions.conf ?

for example:
i wan create a client account called 'sjphone1' n his IP is '192.168.58.123'
asterisk server is '192.168.0.10'.

then wat i did was add in the following code in sip.conf:
[sjphone1]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=coolman
secret=coolman
host=dynamic
dtmmode=inband
defaultip=192.168.58.123
qualify=1000
mailbox=2001
context=default
nat=no

then add in the code in extensions.conf:
[default]
; Extension SJPhone line 1
exten => 9000,1,Dial,sip/sjphone|30|to
exten => sjphone,goto(9000,1)
exten => 2000,2,Voicemail,u2000

after tat, i add a new phone in vicidial/admin.php n with the following information.
Phone extension: sjphone
Dialplan Number: 9000
Voicemail Box: 2000
Outbound CallerID: 13
Phone IP address: 192.168.58.123
Computer IP address: 192.168.58.123
Server IP: 192.168.0.10
Login: sjphone1
Password: sjphone1
Client Protocol: SIP
... ...
... ...

is it the correct way i did??
can i just add a new phone in vicidial/admin.php without add in the code insip.conf n extensions.conf?

i dunno y my this method sometimes work sometimes not work...
gersonsia
 
Posts: 25
Joined: Mon Feb 05, 2007 2:44 am
Location: Kuala Lumpur, Malaysia

Postby mflorell » Sat Feb 10, 2007 12:51 am

You do need to add entries in sip.conf and extensions.conf to properly add a phone entry in astGUIclient.

This is a feature that I plan on adding to astGUIclient at some time in the future.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dlapitan » Mon Feb 12, 2007 5:48 am

then wat i did was add in the following code in sip.conf:
[sjphone1]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=coolman
secret=coolman
host=dynamic
dtmmode=inband
defaultip=192.168.58.123
qualify=1000
mailbox=2001
context=default
nat=no

then add in the code in extensions.conf:
[default]
; Extension SJPhone line 1
exten => 9000,1,Dial,sip/sjphone1|30|to
;exten => 9000,1,Dial,sip/sjphone|30|to
exten => sjphone,goto(9000,1)
exten => 2000,2,Voicemail,u2000

after tat, i add a new phone in vicidial/admin.php n with the following information.
Phone extension: sjphone
Dialplan Number: 9000
Voicemail Box: 2000
Outbound CallerID: 13
Phone IP address: 192.168.58.123
Computer IP address: 192.168.58.123
Server IP: 192.168.0.10
Login: sjphone1
Password: sjphone1
Client Protocol: SIP



Please read the Vicidial manager or if you dont have it, please buy. It will help you a lots.
dlapitan
 
Posts: 68
Joined: Fri Nov 24, 2006 3:59 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 111 guests