Main loop: how to schedule UPDATE/REINVITE on IP address change detected?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the sample app pjsua legacy main loop, we have 300s reregistration
timer. The contact address may change

"IP address change detected for account..."

I would like to then send a REINVITE / UPDATE if in call; how do you
hook into the rereg timer:

something like:

  rereg timer:
   | regc_cb()
   |-- acc_check_nat_addr()
   Ooops: IP address has change
    --- for all ongoing calls schedule a UPDATE or REINVITE --- HOW?

Is there a way took hook into this look?

Thanks
Anthony

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux