-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
newChannelKey := ari.NewKey(ari.ChannelKey, url.QueryEscape(fmt.Sprintf("channel:%s", endpoint+time.Now().String())))
log.Printf("Originate call to %s\n", newChannelKey)
channel, err := client.Channel().Originate(newChannelKey, ari.OriginateRequest{
Endpoint: endpoint,
Extension: "s",
Context: "inbound",
Priority: 1,
CallerID: endpoint, // Optional: Set CallerID if you want to override anonymous@anonymous.invalid
Timeout: 30,
})here endpoint value is
PJSIP/superfone_number/sip:su_15@10.140.0.10: Non-2XX response: 400 Bad Request
the same work in dial() in extension but how to achive same where I want to call this su_15@10.140.0.10 it exist on kamilio
(edited for formatting/readability)
Metadata
Metadata
Assignees
Labels
No labels