[Serusers] About ser.cfg

Felix Schmid felix at belugalounge.net
Thu Oct 23 18:24:33 CEST 2003


Hi Andrea,

I would place voicemail the uri~=myself block, if looking up the user's
contact fails...didn't my .cfg contain vm?

cheers,
felix


On Thu, 2003-10-23 at 17:57, giAndrea wrote:
> Hi to all
> 
> I would like to thank all the people that in this months help me to
> using ser. I have a question or better a doubt . From june to now I've
> tried to configure my ser writing ser.cfg file. I've read the
> admin_guide manual and i learn how to use command and modules, but i
> don't understend how to write a correct ser.cfg. 
> I try to explain better. A file ser.cfg is executed for received
> request write to route some request and every one are processed, i can
> receive PSTN request, REGISTER request or an INVITE. But, what's the
> order on ser.cfg  to process this request? PSTN is more important than
> SIP request? Outbound request before Inbound?
> 
> My actual situation is:
> 
> my pc <--> NAT <--> Sip Proxy <--> NAT <--> Other User (PSTN or SIP)
> 
> od 
> 
> my pc <--> NAT <--> Sip Proxy <--> Other User (PSTN or SIP)
> 
> (At the moment i haven't implemented PSTN support on ser.cfg)
> 
> I actually use this scheme (it's simil;ar than default ser.cfg):
> 
> - initial sanity checks
> - record route and loose route processing
> - process some enc_prefix request
> - process some private request (sdp_mangler for INVITE request and
> encode_contact for the other)
> - if user are from myself (uri == myself), register if is a REGISTER
> request or lookup and after t_relay
> - else t_relay outbound request
> 
> without considering the technical problems, is this the correct
> semantic to use?
> 
> Where have I to process PSTN and VoiceMail request?
> 
> Thanks, Andrea
> 
> 
> 
> 
> 
> -------------------------------------------------------
> Andrea Girardi
> mobile +39 347 9624051
> sip address: giandrea at sip.quellidelpirana.it
> http://www.giandrea.com
> 
> 
> ______________________________________________________________________
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
-- 
PGP-Key: http://belugalounge.net/~felix/Felix%20Schmid.asc




More information about the sr-users mailing list