[OpenSER-Users] ipv4 and ipv6 intercommunication
苗杰
pluto999 at gmail.com
Thu Jul 10 13:24:43 CEST 2008
I'm a beginner at openser.
What does the variable 'af' stand for?And what is the value of the
optional?
Thanks!
313 # Comment out three lines below if you want
314 # RTP for IPv4->IPv4 calls to go directly
315 # between UAs
316 if (af == inet) {
317 force_rtp_proxy("faii");
318 t_on_reply("1");
319 }
320 # proxy session from a Internal IPv4
321 # phone to a External IPv6 address
322 if (af == inet6) {
323 force_rtp_proxy("faie");
324 t_on_reply("1");
325 }
326 }
327
328 else if (lookup("location_inet6")) {
329 # proxy session from a External IPv6
330 # phone to a Internal IPv4 address
331 if (af == inet) {
332 force_rtp_proxy("faei");
333 t_on_reply("1");
334 }
335
336 # Comment out three lines below if you want
337 # RTP for IPv6->IPv6 calls to go directly
338 # between UAs
339 if (af == inet6) {
340 force_rtp_proxy("faee");
341 t_on_reply("1");
342 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080710/954f56d6/attachment.htm>
More information about the sr-users
mailing list