<html><head></head><body><div class="ydp1d2e08e6yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 10px;"><div dir="ltr" data-setdir="false"><div>Hi Guys,</div><div><br></div><div dir="ltr" data-setdir="false">upon further checking I'm seeing opensips sending a CANCEL as while microsoft teams replying with a 100 Trying. Is this I'm missing something for multi-tenancy in opensips config? I can even see a 180 Ringing coming but it appears opensips cancelling the transaction right after it send the INVITE to teams. Following is my opensips.cfg for aliases. I tried adding the second domain as an alias too, but it has no effect.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>Thank you</span><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">/etc/opensips.cfg</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>auto_aliases=no<br>alias=tls:voippabx.cloud:5061<br>alias=tls:pasanm.voippabx.cloud:5061<br>alias=udp:172.31.36.39:5060<br><br>listen=tls:172.31.36.39:5061<br>listen=udp:172.31.36.39:5060 # CUSTOMIZE ME<br>advertised_address=x.x.x.x<br><br><br></div><div><br></div><div dir="ltr" data-setdir="false"><div>#### Transaction Module<br>loadmodule "tm.so"<br>modparam("tm", "fr_timeout", 15)<br>modparam("tm", "fr_inv_timeout", 90)<br>modparam("tm", "restart_fr_on_each_reply", 0)<br>modparam("tm", "onreply_avp_mode", 1)<br>modparam("tm", "via1_matching", 0)<br>modparam("tm", "ruri_matching", 0)<br><br></div><div><br></div><div dir="ltr" data-setdir="false"><div>modparam("tls_mgm", "certificate", "/etc/opensips/tls/default.crt")<br>modparam("tls_mgm", "private_key","/etc/opensips/tls/default.key")<br>modparam("tls_mgm", "ca_list", "/etc/opensips/tls/ca-default.crt")<br>modparam("tls_mgm", "ca_dir", "/etc/ssl/certs/")<br>modparam("tls_mgm","verify_cert", "1")<br>modparam("tls_mgm","require_cert", "1")<br><br>modparam("tls_mgm", "server_domain", "dom1=172.31.36.39:5061")<br>modparam("tls_mgm","verify_cert", "[dom1]0")<br>modparam("tls_mgm","require_cert", "[dom1]1")<br>modparam("tls_mgm","tls_method", "[dom1]TLSv1_2")<br>modparam("tls_mgm","certificate", "[dom1]/etc/tls/voippabx.cloud/voippabx.cloud.crt")<br>modparam("tls_mgm","private_key", "[dom1]/etc/tls/voippabx.cloud/voippabx.cloud.key")<br>modparam("tls_mgm", "ca_list", "[dom1]/etc/tls/voippabx.cloud/voippabx.cloud-ca.crt")<br>modparam("tls_mgm", "ca_dir", "[dom1]/etc/ssl/certs/")<br>modparam("tls_mgm", "tls_handshake_timeout", 3000)<br>modparam("proto_tls", "tls_max_msg_chunks", 4048)<br><br><br></div><div dir="ltr" data-setdir="false">--- fail call log of inbound call to teams ---<br></div></div></div></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div> [29809] DBG:proto_tls:tls_update_fd: New fd is 73<br> [29809] DBG:proto_tls:tls_write: write was successful (1240 bytes)<br> [29809] DBG:proto_tls:proto_tls_send: after write: c= 0x7fa175ec28e8 n=1240 fd=73<br> [29809] DBG:proto_tls:proto_tls_send: buf=<br> INVITE sip:+xxxxxxxxxxx@sip.pstnhub.microsoft.com SIP/2.0<br> Record-Route: <sip:pasanm.voippabx.cloud:5061;transport=tls;ftag=as0e54f44e;lr;r2=on><br> Record-Route: <sip:172.31.36.39:5060;ftag=as0e54f44e;lr;r2=on><br> Via: SIP/2.0/TLS a.a.a.a:5061;branch=z9hG4bKa8.655a009.0;i=0599f386<br> Via: SIP/2.0/TLS b.b.b.b:5061;received=b.b.b.b;branch=z9hG4bK4449b234;rport=34212<br> Max-Forwards: 69<br> From: "Private" <sip:0000000000@b.b.b.b>;tag=as0e54f44e<br> To: <sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud><br> Contact: <sip:0000000000@b.b.b.b:5061;transport=tls><br> Call-ID: 6f4643c21ba3b6f921fbbbbb63f9ab06@b.b.b.b:5061<br> CSeq: 102 INVITE<br> User-Agent: Asterisk PBX 16.2.1~dfsg-1+deb10u2<br> Date: Thu, 02 Sep 2021 11:14:53 GMT<br> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE<br> Supported: replaces<br> Content-Type: application/sdp<br> Content-Length: 339<br> #015<br> v=0<br> o=root 698222221 698222221 IN IP4 b.b.b.b<br> s=Asterisk PBX 16.2.1~dfsg-1+deb10u2<br> c=IN IP4 b.b.b.b<br> t=0 0<br> m=audio 11364 RTP/SAVP 8 101<br> a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:EQ71mHmln2YJHJn8ujv0J/v+MiH6XJlfv7lSiXsv<br> a=rtpmap:8 PCMA/8000<br> a=rtpmap:101 telephone-event/8000<br> a=fmtp:101 0-16<br> a=maxptime:150<br> a=sendrecv<br> [29809] DBG:tm:insert_timer_unsafe: [0]: 0x7fa175f4c480 (939)<br> [29809] DBG:tm:do_t_cleanup: transaction 0x7fa175f4c230 already updated! Skipping update!<br> [29809] DBG:tm:t_unref: UNREF_UNSAFE: [0x7fa175f4c230] after is 0<br> [29809] DBG:core:destroy_avp_list: destroying list (nil)<br> [29809] DBG:core:receive_msg: cleaning up<br> [29809] DBG:proto_tls:tls_read_req: tls_read_req end<br> [29809] DBG:proto_tls:tls_read_req: Using the global ( per process ) buff<br> [29809] DBG:proto_tls:tls_update_fd: New fd is 5<br> [29809] DBG:proto_tls:_tls_read: 460 bytes read<br> [29809] DBG:proto_tls:tcp_handle_req: content-length= 0<br> [29809] DBG:proto_tls:tcp_handle_req: Nothing more to read on TCP conn 0x7fa175ea5000, currently in state 0<br> [29809] DBG:core:parse_msg: SIP Request:<br> [29809] DBG:core:parse_msg: method: <CANCEL><br> [29809] DBG:core:parse_msg: uri: <sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud><br> [29809] DBG:core:parse_msg: version: <SIP/2.0><br> [29809] DBG:core:parse_headers: flags=ffffffffffffffff<br> [29809] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK4449b234>; state=6<br> [29809] DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=17<br> [29809] DBG:core:parse_via: end of header reached, state=5<br> [29809] DBG:core:parse_headers: via found, flags=ffffffffffffffff<br> [29809] DBG:core:parse_headers: this is the first via<br> [29809] DBG:core:_parse_to: end of header reached, state=10<br> [29809] DBG:core:_parse_to: display={}, ruri={sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud}<br> [29809] DBG:core:get_hdr_field: <To> [46]; uri=[sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud]<br> [29809] DBG:core:get_hdr_field: to body [<sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud><br> ]<br> [29809] DBG:core:get_hdr_field: cseq <CSeq>: <102> <CANCEL><br> [29809] DBG:core:get_hdr_field: content_length=0<br> [29809] DBG:core:get_hdr_field: found end of header<br> [29809] DBG:core:receive_msg: After parse_msg...<br> [29809] DBG:core:receive_msg: preparing to run routing scripts...<br> [29809] DBG:maxfwd:is_maxfwd_present: value = 70<br> [29809] DBG:core:parse_headers: flags=78<br> [29809] DBG:tm:t_lookupOriginalT: searching on hash entry 138<br> [29809] DBG:tm:matching_3261: RFC3261 transaction matched, tid=4449b234<br> [29809] DBG:tm:t_lookupOriginalT: canceled transaction found (0x7fa175f4c230)!<br> [29809] DBG:tm:t_lookupOriginalT: REF_UNSAFE:[0x7fa175f4c230] after is 1<br> [29809] DBG:tm:t_lookupOriginalT: t_lookupOriginalT completed<br> [29809] DBG:uri:has_totag: no totag<br> [29809] DBG:core:parse_headers: flags=78<br> [29809] DBG:tm:t_newtran: transaction on entrance=0xffffffffffffffff<br> [29809] DBG:core:parse_headers: flags=ffffffffffffffff<br> [29809] DBG:core:parse_headers: flags=78<br> [29809] DBG:tm:t_lookup_request: start searching: hash=138, isACK=0<br> [29809] DBG:tm:matching_3261: RFC3261 transaction matching failed<br> [29809] DBG:tm:t_lookup_request: no transaction found<br> [29809] DBG:core:MD5StringArray: MD5 calculated: 691657b3333bfaff8b58f9a39aceccad<br> [29809] DBG:core:parse_headers: flags=ffffffffffffffff<br> [29809] DBG:core:_shm_resize: resize(0) called<br> [29809] DBG:tm:cleanup_uac_timers: RETR/FR timers reset<br> [29809] DBG:tm:insert_timer_unsafe: [2]: 0x7fa175f6d250 (929)<br> [29809] DBG:core:tcp_conn_get: con found in state 0<br> [29809] DBG:core:tcp_conn_get: tcp connection found (0x7fa175ea5000) already in this process ( 14 ) , fd = 5<br> [29809] DBG:proto_tls:proto_tls_send: sending via fd 5...<br> [29809] DBG:proto_tls:tls_update_fd: New fd is 5<br> [29809] DBG:proto_tls:tls_write: write was successful (415 bytes)<br> [29809] DBG:proto_tls:proto_tls_send: after write: c= 0x7fa175ea5000 n=415 fd=5<br> [29809] DBG:proto_tls:proto_tls_send: buf=<br> SIP/2.0 200 canceling<br> Via: SIP/2.0/TLS b.b.b.b:5061;received=b.b.b.b;branch=z9hG4bK4449b234;rport=34212<br> From: "Private" <sip:0000000000@b.b.b.b>;tag=as0e54f44e<br> To: <sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud>;tag=b731-691657b3333bfaff8b58f9a39aceccad<br> Call-ID: 6f4643c21ba3b6f921fbbbbb63f9ab06@b.b.b.b:5061<br> CSeq: 102 CANCEL<br> Server: OpenSIPS (2.4.8 (x86_64/linux))<br> Content-Length: 0<br> #015<br> [29809] DBG:tm:_reply_light: reply sent out. buf=0x7fa17de3dfa0: SIP/2.0 2..., shmem=0x7fa175f07700: SIP/2.0 2<br> [29811] DBG:core:parse_msg: SIP Reply (status):<br> [29811] DBG:core:parse_msg: version: <SIP/2.0><br> [29811] DBG:core:parse_msg: status: <100><br> [29811] DBG:core:parse_msg: reason: <Trying><br> [29811] DBG:core:parse_headers: flags=ffffffffffffffff<br> [29811] DBG:core:_parse_to: end of header reached, state=10<br> [29811] DBG:core:_parse_to: display={}, ruri={sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud}<br> [29811] DBG:core:get_hdr_field: <TO> [46]; uri=[sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud]<br> [29811] DBG:core:get_hdr_field: to body [<sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud><br> ]<br> [29811] DBG:core:get_hdr_field: cseq <CSEQ>: <102> <INVITE><br> [29811] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bKa8.655a009.0>; state=6<br> [29811] DBG:core:parse_via_param: found param type 236, <i> = <0599f386>; state=9<br> [29811] DBG:core:parse_via: next_via<br> [29811] DBG:core:parse_via_param: found param type 234, <received> = <b.b.b.b>; state=6<br> [29811] DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK4449b234>; state=6<br> [29811] DBG:core:parse_via_param: found param type 235, <rport> = <34212>; state=16<br> [29811] DBG:core:parse_via: end of header reached, state=5<br> [29811] DBG:core:parse_headers: via found, flags=ffffffffffffffff<br> [29811] DBG:core:parse_headers: this is the first via<br> [29811] DBG:core:get_hdr_field: content_length=0<br> [29811] DBG:core:get_hdr_field: found end of header<br> [29811] DBG:core:receive_msg: After parse_msg...<br> [29811] DBG:core:forward_reply: found module tm, passing reply to it<br> [29811] DBG:tm:t_check: start=0xffffffffffffffff<br> [29811] DBG:core:parse_headers: flags=22<br> [29811] DBG:core:parse_headers: flags=8<br> [29811] DBG:tm:t_reply_matching: hash 138 label 151037270 branch 0<br> [29811] DBG:tm:t_reply_matching: REF_UNSAFE:[0x7fa175f4c230] after is 1<br> [29811] DBG:tm:t_reply_matching: reply matched (T=0x7fa175f4c230)!<br> [29811] DBG:tm:t_check: end=0x7fa175f4c230<br> [29811] DBG:tm:reply_received: org. status uas=100, uac[0]=0 local=0 is_invite=1)<br> [29811] incoming reply: RR=Trying, RS=100, SI=52.114.16.74 CI=6f4643c21ba3b6f921fbbbbb63f9ab06@b.b.b.b:5061<br> [29811] DBG:tm:build_local: using FROM=<From: "Private" <sip:0000000000@b.b.b.b>;tag=as0e54f44e<br> >, TO=<To: <sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud><br> >, CSEQ_N=<CSeq: 102><br> [29811] DBG:tm:cancel_branch: sending cancel...<br> [29811] DBG:core:tcp_conn_get: con found in state 0<br> [29811] DBG:core:tcp_conn_get: tcp connection found (0x7fa175ec28e8) already in this process ( 16 ) , fd = 5<br> [29811] DBG:proto_tls:proto_tls_send: sending via fd 5...<br> [29811] DBG:proto_tls:tls_update_fd: New fd is 5<br> [29811] DBG:proto_tls:tls_write: write was successful (398 bytes)<br> [29811] DBG:proto_tls:proto_tls_send: after write: c= 0x7fa175ec28e8 n=398 fd=5<br> [29811] DBG:proto_tls:proto_tls_send: buf=<br> CANCEL sip:+xxxxxxxxxxx@sip.pstnhub.microsoft.com SIP/2.0<br> Via: SIP/2.0/TLS a.a.a.a:5061;branch=z9hG4bKa8.655a009.0<br> From: "Private" <sip:0000000000@b.b.b.b>;tag=as0e54f44e<br> Call-ID: 6f4643c21ba3b6f921fbbbbb63f9ab06@b.b.b.b:5061<br> To: <sip:+xxxxxxxxxxx@msteamssbc.voippabx.cloud><br> CSeq: 102 CANCEL<br> Max-Forwards: 70<br> User-Agent: OpenSIPS (2.4.8 (x86_64/linux))<br> Content-Length: 0<br> #015<br> [29811] DBG:tm:insert_timer_unsafe: [0]: 0x7fa175f4c548 (939)<br> [29811] DBG:tm:t_should_relay_response: T_code=100, new_code=100<br> [29811] DBG:tm:relay_reply: T_state=5, branch=0, save=0, relay=-1, cancel_BM=0<br> [29811] DBG:tm:reply_received: FR_INV_TIMER = 90<br> [29811] DBG:tm:set_timer: relative timeout is 90<br> [29811] DBG:tm:insert_timer_unsafe: [1]: 0x7fa175f4c480 (1014)<br> SIP/2.0 180 Ringing<br> FROM: "Private"<sip:0000000000@b.b.b.b>;tag=as5d689a00<br> TO: <sip:+61291391361@msteamssbc.voippabx.cloud>;tag=e4748eaef0f44bf687956fe76d968596<br> CSEQ: 102 INVITE<br> CALL-ID: 259311ff6c557c7c53e9a711736311e5@b.b.b.b:5061<br> VIA: SIP/2.0/TLS b.b.b.b:5061;received=b.b.b.b;branch=z9hG4bK502b3c25;rport=34212<br> RECORD-ROUTE: <sip:sip-du-a-au.pstnhub.microsoft.com:5061;transport=tls;lr>,<sip:pasanm.voippabx.cloud:5061;transport=tls;ftag=as5d689a00;lr;r2=on>,<sip:172.31.36.39:5060;ftag=as5d689a00;lr;r2=on><br> CONTACT: <sip:api-du-a-auea.pstnhub.microsoft.com:443;x-i=f65bd2eb-86c9-4a76-85ea-84f5df8f4635;x-c=595513d129e95e99bf4e9e900b804fe1/s/1/e4f1e971d27f46829c743e805ba58c16><br> CONTENT-LENGTH: 0<br> ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY<br> SERVER: Microsoft.PSTNHub.SIPProxy v.2021.8.30.8 i.AUEA.2<br> #015<br>DBG:tm:relay_reply: sent buf=0x7fa17de3e820: SIP/2.0 1..., shmem=0x7fa175f768a8: SIP/2.0 1<br>DBG:tm:reply_received: FR_INV_TIMER = 90<br>DBG:tm:set_timer: relative timeout is 90<br>DBG:tm:insert_timer_unsafe: [1]: 0x7fa175f4c480 (1721)<br>DBG:tm:t_unref: UNREF_UNSAFE: [0x7fa175f4c230] after is 0<br>DBG:core:destroy_avp_list: destroying list (nil)<br>DBG:core:receive_msg: cleaning up<br>DBG:proto_tls:tls_read_req: tls_read_req end<br> DBG:proto_tls:tls_read_req: Using the global ( per process ) buff<br> DBG:proto_tls:tls_update_fd: New fd is 5<br> DBG:proto_tls:_tls_read: 460 bytes read<br> DBG:proto_tls:tcp_handle_req: content-length= 0<br> DBG:proto_tls:tcp_handle_req: Nothing more to read on TCP conn 0x7fa175ea5000, currently in state 0<br> DBG:core:parse_msg: SIP Request:<br> DBG:core:parse_msg: method: <CANCEL><br> DBG:core:parse_msg: uri: <sip:+61291391361@msteamssbc.voippabx.cloud><br> DBG:core:parse_msg: version: <SIP/2.0><br> DBG:core:parse_headers: flags=ffffffffffffffff<br> DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK502b3c25>; state=6<br> DBG:core:parse_via_param: found param type 235, <rport> = <n/a>; state=17<br> DBG:core:parse_via: end of header reached, state=5<br> DBG:core:parse_headers: via found, flags=ffffffffffffffff<br> DBG:core:parse_headers: this is the first via<br> DBG:core:_parse_to: end of header reached, state=10<br> DBG:core:_parse_to: display={}, ruri={sip:+61291391361@msteamssbc.voippabx.cloud}<br> DBG:core:get_hdr_field: <To> [46]; uri=[sip:+61291391361@msteamssbc.voippabx.cloud]<br> DBG:core:get_hdr_field: to body [<sip:+61291391361@msteamssbc.voippabx.cloud><br> ]<br> DBG:core:get_hdr_field: cseq <CSeq>: <102> <CANCEL><br> DBG:core:get_hdr_field: content_length=0<br> DBG:core:get_hdr_field: found end of header<br> DBG:core:receive_msg: After parse_msg...<br> DBG:core:receive_msg: preparing to run routing scripts...<br> DBG:maxfwd:is_maxfwd_present: value = 70<br> DBG:core:parse_headers: flags=78<br> DBG:tm:t_lookupOriginalT: searching on hash entry 19441<br> DBG:tm:matching_3261: RFC3261 transaction matched, tid=502b3c25<br> DBG:tm:t_lookupOriginalT: canceled transaction found (0x7fa175f4c230)!<br> DBG:tm:t_lookupOriginalT: REF_UNSAFE:[0x7fa175f4c230] after is 1<br> DBG:tm:t_lookupOriginalT: t_lookupOriginalT completed<br> DBG:uri:has_totag: no totag<br> DBG:core:parse_headers: flags=78<br> DBG:tm:t_newtran: transaction on entrance=0xffffffffffffffff<br> DBG:core:parse_headers: flags=ffffffffffffffff<br> DBG:core:parse_headers: flags=78<br> DBG:tm:t_lookup_request: start searching: hash=19441, isACK=0<br> DBG:tm:matching_3261: RFC3261 transaction matching failed<br> DBG:tm:t_lookup_request: no transaction found<br> DBG:core:MD5StringArray: MD5 calculated: 31453c5e285c477e8c5ea130fd29f816<br> DBG:core:parse_headers: flags=ffffffffffffffff<br> DBG:core:_shm_resize: resize(0) called<br> DBG:tm:cleanup_uac_timers: RETR/FR timers reset<br> DBG:tm:insert_timer_unsafe: [2]: 0x7fa175f6d250 (1636)<br> DBG:core:tcp_conn_get: con found in state 0<br> DBG:core:tcp_conn_get: tcp connection found (0x7fa175ea5000) already in this process ( 14 ) , fd = 5<br> DBG:proto_tls:proto_tls_send: sending via fd 5...<br> DBG:proto_tls:tls_update_fd: New fd is 5<br> DBG:proto_tls:tls_write: write was successful (415 bytes)<br> DBG:proto_tls:proto_tls_send: after write: c= 0x7fa175ea5000 n=415 fd=5<br> DBG:proto_tls:proto_tls_send: buf=<br> SIP/2.0 200 canceling<br> Via: SIP/2.0/TLS b.b.b.b:5061;received=b.b.b.b;branch=z9hG4bK502b3c25;rport=34212<br> From: "Private" <sip:0000000000@b.b.b.b>;tag=as5d689a00<br> To: <sip:+61291391361@msteamssbc.voippabx.cloud>;tag=b731-31453c5e285c477e8c5ea130fd29f816<br> Call-ID: 259311ff6c557c7c53e9a711736311e5@b.b.b.b:5061<br> CSeq: 102 CANCEL<br> Server: OpenSIPS (2.4.8 (x86_64/linux))<br> Content-Length: 0<br> #015<br><br></div><div><br></div> </div><div class="ydp1d2e08e6signature"><div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div dir="ltr" data-setdir="false"> <br></div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;">Distinguishing <font color="#0000ff"><strong>What</strong></font> && <font color="#ff007f"><strong>How</strong></font> !</font></div></div></div></div>
<div><br></div><div><br></div>
</div><div id="yahoo_quoted_0786600813" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Wednesday, 1 September 2021, 03:07:59 pm GMT+5:30, Pasan Meemaduma via Users <users@lists.opensips.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv5091065271"><div><div class="yiv5091065271ydp59c66915yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div><div dir="ltr">Hi All,</div><div dir="ltr"><br></div><div dir="ltr">I hope all of you are well and safe. I was able to setup teams direct routing referring to this blogpost <a rel="nofollow noopener noreferrer" target="_blank" href="https://blog.opensips.org/2019/09/16/opensips-as-ms-teams-sbc/">https://blog.opensips.org/2019/09/16/opensips-as-ms-teams-sbc/</a></div><div dir="ltr"><br></div><div dir="ltr">When I add a second tenant, incoming calls to the second tenant don't work, as Microsoft teams not responding to the invite. outgoing calls from the second tenant works fine.</div><div dir="ltr"><br></div><div dir="ltr">I have configured the second tenant using a derived trunk. any idea why following INVITE not respond by Microsoft but later (first tenant INVITE ) works?</div><div dir="ltr"><br></div><div dir="ltr">------ SECOND TENANT INVITE -------</div><div dir="ltr"><br></div><div dir="ltr"><div>Sep 1 17:13:47 msteams-sbc opensips[26043]: INVITE <a rel="nofollow noopener noreferrer" ymailto="mailto:sip%3A%2B61291391360@sip.pstnhub.microsoft.com" target="_blank" href="mailto:sip%3A%2B61291391360@sip.pstnhub.microsoft.com">sip:+xxxxxxxxxx@sip.pstnhub.microsoft.com</a> SIP/2.0<br>Sep 1 17:13:47 msteams-sbc opensips[26043]: Record-Route: <sip:pasanm.voippabx.cloud:5061;transport=tls;ftag=as0e9dc8dc;lr;r2=on><br>Sep 1 17:13:47 msteams-sbc opensips[26043]: Record-Route: <sip:172.31.36.39:5060;ftag=as0e9dc8dc;lr;r2=on><br>Sep 1 17:13:47 msteams-sbc opensips[26043]: Via: SIP/2.0/TLS x.x.x.x:5061;branch=z9hG4bKf0c.bd20fe7.0;i=609325e7<br>Sep 1 17:13:47 msteams-sbc opensips[26043]: Via: SIP/2.0/TLS y.y.y.y:5061;received=y.y.y.y;branch=z9hG4bK54c25df9;rport=49408<br>Sep 1 17:13:47 msteams-sbc opensips[26043]: Max-Forwards: 69<br>Sep 1 17:13:47 msteams-sbc opensips[26043]: From: "Private" <<a rel="nofollow noopener noreferrer" ymailto="mailto:sip%3A0000000000@52.63.230.198" target="_blank" href="mailto:sip%3A0000000000@52.63.230.198">sip:0000000000@y.y.y.y</a>>;tag=as0e9dc8dc<br>Sep 1 17:13:47 msteams-sbc opensips[26043]: To: <sip:+xxxxxxxxxx@msteamssbc.voippabx.cloud><br><div>Sep 1 17:13:47 msteams-sbc opensips[26043]: Contact: <sip:0000000000@y.y.y.y:5061;transport=tls></div></div><div><br></div><div><br></div><div dir="ltr">---FIRST TENANT INVITE---- (WORKING)</div></div><div><div><div><br></div><div>Sep 1 17:17:46 msteams-sbc opensips[26043]: INVITE <a rel="nofollow noopener noreferrer" ymailto="mailto:sip%3A%2B61370011112@sip.pstnhub.microsoft.com" target="_blank" href="mailto:sip%3A%2B61370011112@sip.pstnhub.microsoft.com">sip:+cccccccccc@sip.pstnhub.microsoft.com</a> SIP/2.0<br>Sep 1 17:17:46 msteams-sbc opensips[26043]: Record-Route: <sip:voippabx.cloud:5061;transport=tls;ftag=as5e20130f;lr;r2=on><br>Sep 1 17:17:46 msteams-sbc opensips[26043]: Record-Route: <sip:172.31.36.39:5060;ftag=as5e20130f;lr;r2=on><br>Sep 1 17:17:46 msteams-sbc opensips[26043]: Via: SIP/2.0/TLS x.x.x.x:5061;branch=z9hG4bKe5f8.239f87a3.0;i=009325e7<br>Sep 1 17:17:46 msteams-sbc opensips[26043]: Via: SIP/2.0/TLS z.z.z.z:5061;received=z.z.z.z;branch=z9hG4bK7ff0149e;rport=44650<br>Sep 1 17:17:46 msteams-sbc opensips[26043]: Max-Forwards: 69<br>Sep 1 17:17:46 msteams-sbc opensips[26043]: From: "Extension" <<a rel="nofollow noopener noreferrer" ymailto="mailto:sip%3A9001@175.103.19.67" target="_blank" href="mailto:sip%3A9001@175.103.19.67">sip:9001@z.z.z.z</a>>;tag=as5e20130f<br>Sep 1 17:17:46 msteams-sbc opensips[26043]: To: <sip:+cccccccccc@msteamssbc.voippabx.cloud><br>Sep 1 17:17:46 msteams-sbc opensips[26043]: Contact: <sip:9001@z.z.z.z:5061;transport=tls></div></div><br></div><div class="yiv5091065271ydp59c66915signature"><div><div dir="ltr"> I only have voippabx.cloud configured as a sbc on first Tenant. As per the above documentation I'm putting correct domain on RR header. Did I miss anything?</div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div> </div><div dir="ltr">Thank you.<br></div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;"></font> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;">Distinguishing <font color="#0000ff"><strong>What</strong></font> && <font color="#ff007f"><strong>How</strong></font> !</font></div></div></div></div></div></div></div>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div>
</div>
</div></body></html>