You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am originating a call to a channel. I need to set some SIP headers and to achieve this I am using channel create not originate, followed by the setting of the variables and dial. I am occasionally getting "Non-2XX response: 409 Conflict" errors when setting the variables.
The issue seems to go away if I wait for a bit after creating the channel (enters stasis?), however I would like to avoid blindly blocking execution. Could you kindly let me know if this is the correct approach or if there is there a better way to achieve this please?
I have had good luck using StageOriginate() and Exec() instead after running into a similar issue before. You can pass the channel variables in as part of the StageOriginate() call rather than set them individually after the create. It doesn't dial until you call Exec() on the channel.
Hello,
I am originating a call to a channel. I need to set some SIP headers and to achieve this I am using channel create not originate, followed by the setting of the variables and dial. I am occasionally getting "Non-2XX response: 409 Conflict" errors when setting the variables.
The issue seems to go away if I wait for a bit after creating the channel (enters stasis?), however I would like to avoid blindly blocking execution. Could you kindly let me know if this is the correct approach or if there is there a better way to achieve this please?
The text was updated successfully, but these errors were encountered: