Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] sip.conf & realtime


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
asteriskusers at dovid...
Guest





PostPosted: Wed Jan 02, 2008 9:09 pm    Post subject: [asterisk-users] sip.conf & realtime Reply with quote

At the moment in order to register you must use static configs in sip.conf. As far as the friend/peer etc. settings you can do that in sip.conf or in real time. You can also mix and match (use real time and static configuration).

----- Original Message -----
From: hugolivude
To: Asterisk Users Mailing List - Non-Commercial Discussion
Sent: Saturday, December 29, 2007 12:10 AM
Subject: [asterisk-users] sip.conf & realtime
Hi -

I'm looking into realtime and I'm having a bit of a problem with the SIP part.

My review of the posts seems to indicate that I should use realtime static for the [general] part of my sip.conf including the registration commands:


register=><did>:<secret>@<domain>/<did context>


and use realtime realtime (funny name!) for peers and friends:


[myprovider]
type=peer
auth=md5
username=...
fromuser=...
fromdomain=...
secret=...
host=...
port=5060
nat=yes
canreinvite=yes
qualify=no
disallow=all
allow=ulaw
dtmfmode=rfc2833
insecure=port,invite
context=incoming-sip


Is this correct? What's throwing me off is this statment found here:


NOTE: You can only store a static config OR a RealTime config. You cannot, for example, store sip.conf and use sipfriends via RealTime.


This would suggest that I'll have to do a reload when I add a DiD, but a reload won't be necessary if a new SIP client is added. Do I have it right?

Also, what's the difference between a peer and a user? I used to think that a "user" was an agent authorized to call in to my * box, a "peer" was an agent I could reach and a "freind" was both. What's throwing me off now is the statement found here:


With newer versions of Asterisk the concept of SIP 'users' will be phased out.


I can't understand this especially in the context of extconfig.conf that uses both a sipuser and sippeer entry. Could someone clarify for me?

Thanks,
H



------------------------------------------------------------------------------


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080103/f72e928a/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services