Hi Søren,
In the scenario with the restart, after the restart, the sequential
requests generated by b2b is missing the Route header - and it is
bypassing the proxy - can you ppst the DB records for b2b you have
during the restart?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 15.01.2016 10:57, Søren Andersen wrote:
Hi Bogdan-Andrei,
Sure. I’ve attached the two files.
(B2B server)
(OpenSIPS Proxy)
(SIP Client)
My scenario:
<?xml version="1.0"?>
<scenario id="StofaB2B" name="MS start and end" param="2" type="script">
<init>
<bridge>
<server>
<id>server1</id>
</server>
<client>
<id>client1</id>
<type>message</type>
<destination>
<value type="param">1</value>
</destination>
</client>
</bridge>
<state>1</state>
</init>
</scenario>
I’m doing this because my SIP provider can’t handle multi dialogs, so
if I first send a call to the sip client and if the call is unanswered
I can’t redirect the call to voicemail since this will generate a new
to_tag. And this can’t my SIP provider not handle. So therefore I need
some B2B logic to make this happen for me.
/Søren
*Fra:*Bogdan-Andrei Iancu [mailto:[email protected]]
*Sendt:* 14. januar 2016 16:41
*Til:* Søren Andersen <[email protected]>; OpenSIPS users mailling list
<[email protected]>
*Emne:* Re: SV: [OpenSIPS-Users] B2B BYEs
Hi Søren,
Do you have an ngrep capture (taken from opensips b2b, covering all
calls/legs involved in the scenario) showing the call with the B2B
restarted ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 13.01.2016 14:39, Søren Andersen wrote:
Hi Bogdan-Andrei,
Only if I reload the B2B the BYEs is sent directly to the client.
– But the funny thing is this only happens if the client is
receives a call. If the client initialize the call everything
works fine.
/Søren
*Fra:*Bogdan-Andrei Iancu [mailto:[email protected]]
*Sendt:* 13. januar 2016 11:39
*Til:* OpenSIPS users mailling list <[email protected]>
<mailto:[email protected]>; Søren Andersen <[email protected]>
<mailto:[email protected]>
*Emne:* Re: [OpenSIPS-Users] B2B BYEs
Hi Søren,
With or without restarting the B2B isn;t the BYE sent by client to
the B2B instance ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 12.01.2016 16:32, Søren Andersen wrote:
Hello there,
I’ve some strange issues with the B2B module. – I use MySQL as
backend, and if I reload OpenSIPS the BYE is sent directly to
the client, and not my SIP proxy. My B2B and OpenSIPS is two
difference servers.
If I take a look in b2b_entities table I notice the contact1
field contains the IP address of the client. But if I don’t
reload the OpenSIPS the BYE will be sent correctly the my
proxy, and then to the client.
Now, my question is how can I make sure that B2B server will
not try to communicate with the clients after a reload?
My topology:
ISP -> B2B -> Proxy -> Client
My config:
loadmodule "b2b_entities.so"
loadmodule "b2b_logic.so"
modparam("b2b_logic", "script_scenario", "/etc/opensips/b2b.xml")
modparam("b2b_entities", "db_url",
"mysql://opensips:[email protected]/b2b"
<mailto:mysql://opensips:[email protected]/b2b>)
modparam("b2b_entities", "db_mode", 1)
modparam("b2b_logic", "db_mode", 1)
modparam("b2b_logic", "db_url",
"mysql://opensips:[email protected]/b2b"
<mailto:mysql://opensips:[email protected]/b2b>)
modparam("b2b_entities", "replication_mode", 1)
modparam("b2b_logic", "init_callid_hdr", "Init-CallID")
if (is_method("INVITE") && !has_totag()) {
b2b_init_request("B2B","sip:[email protected]"
<mailto:sip:[email protected]>);
exit;
}
/Søren
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users