I have seen there are a couple of posts about this so I apologize if this seems redundant.
I am starting to mess with the B2BUA and am having some issues. I am trying to solve the transfer issue when a local OpenSIPS subcriber is on the phone with a PSTN user and wants to transfer the PSTN user to another OpenSIPS user. I have created the refer.xml file and set up the module parameters, so all that is fine. The issue I am seeing are the invites getting sent out from OpenSIPS. If I place my b2b_init_request("refer"); at the very beginning of my route logic before consume_credentials(), location() and all that other junk I see that two Invites are sent Say the user is 4...@irock.com The B2B CALL-ID generated message gets sent to the actual IP address of irock.com, which it shouldn't. Then a correct invite gets sent to 4...@7x.45.x.44 which is the correct info that is pulled from the location table, but this invite does not have the B2B CALL-ID info in it. So it seems I have placed the b2b_init_request in the wrong spot on my script. Then when I place the b2b_init_request after I execute the location() in my route logic I see the following two invites The first invite is the B2B invite with the B2B CALL-ID. It gets sent correctly to 4...@7x.45.x.44 instead of to the actually IP of irock.com. The only problem here is that within the actual TO: field of the sip message it is 4...@7x.45.x.44 instead of 4...@irock.com. So the phone rejects this invite with a "SIP/2.0 404 Not Found" since the phone only knows itself as 4...@irock.com. The second invite is as usual the normal invite without the B2B CALL-ID. So I guess the issue I am having is that dual invites are being sent and the B2B is either sending it to the wrong IP address or it is placing the wrong domain in the invite for the user. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/B2BUA-Implementation-for-Transfer-tp5675822p5675822.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users