Page 1 of 1

creating a sip based trunk ip based authentication...

PostPosted: Fri Nov 10, 2006 12:31 am
by rudra_ach
Hi ,

I've created a sip trunk with user id and password.Now I want to change my provider which basically wants ip based authentication no in terms of user name and password.Any body please suggest how to do it.

regards
rudra

bellow the sip trunk configuration.

[username]
authuser=username
fromdomain=ipaddress
fromuser=username
host=ipaddress
insecure=very
nat=no
qualify=yes
secret=password
sendrpid=yes
type=peer
username=username@ipaddress

dial string

exten => _6.,1,AGI(call_log.agi,${EXTEN})
exten => _6.,2,Dial(SIP/username/${EXTEN:1},30,tTo)
exten => _6.,3,Hangup

PostPosted: Fri Nov 10, 2006 6:38 am
by mflorell
For non-registered SIP and IAX trunks you will have to use the new sip-silence Playback for auto dialing to work properly.

Download the most recent snapshot release from the project site and look at the /docs/conf_examples/extensions.conf.sample file at the very bottom for more information.

PostPosted: Wed Nov 15, 2006 10:48 am
by ramindia
[provider-name]
type=friend
host=ipaddress of provider
dtmfmode=rfc2833
canreinvite=yes
qualify=2000
context=default

should do the job

let me know if it works

Ram