Thanks pbxgeek,
There is a particular use case: on one domain there are several people who can internally call each other but all have there own gateway/phone number. How can I do this per extension/user?
On another domain is a radiostation. I like to use their stream as music on hold. I looked at the log viewer and this is the result, maybe you can understand it:
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.543218 97.97% [DEBUG] sofia.c:7493 Channel sofia/internal/
200@pbx.nuradio.nl:5060 entering state [ready][200]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.503218 97.97% [DEBUG] sofia.c:7493 Channel sofia/internal/
200@pbx.nuradio.nl:5060 entering state [completed][200]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] sofia.c:8449 Processing updated SDP
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:8640 Audio params are unchanged for sofia/internal/
200@pbx.nuradio.nl:5060.
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5854 sofia/internal/
200@pbx.nuradio.nl:5060 Set 2833 dtmf send payload to 101 recv payload to 101
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5796 Set telephone-event payload to 101@8000
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5436 Set telephone-event payload to 101@8000
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5586 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5586 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5586 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.483221 97.97% [DEBUG] switch_core_media.c:5524 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2025-08-12 08:45:29.363266 97.97% [ERR] switch_core_file.c:346 Invalid file format [https] for [a7.asurahosting.com:7550/radio.mp3]!
7219f54c-ced5-47df-8383-01928c4fe17f EXECUTE [depth=0] sofia/internal/
100@192.168.178.11:39517 playback(
https://a7.asurahosting.com:7550/radio.mp3)
7219f54c-ced5-47df-8383-01928c4fe17f 2025-08-12 08:45:29.363266 97.97% [DEBUG] switch_ivr.c:632 sofia/internal/
100@192.168.178.11:39517 Command Execute [depth=0] playback(
https://a7.asurahosting.com:7550/radio.mp3)
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.223220 97.97% [DEBUG] switch_channel.c:1994 (sofia/internal/
200@pbx.nuradio.nl:5060) Callstate Change ACTIVE -> HELD
e21a6522-4770-41a9-b3e4-a39c7104b27f
e21a6522-4770-41a9-b3e4-a39c7104b27f a=ptime:20
e21a6522-4770-41a9-b3e4-a39c7104b27f a=sendonly
e21a6522-4770-41a9-b3e4-a39c7104b27f a=fmtp:101 0-15
e21a6522-4770-41a9-b3e4-a39c7104b27f a=rtpmap:101 telephone-event/8000
e21a6522-4770-41a9-b3e4-a39c7104b27f a=rtpmap:9 G722/8000
e21a6522-4770-41a9-b3e4-a39c7104b27f a=fmtp:18 annexb=no
e21a6522-4770-41a9-b3e4-a39c7104b27f a=rtpmap:18 G729/8000
e21a6522-4770-41a9-b3e4-a39c7104b27f a=rtpmap:8 PCMA/8000
e21a6522-4770-41a9-b3e4-a39c7104b27f a=rtpmap:0 PCMU/8000
e21a6522-4770-41a9-b3e4-a39c7104b27f m=audio 11866 RTP/AVP 0 8 18 9 101
e21a6522-4770-41a9-b3e4-a39c7104b27f t=0 0
e21a6522-4770-41a9-b3e4-a39c7104b27f c=IN IP4 192.168.178.90
e21a6522-4770-41a9-b3e4-a39c7104b27f s=SDP data
e21a6522-4770-41a9-b3e4-a39c7104b27f o=- 20022 20026 IN IP4 192.168.178.90
e21a6522-4770-41a9-b3e4-a39c7104b27f v=0
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.223220 97.97% [DEBUG] sofia.c:7503 Remote SDP:
e21a6522-4770-41a9-b3e4-a39c7104b27f 2025-08-12 08:45:29.223220 97.97% [DEBUG] sofia.c:7493 Channel sofia/internal/
200@pbx.nuradio.nl:5060 entering state [received][100]
2025-08-12 08:45:28.743226 97.97% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.