[OpenSIPS-Users] How to check B2BUA Refer work?
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Oct 21 12:56:32 CEST 2013
Hello,
You need a client to implement attended / un-attended transfer via REFER
method.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 10/17/2013 04:51 AM, Tấn Phát Ngô wrote:
> Hi all,
>
> I'm implementing B2BUA Refer but I don't know how to check if it works
> or not. I use UA (Linphone) calls UA (Zoiper) then Zoiper transfer to
> another UA (Linphone) but it don't use B2BUA. How can I check B2BUA
> Refer work well? Please help me with it!
>
> And this is my OpenSIPs (v1.9) configuration:
> + Load module:
>
> #### USeR LOCation & B2B module
> loadmodule "usrloc.so"
> loadmodule "b2b_entities.so"
> loadmodule "b2b_logic.so"
> loadmodule "uac_auth.so"
> modparam("usrloc", "nat_bflag", "NAT")
> modparam("usrloc", "db_mode", 2)
> modparam("usrloc|b2b_entities|b2b_logic", "db_url",
> "mysql://opensips:opensipsrw@localhost/opensips") # CUSTOMIZE ME
> modparam("b2b_logic", "script_scenario",
> "/usr/local/opensips/etc/b2b/refer_script.xml")
> modparam("b2b_entities", "script_req_route", "b2b_request")
> modparam("b2b_entities", "script_reply_route", "b2b_reply")
>
>
>
> + Main routing:
>
> if (has_totag()) {
> if (loose_route()) {
> if ( $DLG_status!=NULL && !validate_dialog() ) {
> xlog("In-Dialog $rm from $si (callid=$ci) is not valid according to
> dialog\n");
> ## exit;
> }
> if (is_method("BYE")) {
> setflag(ACC_DO);
> setflag(ACC_FAILED);
> } else if (is_method("INVITE")) {
> b2b_init_request("refer");
> record_route();
> }
> route(relay);
> } else {
> ................
> }
>
> Thank you very much!
>
> Regards,
> Ngô Tấn Phát
>
> -------------------------------------
> Ngô Tấn Phát
> Mobile: (+84)0932624499
> Skype: phat.wu
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131021/2e932a55/attachment.htm>
More information about the Users
mailing list