Hi Brian,

The idea is the function needs a dialog context in order to work - as this function is to be used for sequential requests, you have to be sure your request matched its dialog before using this function. The dialog matching (for sequential) is done via loose_route() (if you do not use topo hidding) , via dialog_match() or via topology_hiding_match() if using topo hiding.


Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 02/09/2018 06:45 PM, Brian Southworth wrote:

dlg_validate_dialog: Script error - validate function before having a dialog

I am trying to fix contact header on the called, ive fixed the register users used to register with a private ip and not local.

Now when inbound calls happen they don’t get them due to the call being send to a local ip that isn’t local.

So ive used the validate dialog code chunk and I get back the above

Regards,

Brian Southworth

Communications Developer

cid:image001.png@01D22CAC.1DCB8580

111 Wilmslow Road

Handforth

Wilmslow

SK9 3ER

T: 03333 446677

W: www.clocom.uk <http://www.clocom.uk/>__

        

        

        

        

cid:image002.png@01CDDC62.D8483910 <http://www.facebook.com/clocom.uk>

        

Like us on Facebook

        

cid:image003.png@01CDDC62.D8483910

        

Follow us on Twitter

        

cid:image004.png@01CDDC62.D8483910 <https://twitter.com/clocom_uk>

        

        

        

        

Clocom is a *green* company. Think, do you need to print this email?

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Clocom UK Ltd, 111 Wilmslow Road, Handforth, Cheshire, SK9 3ER www.clocom.uk <http://www.clocom.uk/>__



_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to