[Serusers] About ser.cfg

giAndrea andrea at giandrea.com
Thu Oct 23 17:57:49 CEST 2003


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20031023/eeb34e2c/attachment.htm>


More information about the sr-users mailing list