Simple configure file for simple call


#1

Could you please give me some example configuration for simple call(one soft phone call to another soft phone)

These are my configured config. file :
sip.conf

[code][general]
context=incoming ; Default context for incoming calls

port=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
;srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Note: Asterisk only uses the first host
; in SRV records
; Disabling DNS SRV lookups disables the
; ability to place SIP calls based on domain
; names to some other SIP users on the Internet

[poy]
type = friend
host = dynamic
username = poy
secret = poy
context = incoming
canreinvite=no

[poy1]
type = friend
host = dynamic
username = poy1
secret = poy1
context = incoming
canreinvite=no[/code][/code]

extensions.conf

[code][general]

static=yes
writeprotect=no

[globals]

[incoming]

exten => poy,1,Dial(SIP/poy)
exten => poy1,1,Dial(SIP/poy1)[/code]

Is that correct!
If it isn’t ,Please correct me