origin: Add id property and adapt to changes
The id property will be used to keep track of which origin was used for a call, so that we can default to reusing the same origin when placing a call from the history.
This commit is contained in:
@@ -364,6 +364,7 @@ setup_sip_origins (SipFixture *fixture,
|
||||
|
||||
fixture->origin_alice =
|
||||
calls_sip_provider_add_origin_full (fixture->provider,
|
||||
"sip1",
|
||||
NULL,
|
||||
"alice",
|
||||
NULL,
|
||||
@@ -378,6 +379,7 @@ setup_sip_origins (SipFixture *fixture,
|
||||
|
||||
fixture->origin_bob =
|
||||
calls_sip_provider_add_origin_full (fixture->provider,
|
||||
"sip2",
|
||||
NULL,
|
||||
"bob",
|
||||
NULL,
|
||||
@@ -392,6 +394,7 @@ setup_sip_origins (SipFixture *fixture,
|
||||
|
||||
fixture->origin_offline =
|
||||
calls_sip_provider_add_origin_full (fixture->provider,
|
||||
"sip3",
|
||||
"sip.imaginary-host.org",
|
||||
"username",
|
||||
"password",
|
||||
|
||||
Reference in New Issue
Block a user