Hi Richard,
since proxy_route from cpl-c is a normal route, you can call from there (if necessary) t_onreply().
regards, bogdan
Richard wrote:
Hi Bogdan,
It is great!
Would the same script also apply to the reply OK message?
Normally in rtpproxy or mediaproxy, there is also an t_on_reply route to handle the callee's reply message. 183/2xx response calls force_rtp_proxy and 3xx/4xxx calls unforce_rtp_proxy. Is there a similar mechanism in cpl-c?
Thanks, Richard
--- Bogdan-Andrei IANCU iancu@fokus.fraunhofer.de wrote:
Richard,
sorry for the delay; there is a feature that can help you - proxy_route param in cpl-c - you can specify a script route to be call by cpl-c before doing proxy. Also lookup node propagate nat_flag.
regards, bogdan
Richard wrote:
Hi,
I have a phone behind nat trying to call someone
with
cpl script. The script does the proxy. So cpl
module
looks up the location table and forwards the
INVITE.
So it doesn't have a chance to call rtpproxy. Is it possible to call rtpproxy before forwarding the
call?
Is it even possible to use cpl with nated clients?
Thanks, Richard
__________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail