DIDs calls among Ivozprovider clients

6 views
Skip to first unread message

Muhammad Yousuf

unread,
Jan 2, 2026, 5:06:18 AM (8 days ago) Jan 2
to ivozprovider-users
Hi,

I am curious how Ivozprovider handles DIDs calls among different clients? I have a static DID range and want to make sure clients are not charged if they call those static list of DIDs let's say 042-3238xxxx and also calls to these DIDs should be routed within the ivozprovider.


~Yousuf

Airsay

unread,
Jan 2, 2026, 7:43:44 PM (7 days ago) Jan 2
to ivozprovider-users
Calls from one DID on ivozprovider to another DID on ivozprovider  are routed directly without going through your provider. You can verify that by viewing the live logs for the proxytrunks (using journalctl)

I haven’t evaluated if those calls get billed by the ivoz platform 

Muhammad Yousuf

unread,
Jan 3, 2026, 3:11:58 AM (7 days ago) Jan 3
to Airsay, ivozprovider-users
I checked it but it's going through proxy trunks and then coming back into ivozprovider from provider.

--
You received this message because you are subscribed to the Google Groups "ivozprovider-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ivozprovider-us...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ivozprovider-users/b5217e59-7bff-4a21-8ff8-b638eb7e52e6n%40googlegroups.com.

Airsay

unread,
Jan 3, 2026, 4:12:33 AM (7 days ago) Jan 3
to Muhammad Yousuf, ivozprovider-users
How did you check?

On 3 Jan 2026, at 09:11, Muhammad Yousuf <muyo...@gmail.com> wrote:



Muhammad Yousuf

unread,
Jan 3, 2026, 4:35:42 AM (7 days ago) Jan 3
to Airsay, ivozprovider-users
Please check the following logs.

Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] Request: INVITE sip:+92423...@192.168.80.55:7060 from sip:42323...@10.100.0.10 (109162327 INVITE - udp:10.100.0.10:5080) [c6a7f78f-6328-123f-0480-90b11c57b2f4]
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] APPLY-TRANSFORMATION: '+924232389981' -> '+924232389981' (applied rule: 'From international to e164 abc')
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] MATCH-DDI: +924232389981 recognized as +924232389981 (b2c4ddi4dp1)
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] APPLY-TRANSFORMATION: '4232388000' -> '+924232388000' (applied rule: 'From national to e164')
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] APPLY-TRANSFORMATION: '+924232389981' -> '+924232389981' (applied rule: 'From international to e164 abc')
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] CLASSIFY: retail call to +924232389981 (b2:c4)
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] CONTROL-MAXCALLS: Call ALLOWED for brand2 1/10 - company4 1/10
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] RELAY: Relaying to UDP:users.ivozprovider.local: (sip:retai...@originnet.ivozprovider.local via sip:users.ivozprovider.local)
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] REALTIME: trunks:b2:c4:dp1:c6a7f78f-6328-123f-0480-90b11c57b2f4 -> {"Event":"Trying","Time":1767432500,"Call-ID":"c6a7f78f-6328-123f-0480-90b11c57b2f4","Brand":"OriginNet","Company":"retail_test","Direction":"inbound","DdiProvider":"fusionpbx","Caller":"+924232388000","Callee":"+924232389981","ID":"cd598235"}
Jan 03 09:28:20 localhost /usr/sbin/kamailio[730]: NOTICE: [65abf785] Request: INVITE sip:retai...@originnet.ivozprovider.local from sip:+92423...@10.100.0.10 (109162327 INVITE - udp:192.168.80.55:7060) [c6a7f78f-6328-123f-0480-90b11c57b2f4]
Jan 03 09:28:20 localhost /usr/sbin/kamailio[730]: NOTICE: [65abf785] CLASSIFY: retail call RetailAccounts#1 (b2:c4)
Jan 03 09:28:20 localhost /usr/sbin/kamailio[730]: NOTICE: [65abf785] LOOKUP: Just one contact found for sip:retai...@originnet.ivozprovider.local
Jan 03 09:28:20 localhost /usr/sbin/kamailio[730]: NOTICE: [65abf785] RELAY: Relaying to sip:retai...@192.168.1.16:56099;ob via sip:10.20.75.105:56099 - fs: udp:192.168.80.55:5060
Jan 03 09:28:20 localhost /usr/sbin/kamailio[730]: NOTICE: [65abf785] REALTIME: users:b2:c4:rt1:c6a7f78f-6328-123f-0480-90b11c57b2f4 -> {"Event":"Trying","Time":1767432500,"Call-ID":"c6a7f78f-6328-123f-0480-90b11c57b2f4","Brand":"OriginNet","Company":"retail_test","Direction":"inbound","Owner":"retail_test","Party":"+924232388000","ID":"5a0f25a0"}
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8298]: NOTICE: [65abf785] Response: 100 Trying from sip:+92423...@10.100.0.10 (109162327 INVITE - udp:192.168.80.55:5060)
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8298]: NOTICE: [65abf785] REALTIME: trunks:b2:c4:dp1:c6a7f78f-6328-123f-0480-90b11c57b2f4 -> {"Event":"Proceeding","Time":1767432500,"Call-ID":"c6a7f78f-6328-123f-0480-90b11c57b2f4","ID":"cd598235"}
Jan 03 09:28:20 localhost /usr/sbin/kamailio[730]: NOTICE: [65abf785] APPLY-TRANSFORMATION: '+924232388000' -> '4232388000' (applied rule: 'From e164 to special national')
Jan 03 09:28:20 localhost /usr/sbin/kamailio[730]: NOTICE: [65abf785] APPLY-TRANSFORMATION: '+924232389981' -> '4232389981' (applied rule: 'From e164 to special national')
Jan 03 09:28:20 localhost /usr/sbin/kamailio[730]: NOTICE: [65abf785] RTPENGINE: rtpengine_manage [replace-session-connection replace-origin via-branch=extra asymmetric trust-address ICE=remove RTP/AVP direction=192.168.80.55 direction=192.168.80.55  call-id=users-inbound-c6a7f78f-6328-123f-0480-90b11c57b2f4 label=Aleg_label]
Jan 03 09:28:20 localhost /usr/sbin/kamailio[736]: NOTICE: [65abf785] Response: 100 Trying from sip:42323...@10.100.0.10 (109162327 INVITE - udp:10.20.75.105:56099)
Jan 03 09:28:20 localhost /usr/sbin/kamailio[736]: NOTICE: [65abf785] MANAGE_REPLY: 'retai...@originnet.ivozprovider.local' has 1 calls now
Jan 03 09:28:20 localhost /usr/sbin/kamailio[736]: NOTICE: [65abf785] REALTIME: users:b2:c4:rt1:c6a7f78f-6328-123f-0480-90b11c57b2f4 -> {"Event":"Proceeding","Time":1767432500,"Call-ID":"c6a7f78f-6328-123f-0480-90b11c57b2f4","ID":"5a0f25a0"}
Jan 03 09:28:20 localhost /usr/sbin/kamailio[734]: NOTICE: [65abf785] Response: 180 Ringing from sip:42323...@10.100.0.10 (109162327 INVITE - udp:10.20.75.105:56099)
Jan 03 09:28:20 localhost /usr/sbin/kamailio[734]: NOTICE: [65abf785] REALTIME: users:b2:c4:rt1:c6a7f78f-6328-123f-0480-90b11c57b2f4 -> {"Event":"Early","Time":1767432500,"Call-ID":"c6a7f78f-6328-123f-0480-90b11c57b2f4","ID":"5a0f25a0"}
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8294]: NOTICE: [65abf785] Response: 180 Ringing from sip:+92423...@10.100.0.10 (109162327 INVITE - udp:192.168.80.55:5060)
Jan 03 09:28:20 localhost /usr/sbin/kamailio[8294]: NOTICE: [65abf785] REALTIME: trunks:b2:c4:dp1:c6a7f78f-6328-123f-0480-90b11c57b2f4 -> {"Event":"Early","Time":1767432500,"Call-ID":"c6a7f78f-6328-123f-0480-90b11c57b2f4","ID":"cd598235"}
Jan 03 09:28:39 localhost /usr/sbin/kamailio[8298]: NOTICE: [65abf785] Request: CANCEL sip:+92423...@192.168.80.55:7060 from sip:42323...@10.100.0.10 (109162327 CANCEL - udp:10.100.0.10:5080) [c6a7f78f-6328-123f-0480-90b11c57b2f4]
Jan 03 09:28:39 localhost /usr/sbin/kamailio[8298]: NOTICE: [65abf785] RELAY: Relaying to UDP:192.168.80.55:7060 (sip:+92423...@192.168.80.55:7060)
Jan 03 09:28:39 localhost /usr/sbin/kamailio[8298]: NOTICE: acc [acc.c:282]: acc_log_request(): ACC: transaction answered: timestamp=1767432519;utctime=2026-01-03 09:28:39;method=CANCEL;from_tag=Uyv12j4m1Q3DK;to_tag=;call_id=c6a7f78f-6328-123f-0480-90b11c57b2f4;code=200;reason=OK;from_user=4232388000;from_domain=10.100.0.10;src_ip=10.100.0.10;ruri_user=+924232389981;ruri_domain=192.168.80.55;cseq=109162327;callid=c6a7f78f-6328-123f-0480-90b11c57b2f4;cidhash=65abf785
Jan 03 09:28:39 localhost /usr/sbin/kamailio[731]: NOTICE: [65abf785] Request: CANCEL sip:retai...@originnet.ivozprovider.local from sip:+92423...@10.100.0.10 (109162327 CANCEL - udp:192.168.80.55:7060) [c6a7f78f-6328-123f-0480-90b11c57b2f4]
Jan 03 09:28:39 localhost /usr/sbin/kamailio[731]: NOTICE: [65abf785] RTPENGINE: rtpengine_manage [replace-session-connection replace-origin via-branch=extra asymmetric trust-address ICE=remove RTP/AVP   call-id=users-inbound-c6a7f78f-6328-123f-0480-90b11c57b2f4 ]
Jan 03 09:28:39 localhost /usr/sbin/kamailio[731]: NOTICE: [65abf785] RELAY: Relaying to sip:retai...@originnet.ivozprovider.local - fs: <null>
Jan 03 09:28:39 localhost /usr/sbin/kamailio[731]: NOTICE: acc [acc.c:282]: acc_log_request(): ACC: transaction answered: timestamp=1767432519;utctime=2026-01-03 09:28:39;method=CANCEL;from_tag=Uyv12j4m1Q3DK;to_tag=;call_id=c6a7f78f-6328-123f-0480-90b11c57b2f4;code=200;reason=OK;from_user=+924232388000;from_domain=10.100.0.10;src_ip=192.168.80.55;ruri_user=retail_test;ruri_domain=originnet.ivozprovider.local;cseq=109162327;callid=c6a7f78f-6328-123f-0480-90b11c57b2f4;cidhash=65abf785
Jan 03 09:28:39 localhost /usr/sbin/kamailio[8299]: NOTICE: [65abf785] Response: 200 canceling from sip:+92423...@10.100.0.10 (109162327 CANCEL - udp:192.168.80.55:5060)
Jan 03 09:28:39 localhost /usr/sbin/kamailio[737]: NOTICE: [65abf785] Response: 200 OK from sip:42323...@10.100.0.10 (109162327 CANCEL - udp:10.20.75.105:56099)
Jan 03 09:28:39 localhost /usr/sbin/kamailio[733]: NOTICE: [65abf785] Response: 487 Request Terminated from sip:42323...@10.100.0.10 (109162327 INVITE - udp:10.20.75.105:56099)
Jan 03 09:28:39 localhost /usr/sbin/kamailio[733]: WARNING: [65abf785] MANAGE-FAILURE: INVITE FAILED: '487 Request Terminated' to '109162327 INVITE' from 'sip:+92423...@10.100.0.10' (udp:10.20.75.105:56099)
Jan 03 09:28:39 localhost /usr/sbin/kamailio[733]: WARNING: [65abf785] MANAGE-FAILURE: t_is_canceled, exit here
Jan 03 09:28:39 localhost /usr/sbin/kamailio[733]: NOTICE: [65abf785] REALTIME: users:b2:c4:rt1:c6a7f78f-6328-123f-0480-90b11c57b2f4 -> {"Event":"Terminated","Time":1767432519,"Call-ID":"c6a7f78f-6328-123f-0480-90b11c57b2f4","ID":"5a0f25a0"}
Jan 03 09:28:39 localhost /usr/sbin/kamailio[733]: NOTICE: acc [acc.c:282]: acc_log_request(): ACC: call missed: timestamp=1767432519;utctime=2026-01-03 09:28:39;method=INVITE;from_tag=Uyv12j4m1Q3DK;to_tag=f5c6569015ee44b49312ff4dc24cdc5e;call_id=c6a7f78f-6328-123f-0480-90b11c57b2f4;code=487;reason=Request Terminated;from_user=+924232388000;from_domain=10.100.0.10;src_ip=192.168.80.55;ruri_user=4232389981;ruri_domain=192.168.1.16;cseq=109162327;callid=c6a7f78f-6328-123f-0480-90b11c57b2f4;cidhash=65abf785
Jan 03 09:28:39 localhost /usr/sbin/kamailio[733]: NOTICE: acc [acc.c:282]: acc_log_request(): ACC: transaction answered: timestamp=1767432519;utctime=2026-01-03 09:28:39;method=INVITE;from_tag=Uyv12j4m1Q3DK;to_tag=f5c6569015ee44b49312ff4dc24cdc5e;call_id=c6a7f78f-6328-123f-0480-90b11c57b2f4;code=487;reason=Request Terminated;from_user=+924232388000;from_domain=10.100.0.10;src_ip=192.168.80.55;ruri_user=4232389981;ruri_domain=192.168.1.16;cseq=109162327;callid=c6a7f78f-6328-123f-0480-90b11c57b2f4;cidhash=65abf785
Jan 03 09:28:39 localhost /usr/sbin/kamailio[8294]: NOTICE: [65abf785] Response: 487 Request Terminated from sip:+92423...@10.100.0.10 (109162327 INVITE - udp:192.168.80.55:5060)
Jan 03 09:28:39 localhost /usr/sbin/kamailio[732]: NOTICE: [65abf785] Request: ACK sip:retai...@originnet.ivozprovider.local from sip:+92423...@10.100.0.10 (109162327 ACK - udp:192.168.80.55:7060) [c6a7f78f-6328-123f-0480-90b11c57b2f4]
Jan 03 09:28:39 localhost /usr/sbin/kamailio[8294]: NOTICE: [65abf785] REALTIME: trunks:b2:c4:dp1:c6a7f78f-6328-123f-0480-90b11c57b2f4 -> {"Event":"Terminated","Time":1767432519,"Call-ID":"c6a7f78f-6328-123f-0480-90b11c57b2f4","ID":"cd598235"}
Jan 03 09:28:39 localhost /usr/sbin/kamailio[8294]: NOTICE: acc [acc.c:282]: acc_log_request(): ACC: transaction answered: timestamp=1767432519;utctime=2026-01-03 09:28:39;method=INVITE;from_tag=Uyv12j4m1Q3DK;to_tag=f5c6569015ee44b49312ff4dc24cdc5e;call_id=c6a7f78f-6328-123f-0480-90b11c57b2f4;code=487;reason=Request Terminated;from_user=4232388000;from_domain=10.100.0.10;src_ip=10.100.0.10;ruri_user=retail_test;ruri_domain=originnet.ivozprovider.local;cseq=109162327;callid=c6a7f78f-6328-123f-0480-90b11c57b2f4;cidhash=65abf785
Jan 03 09:28:39 localhost /usr/sbin/kamailio[8296]: NOTICE: [65abf785] Request: ACK sip:+92423...@192.168.80.55:7060 from sip:42323...@10.100.0.10 (109162327 ACK - udp:10.100.0.10:5080) [c6a7f78f-6328-123f-0480-90b11c57b2f4]

10.100.0.10 is my trunks/DDI provider IP


~Yousuf

Airsay

unread,
Jan 3, 2026, 8:32:28 AM (7 days ago) Jan 3
to Muhammad Yousuf, ivozprovider-users
Is your Caller a retail account on ivozprovider?
Sent from my iPhone

On 3 Jan 2026, at 10:35, Muhammad Yousuf <muyo...@gmail.com> wrote:



Airsay

unread,
Jan 3, 2026, 8:33:31 AM (7 days ago) Jan 3
to Muhammad Yousuf, ivozprovider-users
Also can you share a pcap of the call?

Sent from my iPhone

On 3 Jan 2026, at 10:35, Muhammad Yousuf <muyo...@gmail.com> wrote:



Muhammad Yousuf

unread,
Jan 3, 2026, 8:52:01 AM (7 days ago) Jan 3
to Airsay, ivozprovider-users
Yes both are retail accounts. One account calling DID of other account.

Airsay

unread,
Jan 3, 2026, 9:02:50 AM (7 days ago) Jan 3
to Muhammad Yousuf, ivozprovider-users
So you are calling 9981 from 8000.  The below line is identifying the 9981 DID as an iVozprovider DID and routing it to the retail provider assigned to the DID:

MATCH-DDI: +92xxxxxx9981 recognized as +92xxxxxx9981 (b2c4ddi4dp1)

I don’t see the call being sent upstream of the proxytrunk to your iVozprovider SIP Trunk provider

Sent from my iPhone

On 3 Jan 2026, at 14:51, Muhammad Yousuf <muyo...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages