Hello,
I’m new to asterisk.
My setup is like telco T1/E1 terminating on NAT-> dahdi->statis app.
When a call is tried; I see below logs:
[Jul 24 02:03:55] DEBUG[4908][C-00000005]: sig_pri.c:213 PVT_TO_CHANNEL: prioffset: 8 mastehrtrunkgroup: 0 logicalspan: 0 result: 8
[Jul 24 02:03:55] DEBUG[4908][C-00000005]: channel_internal_api.c:703 ast_channel_nativeformats_set: : Formats: (none)
[Jul 24 02:03:55] DEBUG[4908][C-00000005]: channel_internal_api.c:713 ast_channel_nativeformats_set: Channel is being initialized or destroyed
[Jul 24 02:03:55] DEBUG[4908][C-00000005]: stasis.c:580 stasis_topic_create_with_detail: Creating topic. name: channel:1721804635.7, detail:
[Jul 24 02:03:55] DEBUG[4908][C-00000005]: stasis.c:614 stasis_topic_create_with_detail: Topic ‘channel:1721804635.7’: 0x7f41d8001820 created
[Jul 24 02:03:55] DEBUG[4908][C-00000005]: channel.c:949 __ast_channel_alloc_ap: Channel 0x7f41d8001b80 ‘DAHDI/i1/2000-5’ allocated
[Jul 24 02:03:55] DEBUG[4908][C-00000005]: channel_internal_api.c:703 ast_channel_nativeformats_set: DAHDI/i1/2000-5: Formats: (ulaw)
So, i was checking the source code. Not sure if I was correct on tracing the code flow.
I see the default law is alaw. then how did ulaw appeared above.
Please help to uderstand.
thanks,
Divya