Add new span parameter to zapcard, removing the need for offset calculations #1

Merged
laforge merged 1 commits from Manawyrm/yate:manawyrm-span-calculations into master 2022-10-30 12:52:22 +00:00
Owner

DAHDI has nice readable names for each span, there's no need to do any channel
calculations by hand. This change searches for a span with the specified name
and will use it's offset as the channel offset.

[octoi]
type=E1
offset=279

[auerswald]
type=E1
offset=31

becomes:

[octoi]
type=E1
span=trunkdev/octoi/0

[auerswald]
type=E1
span=TE8/0/2

which should be more reliable and less error-prone in the long run.

DAHDI has nice readable names for each span, there's no need to do any channel calculations by hand. This change searches for a span with the specified name and will use it's offset as the channel offset. ```ini [octoi] type=E1 offset=279 [auerswald] type=E1 offset=31 ``` becomes: ```ini [octoi] type=E1 span=trunkdev/octoi/0 [auerswald] type=E1 span=TE8/0/2 ``` which should be more reliable and less error-prone in the long run.
Manawyrm added 1 commit 2022-10-26 16:59:06 +00:00
8c8078ca41 Add new span parameter to zapcard, removing the need for offset calculations
DAHDI has nice readable names for each span, there's no need to do any channel
calculations by hand. This change searches for a span with the specified name
and will use it's offset as the channel offset.

[octoi]
type=E1
offset=279

[auerswald]
type=E1
offset=31

becomes:

[octoi]
type=E1
span=trunkdev/octoi/0

[auerswald]
type=E1
span=TE8/0/2

which should be more reliable and less error-prone in the long run.
Manawyrm requested review from laforge 2022-10-26 16:59:13 +00:00
laforge merged commit 8a6c138dc7 into master 2022-10-30 12:52:22 +00:00
laforge deleted branch manawyrm-span-calculations 2022-10-30 12:52:22 +00:00
laforge referenced this issue from a commit 2023-10-03 09:17:05 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: retronetworking/yate#1
No description provided.