Hi all,
here i have an offer from IMS company to use telephone services within IP technology and bumped into this (translated into English ). Please can someone push me into right direction to figure this one out.
Say i would like 3 lines registered: 55500, 55501 and 55502, with primary 55500. config files would be like?
sip.conf
;
[general]
context=ims-incoming
bindport=5060
bindaddr=192.168.0.1
srvlookup=yes
pedantic=no (nonce=" " and response=" ")
deny=0.0.0.0/0.0.0.0
permit=192.168.0.1/255.255.255.255
registertimeout=10
registerattempts=10
useragent=Asterisk PBX
;
register=> 55500:55500@ims.telco.com:5060;user=phone
register=> 55501:55501@ims.telco.com:5060;user=phone
register=> 55502:55502@ims.telco.com:5060;user=phone
;
[ims-outgoing]
type=peer
host=ims.telco.com
username=55500
secret=55500
fromdomain=192.168.0.1
insecure=very
qualify=yes
nat=no
disallow=all
allow=ulaw,alaw,gsm,g726,speex,adpcm
outboundproxy=192.168.0.1
;
users.conf
;
[55500]
type=friend
host=dynamic
username=55500
secret=55500
dtmfmode=rfc2833
callerid=55500
disallow=all
allow=ulaw,alaw,gsm,speex,g726,adpcm
context=local
insecure=very
canreinvite=no
qualify=yes
nat=no
outboundproxy=192.168.0.1
;
[55501]
type=friend
host=dynamic
username=55501
secret=55501
dtmfmode=rfc2833
callerid=55501
disallow=all
allow=ulaw,alaw,gsm,speex,g726,adpcm
context=local
insecure=very
canreinvite=no
qualify=yes
nat=no
outboundproxy=192.168.0.1
;
[55502]
type=friend
host=dynamic
username=55502
fromdomain=192.168.0.1
secret=55502
dtmfmode=rfc2833
callerid=55502
disallow=all
allow=ulaw,alaw,gsm,speex,g726,adpcm
context=local
insecure=very
canreinvite=no
qualify=yes
nat=no
outboundproxy=192.168.0.1
;
extensions.conf
;
[ims-incoming]
exten=> 55500,1,Dial(SIP/55500)
exten=> 55501,1,Dial(SIP/55501)
exten=> 55502,1,Dial(SIP/55502)
;
[ims-outgoing]
exten=> _9X.,1,Dial(SIP/${EXTEN:1}@ims-outgoing)
;
[local]
include=> ims-outgoing
exten => _555XX,1,Dial(SIP/${EXTEN})
;
Thank you for your time, for at least reading it.
Ivan.