Skip to content

Having trouble with doing a InitialDPArgs request (CAMELv2) #16

Description

@danievanzyl

Hi, I'm not sure if I'm doing this incorrectly, but using the library, I am try to send the following HEX byte string that is ASN1 encoded.

307180016e83078313873881620385010a8a058493527008bb0580038090a39c01029f320836155030868778f0bf3417020100810791527088113046a309800736f50100f1026fbf35038301119f3605dad1c900079f3707915270881130469f38068170880804199f39080242100341402080

I was expecting that wireshark would be able to successfully decode the payload, but instead it failed
Expected,
image
But got the following,
image

Here is the code snippet I used to generate the tcapPayload...

	hexString := "307180016e83078313873881620385010a8a058493527008bb0580038090a39c01029f320836155030868778f0bf3417020100810791527088113046a309800736f50100f1026fbf35038301119f3605dad1c900079f3707915270881130469f38068170880804199f39080242100341402080"

	p, err := hex.DecodeString(hexString)
	if err != nil {
		fmt.Println("Error decoding hex string:", err)
		return
	}

	tcapPayload := tcap.NewBeginInvokeWithDialogue(
		uint32(*otid),     // OTID
		tcap.DialogueAsID, // DialogueType
		uint8(50),
		1, // ACN Version
		0, // Invoke Id
		0, // OpCode
		p, // Payload
	)

Am I missing a setting or flag to be set?

Any assistance will be greatly appreciated. I am fairly new to SCCP/TCAP/CAMELv2, so please excuse any ignorance or strange questions.

Many thanks,
Danie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions