by ramindia » Fri May 18, 2007 3:07 am
Hi
sip.conf is basic configuration used to register with your sip provider
and extensions.
already given example to you in scratch instalaltion
[gs102]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=gs102
secret=test
host=dynamic
dtmfmode=inband
defaultip=10.10.10.16
qualify=1000
mailbox=102
you can add your own extensions also below that config.
[1001]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=1001
secret=1234
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=1001
[1002]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=1002
secret=1234
host=dynamic
dtmfmode=inband
qualify=1000
mailbox=1002
extension.conf also there in scratch installation
exten => 1001,1,Playback,transfer|skip ; "Please hold while..."
exten => 1001,2,Dial,sip/1001|20|to ; Ring, 20 secs max
exten => 1001,3,Voicemail,u1001 ; Send to voicemail...
exten => 1002,1,Playback,transfer|skip ; "Please hold while..."
exten => 1002,2,Dial,sip/1002|20|to ; Ring, 20 secs max
exten => 1002,3,Voicemail,u1002 ; Send to voicemail...
register with xlite with 1001 and 1002 in other PC
you can call each other
ram